purescript-0.11.1: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell98

Language.PureScript.Pretty.Types

Description

Pretty printer for Types

Synopsis

Documentation

prettyPrintType :: Type -> String Source #

Generate a pretty-printed string representing a Type

prettyPrintTypeWithUnicode :: Type -> String Source #

Generate a pretty-printed string representing a Type using unicode symbols where applicable

prettyPrintSuggestedType :: Type -> String Source #

Generate a pretty-printed string representing a suggested Type

prettyPrintTypeAtom :: Type -> String Source #

Generate a pretty-printed string representing a Type, as it should appear inside parentheses