data-pprint-0.2.4: Prettyprint and compare Data values

Safe HaskellSafe-Inferred
LanguageHaskell98

Data.Data.GenRep.Doc

Description

Conversion from GenericData to Doc

Synopsis

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.

Instances

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.