purescript-0.10.5: 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

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

prettyPrintRowWith :: Char -> Char -> Type -> Box Source #

Generate a pretty-printed string representing a Row