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