ghc-6.12.2: The GHC APISource codeContentsIndex
Pretty
Documentation
data Doc Source
show/hide Instances
data Mode Source
Constructors
PageMode
ZigZagMode
LeftMode
OneLineMode
data TextDetails Source
Constructors
Chr !Char
Str String
PStr FastString
LStr !LitString FastInt
empty :: DocSource
isEmpty :: Doc -> BoolSource
nest :: Int -> Doc -> DocSource
char :: Char -> DocSource
text :: String -> DocSource
ftext :: FastString -> DocSource
ptext :: LitString -> DocSource
int :: Int -> DocSource
integer :: Integer -> DocSource
float :: Float -> DocSource
double :: Double -> DocSource
rational :: Rational -> DocSource
parens :: Doc -> DocSource
brackets :: Doc -> DocSource
braces :: Doc -> DocSource
quotes :: Doc -> DocSource
doubleQuotes :: Doc -> DocSource
semi :: DocSource
comma :: DocSource
colon :: DocSource
space :: DocSource
equals :: DocSource
lparen :: DocSource
rparen :: DocSource
lbrack :: DocSource
rbrack :: DocSource
lbrace :: DocSource
rbrace :: DocSource
cparen :: Bool -> Doc -> DocSource
(<>) :: Doc -> Doc -> DocSource
(<+>) :: Doc -> Doc -> DocSource
hcat :: [Doc] -> DocSource
hsep :: [Doc] -> DocSource
($$) :: Doc -> Doc -> DocSource
($+$) :: Doc -> Doc -> DocSource
vcat :: [Doc] -> DocSource
sep :: [Doc] -> DocSource
cat :: [Doc] -> DocSource
fsep :: [Doc] -> DocSource
fcat :: [Doc] -> DocSource
hang :: Doc -> Int -> Doc -> DocSource
punctuate :: Doc -> [Doc] -> [Doc]Source
render :: Doc -> StringSource
fullRender :: Mode -> Int -> Float -> (TextDetails -> a -> a) -> a -> Doc -> aSource
printDoc :: Mode -> Handle -> Doc -> IO ()Source
showDocWith :: Mode -> Doc -> StringSource
bufLeftRender :: BufHandle -> Doc -> IO ()Source
Produced by Haddock version 2.6.1