| Copyright | © 2019 Vincent Archambault |
|---|---|
| License | 0BSD |
| Maintainer | Vincent Archambault <archambault.v@gmail.com> |
| Stability | experimental |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Data.SExpresso.Print
Description
Printing SExpr as Text. To print as lazy text
(Data.Text.Lazy) see Data.Sexpresso.Print.Lazy
Synopsis
- data SExprPrinter b a = SExprParser {}
- mkPrinter :: (a -> Text) -> SExprPrinter b a
- flatPrint :: SExprPrinter b a -> SExpr b a -> Text
Documentation
data SExprPrinter b a Source #
The SExprPrinter defines how to print an SExpr.
mkPrinter :: (a -> Text) -> SExprPrinter b a Source #
An SExprPrinter with the opening tag defined as '(' and the
closing tag defined as ')'