Safe Haskell | Safe-Infered |
---|
- class Pretty a where
- pretty :: a -> Doc
- prettyList :: [a] -> Doc
Documentation
This module just defines and exports Pretty
and PrettyPrec
instances
class Pretty a where
The member prettyList
is only used to define the instance Pretty
a => Pretty [a]
. In normal circumstances only the pretty
function
is used.
prettyList :: [a] -> Doc