uulib-0.9.24: Haskell Utrecht Tools Library

Safe HaskellSafe
LanguageHaskell98

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
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

PP Int Source # 
Instance details

Defined in UU.Pretty.Ext

Methods

pp :: Int -> PP_Doc Source #

ppList :: [Int] -> PP_Doc Source #

PP PP_Doc Source # 
Instance details

Defined in UU.Pretty.Basic

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
Show PP_Doc Source # 
Instance details

Defined in UU.Pretty.Basic

PP PP_Doc Source # 
Instance details

Defined in UU.Pretty.Basic

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 #

(>>$<) :: PP a => PP_Exp -> [a] -> PP_Doc infixr 0 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 #

(>>$<<) :: PP_Exp -> [PP_Exp] -> PP_Exp infixr 0 Source #

render :: PP_Doc -> Int -> IO () Source #

c2e :: PP a => a -> PP_Exp Source #

vcenter :: PP a => [a] -> PP_Doc Source #