purescript-0.12.0: PureScript Programming Language Compiler
Language.PureScript.CodeGen.JS.Printer
Description
Pretty printer for the JavaScript AST
Synopsis
prettyPrintJS :: [AST] -> Text Source #
prettyPrintJSWithSourceMaps :: [AST] -> (Text, [SMap]) Source #
Generate a pretty-printed string representing a collection of JavaScript expressions at the same indentation level