more tweaks to pretty printing.

This commit is contained in:
2024-11-15 19:13:42 -08:00
parent 9faee86886
commit 9767d92952
7 changed files with 39 additions and 24 deletions

View File

@@ -188,10 +188,6 @@ jsIdent id = if elem id keywords then text ("$" ++ id) else text $ pack $ fix (u
stmtToDoc : JSStmt e -> Doc
||| separate with space
export
commaSep : List Doc -> Doc
commaSep = folddoc (\a, b => a ++ "," <+/> b)
expToDoc : JSExp -> Doc
expToDoc (LitArray xs) = ?expToDoc_rhs_0