uulib-0.9.25: Haskell Utrecht Tools Library

Safe Haskell | Safe-Inferred
Language | Haskell2010

UU.Pretty.Basic

# Documentation

class Show a => PP a where Source #

Minimal complete definition

Nothing

Methods

pp :: a -> PP_Doc Source #

ppList :: [a] -> PP_Doc Source #

#### Instances

Instances details

PP PP_Doc Source # |
Instance details Defined in UU.Pretty.Basic Methods pp :: PP_Doc -> PP_Doc Source # ppList :: [PP_Doc] -> PP_Doc Source #
PP Char Source # |
Instance details Defined in UU.Pretty.Basic Methods pp :: Char -> PP_Doc Source # ppList :: [Char] -> PP_Doc Source #
PP Float Source # |
Instance details Defined in UU.Pretty.Ext Methods pp :: Float -> PP_Doc Source # ppList :: [Float] -> PP_Doc Source #
PP Int Source # |
Instance details Defined in UU.Pretty.Ext Methods pp :: Int -> PP_Doc Source # ppList :: [Int] -> PP_Doc Source #
PP a => PP [a] Source # |
Instance details Defined in UU.Pretty.Basic Methods pp :: [a] -> PP_Doc Source # ppList :: [[a]] -> PP_Doc Source #

data PP_Doc Source #

#### Instances

Instances details

Show PP_Doc Source # |
Instance details Defined in UU.Pretty.Basic Methods showsPrec :: Int -> PP_Doc -> ShowS Source # show :: PP_Doc -> String Source # showList :: [PP_Doc] -> ShowS Source #
PP PP_Doc Source # |
Instance details Defined in UU.Pretty.Basic Methods pp :: PP_Doc -> PP_Doc Source # ppList :: [PP_Doc] -> PP_Doc Source #

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 #