dhall-lsp-server-1.0.0
Dhall.LSP.Backend.Formatting
formatExpr :: Pretty b => Expr a b -> Text Source #
Pretty-print the given Dhall expression.
formatExprWithHeader :: Pretty b => Expr a b -> Text -> Text Source #
Pretty-print the given Dhall expression, prepending the given a "header" (usually consisting of comments and whitespace).