purescript-0.15.15: PureScript Programming Language Compiler
Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Pretty.Types

Description

Pretty printer for Types

Synopsis

Documentation

typeAsBox :: Int -> Type a -> Box #

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

Generate a pretty-printed string representing a Type

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

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

prettyPrintSuggestedType :: Type a -> String #

Generate a pretty-printed string representing a suggested Type

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

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