]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/lib/log.mli
basic_rg: improved interface, unwind removed from applicability check
[helm.git] / helm / software / lambda-delta / lib / log.mli
index bdaee06e089ec940216275d4dc5dd201e1fb6205..6a2cc90cddab3249bdf1d61469c88d79db32f043 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
@@ -45,7 +48,8 @@ val ct_items1:
    string -> 'a -> string -> 'b -> ('a, 'b) item list
 
 val ct_items2:
-   string -> 'a -> string -> 'b -> string -> 'b -> ('a, 'b) item list
+   string -> 'a -> string -> 'b -> string -> 'a -> string -> 'b -> 
+   ('a, 'b) item list
 
 val ct_items3:
    string -> 'a -> string -> 'b -> string -> 'b -> string -> 'b ->