Lines Matching refs:Pretty
24 Pretty(..),
47 class Pretty a where constructor
62 prettyShow :: (Pretty a) => a -> String
65 pPrint0 :: (Pretty a) => PrettyLevel -> a -> Doc
77 instance Pretty Int where pPrint = int function
79 instance Pretty Integer where pPrint = integer function
81 instance Pretty Float where pPrint = float function
83 instance Pretty Double where pPrint = double function
85 instance Pretty () where pPrint _ = text "()" function
87 instance Pretty Bool where pPrint = text . show function
89 instance Pretty Ordering where pPrint = text . show function
91 instance Pretty Char where
95 instance (Pretty a) => Pretty (Maybe a) where
100 instance (Pretty a, Pretty b) => Pretty (Either a b) where
106 instance (Pretty a) => Pretty [a] where
109 instance (Pretty a, Pretty b) => Pretty (a, b) where
113 instance (Pretty a, Pretty b, Pretty c) => Pretty (a, b, c) where
117 instance (Pretty a, Pretty b, Pretty c, Pretty d) => Pretty (a, b, c, d) where
122 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e) => Pretty (a, b, c, d, e) where
127 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f) => Pretty (a, b, c, d, e, f) …
133 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f, Pretty g) =>
134 Pretty (a, b, c, d, e, f, g) where
140 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f, Pretty g, Pretty h) =>
141 Pretty (a, b, c, d, e, f, g, h) where