Safe Haskell | None |
---|---|
Language | Haskell2010 |
Pretty printing for expressions.
- class Pretty a where
- prettys :: Pretty a => a -> ShowS
- class Pretty1 t where
- prettys1 :: Pretty1 t => t a -> ShowS
- class Pretty2 op where
- prettys2 :: (Pretty2 op, Pretty1 t) => op t a -> ShowS
- class Pretty3 h where
- prettys3 :: (Pretty3 h, Pretty2 s, Pretty1 t) => h s t a -> ShowS
- putPretty :: Pretty a => a -> IO ()
- prettys1PrecBinop :: (Pretty1 f, Pretty1 g) => Int -> String -> Int -> f a -> g b -> ShowS
- prettys1PrecUnop :: Pretty1 t => Int -> String -> Int -> t a -> ShowS
Classes
Pretty () Source # | |
Pretty String Source # | |
Pretty a => Pretty [a] Source # | |
Pretty a => Pretty (Maybe a) Source # | |
Pretty1 k t => Pretty (t a) Source # | |
(Pretty l, Pretty a) => Pretty (Command l a) Source # | |
(Pretty l, Pretty a) => Pretty (PropAnn l a) Source # | |
(Pretty2 * * expr, Pretty1 * var, Pretty cmd) => Pretty (AnnSeq expr var cmd) Source # | |
(Pretty1 k var, Pretty2 k k expr) => Pretty (Assignment k expr var) Source # | |
class Pretty2 op where Source #
pretty2 :: Pretty1 t => op t a -> String Source #
prettys2Prec :: Pretty1 t => Int -> op t a -> ShowS Source #
Pretty2 * * (OpChoice ops) => Pretty2 * * (HFree' ops) Source # | |
(Pretty3 k1 k2 k3 k4 h, Pretty2 k1 k2 s) => Pretty2 k3 k4 (h s) Source # | |
Pretty1 k t => Pretty2 k k (BV k t) Source # | |
Pretty2 k k op => Pretty2 k k (HFree k op) Source # | |
Pretty3 k k k k h => Pretty2 k k (SFree k h) Source # | |
(Pretty2 k k h, Pretty1 k t) => Pretty2 k k (Scoped k h t) Source # | |
(Pretty2 k k h, Pretty1 k t) => Pretty2 k k (Scope k t h) Source # | |
PrettyOp k1 k2 op => Pretty2 k1 k2 (GeneralOp k1 k2 op) Source # | |
(Pretty2 * * op, Pretty2 * * (OpChoice ops)) => Pretty2 * * (OpChoice ((:) ((* -> *) -> * -> *) op ops)) Source # | |
Pretty2 * * (OpChoice ([] ((* -> *) -> * -> *))) Source # | |
Pretty2 * * LogicOp Source # | |