]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/helena/src/lib/log.mli
- the disambiguation of unified binders continues
[helm.git] / helm / software / helena / src / lib / log.mli
index df867a1663c5ca6e0d3540685269577299b3e76a..bd77cc1bbf52f0b383af350ac798cc6b1b783e06 100644 (file)
@@ -9,41 +9,40 @@
      \ /   This software is distributed as is, NO WARRANTY.              
       V_______________________________________________________________ *)
 
-type ('a, 'b) item = Term of 'a * 'b
-                   | LEnv of 'a
+type ('b, 'c) item = Term of 'b * 'c
+                   | LEnv of 'b
                    | Warn of string
                    | Uri  of NUri.uri
-                  | Flush
 
-type ('a, 'b) message = ('a, 'b) item list
+type ('b, 'c) message = ('b, 'c) item list
 
-type ('a, 'b) specs = {
-   pp_term: 'a -> out_channel -> 'b -> unit;
-   pp_lenv: out_channel -> 'a -> unit
+type ('a, 'b, 'c) specs = {
+   pp_term: 'a -> 'b -> out_channel -> 'c -> unit;
+   pp_lenv: 'a -> out_channel -> 'b -> unit
 }
 
-val specs: (unit, unit) specs
+val specs: (unit, unit, unit) specs
 
-val log: ('a, 'b) specs -> int -> ('a, 'b) message -> unit
+val log: 'a -> ('a, 'b, 'c) specs -> int -> ('b, 'c) message -> unit
 
-val error: ('a, 'b) specs -> ('a, 'b) message -> unit
+val error: 'a -> ('a, 'b, 'c) specs -> ('b, 'c) message -> unit
 
-val items1: string -> ('a, 'b) message
+val items1: string -> ('b, 'c) message
 
-val t_items1: string -> 'a -> 'b -> ('a, 'b) message
+val t_items1: string -> 'b -> 'c -> ('b, 'c) message
 
 val et_items1:
-   string -> 'a -> string -> 'b -> ('a, 'b) message
+   string -> 'b -> string -> 'c -> ('b, 'c) message
 
 val et_items2:
-   string -> 'a -> string -> 'b -> 
-   ?sc2:string -> ?c2:'a -> string -> 'b -> 
-   ('a, 'b) message
+   string -> 'b -> string -> 'c -> 
+   ?sc2:string -> ?c2:'b -> string -> 'c -> 
+   ('b, 'c) message
 
 val et_items3:
-   string -> 'a -> string -> 'b -> 
-   ?sc2:string -> ?c2:'a -> string -> 'b -> 
-   ?sc3:string -> ?c3:'a -> string -> 'b ->
-   ('a, 'b) message
+   string -> 'b -> string -> 'c -> 
+   ?sc2:string -> ?c2:'b -> string -> 'c -> 
+   ?sc3:string -> ?c3:'b -> string -> 'c ->
+   ('b, 'c) message
 
 val warn: int -> string -> unit