happy-lib-2.1.7: Happy is a parser generator for Haskell implemented using this library

Safe Haskell | None
Language | Haskell98

Happy.Frontend.PrettyGrammar

# Documentation

render :: Doc -> String #

ppAbsSyn :: AbsSyn String -> Doc #

ppDirective :: Directive a -> Doc #

ppRule :: Rule String -> Doc #

ppProd :: Prod String -> Doc #

ppPrec :: Prec -> Doc #

ppTerm :: Term -> Doc #

ppTuple :: [Doc] -> Doc #

type Doc = Maybe ShowS #

empty :: Doc #

punctuate :: Doc -> [Doc] -> [Doc] #

comma :: Doc #

char :: Char -> Doc #

text :: String -> Doc #

(<+>) :: Doc -> Doc -> Doc #

(<>) :: Doc -> Doc -> Doc #

($$) :: Doc -> Doc -> Doc #

hsep :: [Doc] -> Doc #

vcat :: [Doc] -> Doc #

vsep :: [Doc] -> Doc #

parens :: Doc -> Doc #

hcat :: [Doc] -> Doc #