Safe Haskell | None |
---|---|
Language | Haskell98 |
Pretty printer for Types
- typeAsBox :: Type -> Box
- suggestedTypeAsBox :: Type -> Box
- prettyPrintType :: Type -> String
- prettyPrintSuggestedType :: Type -> String
- typeAtomAsBox :: Type -> Box
- prettyPrintTypeAtom :: Type -> String
- prettyPrintRowWith :: Char -> Char -> Type -> Box
- prettyPrintRow :: Type -> String
- prettyPrintLabel :: Label -> Text
- prettyPrintObjectKey :: PSString -> Text
Documentation
suggestedTypeAsBox :: Type -> Box Source #
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
prettyPrintRowWith :: Char -> Char -> Type -> Box Source #
Generate a pretty-printed string representing a Row
prettyPrintRow :: Type -> String Source #
prettyPrintLabel :: Label -> Text Source #
prettyPrintObjectKey :: PSString -> Text Source #