Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pretty printer for Types
- typeAsBox :: Type -> Box
- suggestedTypeAsBox :: Type -> Box
- prettyPrintType :: Type -> String
- prettyPrintTypeWithUnicode :: Type -> String
- prettyPrintSuggestedType :: Type -> String
- typeAtomAsBox :: Type -> Box
- prettyPrintTypeAtom :: Type -> String
- prettyPrintRow :: Type -> String
- prettyPrintLabel :: Label -> Text
- prettyPrintObjectKey :: PSString -> Text
Documentation
suggestedTypeAsBox :: Type -> Box Source #
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
typeAtomAsBox :: Type -> Box Source #
prettyPrintTypeAtom :: Type -> String Source #
Generate a pretty-printed string representing a Type, as it should appear inside parentheses
prettyPrintRow :: Type -> String Source #
prettyPrintLabel :: Label -> Text Source #
prettyPrintObjectKey :: PSString -> Text Source #