purescript-0.13.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Pretty.Types

Description

Pretty printer for Types

Synopsis

Documentation

prettyPrintType :: Int -> Type a -> String Source #

Generate a pretty-printed string representing a Type

prettyPrintTypeWithUnicode :: Int -> Type a -> String Source #

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

prettyPrintSuggestedType :: Type a -> String Source #

Generate a pretty-printed string representing a suggested Type

prettyPrintTypeAtom :: Int -> Type a -> String Source #

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