1. camlspotter
  2. treeprint

Commits

camlspotter  committed 521954a

comment

  • Participants
  • Parent commits 9e5576e
  • Branches default

Comments (0)

Files changed (1)

File lib/printer.mli

View file
  • Ignore whitespace
 val parenbox : assoc -> level -> ppr -> ppr
 val binop    : assoc -> level -> op:ppr -> ppr -> ppr -> ppr
 val list     : level -> ppr -> ppr list -> ppr
+(** [list lev sep pprs] is to create a list without a box *)
+
 val prefix   : level -> op:ppr -> ppr -> ppr
 val postfix  : level -> op:ppr -> ppr -> ppr
 
 val parens : string -> string -> ppr -> ppr
 (** Surround the given ppr with the left and right strings.
-    The level for ppr is reset to -1.0. *)
+    The level for the internal ppr is reset to -1.0 to prevent from having auto parens for it *)
 
 (** OCaml like printers *)
 module OCaml : sig