| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Text.PPrinter
Documentation
Methods
Arguments
| :: Int | the operator precedence of the enclosing context |
| -> a | the value to be converted to a |
| -> DOC | the result |
ppPrec converts a value to a pretty printable DOC.
Instances
A rendering style
class Generic a
Representable types of kind *. This class is derivable in GHC with the DeriveGeneric flag on.
Instances
| Generic Bool | |
| Generic Char | |
| Generic Double | |
| Generic Float | |
| Generic Int | |
| Generic Ordering | |
| Generic () | |
| Generic Arity | |
| Generic Fixity | |
| Generic Associativity | |
| Generic [a] | |
| Generic (U1 p) | |
| Generic (Par1 p) | |
| Generic (Maybe a) | |
| Generic (Either a b) | |
| Generic (Rec1 f p) | |
| Generic (a, b) | |
| Generic (Proxy * t) | |
| Generic (K1 i c p) | |
| Generic ((:+:) f g p) | |
| Generic ((:*:) f g p) | |
| Generic ((:.:) f g p) | |
| Generic (a, b, c) | |
| Generic (M1 i c f p) | |
| Generic (a, b, c, d) | |
| Generic (a, b, c, d, e) | |
| Generic (a, b, c, d, e, f) | |
| Generic (a, b, c, d, e, f, g) |