]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/lib/log.mli
Stricter type: the type now shows that disambiguation only alter the lexicon.
[helm.git] / helm / software / lambda-delta / lib / log.mli
index 821cb0f3180063d09fcd854e5022f9854c8af2fb..241247c188d69ff345ef1bd194299c707933aa6f 100644 (file)
@@ -13,12 +13,15 @@ type ('a, 'b) item = Term of 'a * 'b
                    | Context of 'a
                    | Warn of string
                   | String of string
+                  | Loc
 
 type ('a, 'b) specs = {
    pp_term   : 'a -> Format.formatter -> 'b -> unit;
    pp_context: Format.formatter -> 'a -> unit
 }
 
+val loc: int ref
+
 val level: int ref
 
 val warn: string -> unit
@@ -39,6 +42,14 @@ val error: ('a, 'b) specs -> ('a, 'b) item list -> unit
 
 val items1: string -> ('a, 'b) item list
 
-val ct_items1: string -> 'a -> 'b -> ('a, 'b) item list
+val t_items1: string -> 'a -> 'b -> ('a, 'b) item list
+
+val ct_items1:
+   string -> 'a -> string -> 'b -> ('a, 'b) item list
+
+val ct_items2:
+   string -> 'a -> string -> 'b -> string -> 'b -> ('a, 'b) item list
 
-val ct_items2: string -> 'a -> 'b -> string -> 'a -> 'b -> ('a, 'b) item list
+val ct_items3:
+   string -> 'a -> string -> 'b -> string -> 'b -> string -> 'b -> 
+   ('a, 'b) item list