ContentsIndex
Doc.DocLike
Documentation
class TextLike a where
Methods
empty :: a
text :: String -> a
char :: Char -> a
show/hide Instances
TextLike Char
TextLike Doc
TextLike Doc
TextLike ShowS
TextLike String
(TextLike a, Monad m) => TextLike (m a)
class TextLike a => DocLike a where
Methods
(<>) :: a -> a -> a
(<+>) :: a -> a -> a
(<$>) :: a -> a -> a
hsep :: [a] -> a
hcat :: [a] -> a
vcat :: [a] -> a
tupled :: [a] -> a
list :: [a] -> a
semiBraces :: [a] -> a
enclose :: a -> a -> a -> a
encloseSep :: a -> a -> a -> [a] -> a
show/hide Instances
DocLike Doc
DocLike Doc
DocLike ShowS
DocLike String
(DocLike a, Monad m, TextLike (m a)) => DocLike (m a)
tshow :: (Show a, DocLike b) => a -> b
lparen :: TextLike a => a
rparen :: TextLike a => a
langle :: TextLike a => a
rangle :: TextLike a => a
lbrace :: TextLike a => a
rbrace :: TextLike a => a
lbracket :: TextLike a => a
rbracket :: TextLike a => a
squote :: TextLike a => a
dquote :: TextLike a => a
semi :: TextLike a => a
colon :: TextLike a => a
comma :: TextLike a => a
space :: TextLike a => a
dot :: TextLike a => a
backslash :: TextLike a => a
equals :: TextLike a => a
Produced by Haddock version 0.8