Safe Haskell | None |
---|
Conversion from GenericData
to Doc
- data Doc
- showLitCharInChar :: Char -> String
- showLitCharInString :: Char -> String
- toDoc :: GenericData -> Doc
Documentation
data Doc
The abstract type of documents. A Doc represents a *set* of layouts. A Doc with no occurrences of Union or NoDoc represents just one layout.
showLitCharInChar :: Char -> StringSource
IsString
instance for Doc
instance IsString Doc where fromString = text
Show a character literal. Unicode characters are not escaped.
showLitCharInString :: Char -> StringSource
Show a character in a string literal. Unicode characters are not escaped.
toDoc :: GenericData -> DocSource
Convert GenericData
to Doc
.