Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- formatExpr :: Pretty b => CharacterSet -> Expr Src b -> Text
- formatExprWithHeader :: Pretty b => CharacterSet -> Expr Src b -> Header -> Text
Documentation
formatExpr :: Pretty b => CharacterSet -> Expr Src b -> Text Source #
Pretty-print the given Dhall expression.
formatExprWithHeader :: Pretty b => CharacterSet -> Expr Src b -> Header -> Text Source #
Pretty-print the given Dhall expression, prepending the given a "header" (usually consisting of comments and whitespace).