sexp-grammar-1.3.0: 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 ann #

prettyList :: [Sexp] -> Doc ann #

Pretty Atom Source # 

Methods

pretty :: Atom -> Doc ann #

prettyList :: [Atom] -> Doc ann #

Pretty Kw Source # 

Methods

pretty :: Kw -> Doc ann #

prettyList :: [Kw] -> Doc ann #