uulib-0.9.24: Haskell Utrecht Tools Library
UU.Pretty.Basic
class Show a => PP a where Source #
Minimal complete definition
Nothing
Methods
pp :: a -> PP_Doc Source #
ppList :: [a] -> PP_Doc Source #
Defined in UU.Pretty.Basic
pp :: Char -> PP_Doc Source #
ppList :: [Char] -> PP_Doc Source #
Defined in UU.Pretty.Ext
pp :: Float -> PP_Doc Source #
ppList :: [Float] -> PP_Doc Source #
pp :: Int -> PP_Doc Source #
ppList :: [Int] -> PP_Doc Source #
pp :: PP_Doc -> PP_Doc Source #
ppList :: [PP_Doc] -> PP_Doc Source #
pp :: [a] -> PP_Doc Source #
ppList :: [[a]] -> PP_Doc Source #
data PP_Doc Source #
showsPrec :: Int -> PP_Doc -> ShowS #
show :: PP_Doc -> String #
showList :: [PP_Doc] -> ShowS #
data PP_Exp Source #
empty :: PP_Doc Source #
text :: String -> PP_Doc Source #
indent :: PP a => Int -> a -> PP_Doc Source #
(>|<) :: (PP a, PP b) => a -> b -> PP_Doc infixr 3 Source #
(>-<) :: (PP a, PP b) => a -> b -> PP_Doc infixr 2 Source #
fill :: PP a => [a] -> PP_Doc Source #
fillblock :: PP a => Int -> [a] -> PP_Doc Source #
(>//<) :: (PP a, PP b) => a -> b -> PP_Doc infixr 1 Source #
join :: PP_Doc -> PP_Doc Source #
par :: PP_Exp Source #
(>>$<) :: PP a => PP_Exp -> [a] -> PP_Doc infixr 0 Source #
eindent :: Int -> PP_Exp -> PP_Exp Source #
(>>|<<) :: PP_Exp -> PP_Exp -> PP_Exp infixr 3 Source #
(>>-<<) :: PP_Exp -> PP_Exp -> PP_Exp infixr 2 Source #
(>>//<<) :: PP_Exp -> PP_Exp -> PP_Exp infixr 1 Source #
ejoin :: PP_Exp -> PP_Exp Source #
(>>$<<) :: PP_Exp -> [PP_Exp] -> PP_Exp infixr 0 Source #
render :: PP_Doc -> Int -> IO () Source #
renderAll :: PP_Doc -> Int -> IO () Source #
disp :: PP_Doc -> Int -> ShowS Source #
c2e :: PP a => a -> PP_Exp Source #
element_h1 :: PP_Doc -> PP_Doc Source #
eelement_h1 :: PP_Exp -> PP_Exp Source #
vcenter :: PP a => [a] -> PP_Doc Source #
invisible :: PP_Doc -> PP_Doc Source #
fpar :: PP_Exp Source #
spar :: PP_Exp Source #