Lines Matching refs:Pretty
25 Pretty(..),
48 class Pretty a where constructor
63 prettyShow :: (Pretty a) => a -> String
66 pPrint0 :: (Pretty a) => PrettyLevel -> a -> Doc ann
78 instance Pretty Int where pPrint = int function
80 instance Pretty Integer where pPrint = integer function
82 instance Pretty Float where pPrint = float function
84 instance Pretty Double where pPrint = double function
86 instance Pretty () where pPrint _ = text "()" function
88 instance Pretty Bool where pPrint = text . show function
90 instance Pretty Ordering where pPrint = text . show function
92 instance Pretty Char where
96 instance (Pretty a) => Pretty (Maybe a) where
101 instance (Pretty a, Pretty b) => Pretty (Either a b) where
107 instance (Pretty a) => Pretty [a] where
110 instance (Pretty a, Pretty b) => Pretty (a, b) where
114 instance (Pretty a, Pretty b, Pretty c) => Pretty (a, b, c) where
118 instance (Pretty a, Pretty b, Pretty c, Pretty d) => Pretty (a, b, c, d) where
123 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e) => Pretty (a, b, c, d, e) where
128 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f) => Pretty (a, b, c, d, e, f) …
134 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f, Pretty g) =>
135 Pretty (a, b, c, d, e, f, g) where
141 instance (Pretty a, Pretty b, Pretty c, Pretty d, Pretty e, Pretty f, Pretty g, Pretty h) =>
142 Pretty (a, b, c, d, e, f, g, h) where