]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/lib/log.mli
Some changes to the pullback test, for debugging
[helm.git] / helm / software / lambda-delta / lib / log.mli
index 184594077ce8c4db34f68a5719df4bc96b34e409..821cb0f3180063d09fcd854e5022f9854c8af2fb 100644 (file)
@@ -15,7 +15,7 @@ type ('a, 'b) item = Term of 'a * 'b
                   | String of string
 
 type ('a, 'b) specs = {
-   pp_term   : Format.formatter -> 'a -> 'b -> unit;
+   pp_term   : 'a -> Format.formatter -> 'b -> unit;
    pp_context: Format.formatter -> 'a -> unit
 }
 
@@ -23,6 +23,16 @@ val level: int ref
 
 val warn: string -> unit
 
+val box: int -> unit
+
+val unbox: int -> unit
+
+val flush: int -> unit
+
+val box_err: unit -> unit
+
+val flush_err: unit -> unit
+
 val log: ('a, 'b) specs -> int -> ('a, 'b) item list -> unit
 
 val error: ('a, 'b) specs -> ('a, 'b) item list -> unit