dhall-lsp-server-1.0.0

Safe HaskellNone
LanguageHaskell2010

Dhall.LSP.Backend.Formatting

Synopsis

Documentation

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).