Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Conversion from GenericData
to Doc
Synopsis
- data Doc
- showLitCharInChar :: Char -> String
- showLitCharInString :: Char -> String
- toDoc :: GenericData -> Doc
Documentation
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 -> String Source #
IsString
instance for Doc
instance IsString Doc where fromString = text
Show a character literal. Unicode characters are not escaped.
showLitCharInString :: Char -> String Source #
Show a character in a string literal. Unicode characters are not escaped.
toDoc :: GenericData -> Doc Source #
Convert GenericData
to Doc
.