uhc-util-0.1.0.1: UHC utilities

Safe HaskellSafe-Inferred

UHC.Util.PrettySimple

Documentation

type PP_Doc = DocSource

class Show a => PP a whereSource

Methods

pp :: a -> PP_DocSource

ppList :: [a] -> PP_DocSource

Instances

PP Bool 
PP Char 
PP Float 
PP Int 
PP Pos 
PP PP_Doc 
PP Nm 
(Show [a], PP a) => PP [a] 
(Show (Maybe a), PP a) => PP (Maybe a) 
(Show (SCC n), PP n) => PP (SCC n) 
(Show (DpdGr n), Ord n, PP n) => PP (DpdGr n) 
(Show (Message s p), Eq s, Show s, Show p, Position p) => PP (Message s p) 

hPut :: Handle -> PP_Doc -> Int -> IO ()Source

(>|<) :: (PP a, PP b) => a -> b -> PP_DocSource

(>-<) :: (PP a, PP b) => a -> b -> PP_DocSource

(>#<) :: (PP a, PP b) => a -> b -> PP_DocSource

hlist :: PP a => [a] -> PP_DocSource

vlist :: PP a => [a] -> PP_DocSource

hv :: PP a => [a] -> PP_DocSource

fill :: PP a => [a] -> PP_DocSource

indent :: PP a => Int -> a -> PP_DocSource