sexp-grammar-1.2.3: Invertible parsers for S-expressions

Safe HaskellNone
LanguageHaskell2010

Language.Sexp.Pretty

Contents

Synopsis

Documentation

prettySexp' :: Sexp -> ByteString Source #

Pretty-print a Sexp to a ByteString

prettySexp :: Sexp -> Text Source #

Pretty-print a Sexp to a Text

prettySexps :: [Sexp] -> Text Source #

Pretty-print a list of Sexps as a sequence of S-expressions to a ByteString

Orphan instances

Pretty Sexp Source # 

Methods

pretty :: Sexp -> Doc #

prettyList :: [Sexp] -> Doc #

Pretty Atom Source # 

Methods

pretty :: Atom -> Doc #

prettyList :: [Atom] -> Doc #

Pretty Kw Source # 

Methods

pretty :: Kw -> Doc #

prettyList :: [Kw] -> Doc #