Stability | experimental |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
A printer for Egison pattern expressions in Haskell source code.
Synopsis
- type Expr = Expr (QName ()) (Name ()) (Exp ())
- prettyExpr :: MonadError (Error (QName ())) m => Style -> PPHsMode -> Expr -> m Text
- prettyExprWithFixities :: MonadError (Error (QName ())) m => Style -> PPHsMode -> [Fixity] -> Expr -> m Text
- type PrintMode = PrintMode (QName ()) (Name ()) (Exp ())
- type PrintFixity = PrintFixity (QName ())
- type Fixity = Fixity (QName ())
- makePageMode :: Style -> PageMode
- makeHaskellMode :: Style -> PPHsMode -> [Fixity] -> PrintMode
- makePrintFixity :: Fixity -> PrintFixity
Printers
type Expr = Expr (QName ()) (Name ()) (Exp ()) Source #
Type synonym of Expr
to be printed with Haskell's source code.
prettyExpr :: MonadError (Error (QName ())) m => Style -> PPHsMode -> Expr -> m Text Source #
prettyExprWithFixities :: MonadError (Error (QName ())) m => Style -> PPHsMode -> [Fixity] -> Expr -> m Text Source #
Converting haskell-src-exts
's entities
type PrintFixity = PrintFixity (QName ()) Source #
Type synonym of PrintFixity
to print Expr
.
makePrintFixity :: Fixity -> PrintFixity Source #
Build PrintFixity
using Fixity
to print Haskell operators.