]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/lib/log.mli
- common/entity: new format for kernel entities
[helm.git] / helm / software / lambda-delta / lib / log.mli
index b5bc99adfe2c41174295b6238be32e3e91d172ca..956f91fd8a00207e4475b713cd32ca787f3f20b2 100644 (file)
@@ -10,7 +10,7 @@
       V_______________________________________________________________ *)
 
 type ('a, 'b) item = Term of 'a * 'b
-                   | Context of 'a
+                   | LEnv of 'a
                    | Warn of string
                   | String of string
                   | Loc
@@ -18,11 +18,11 @@ type ('a, 'b) item = Term of 'a * 'b
 type ('a, 'b) message = ('a, 'b) item list
 
 type ('a, 'b) specs = {
-   pp_term   : 'a -> Format.formatter -> 'b -> unit;
-   pp_context: Format.formatter -> 'a -> unit
+   pp_term: 'a -> Format.formatter -> 'b -> unit;
+   pp_lenv: Format.formatter -> 'a -> unit
 }
 
-val loc: int ref
+val loc: string ref
 
 val level: int ref
 
@@ -46,13 +46,16 @@ val items1: string -> ('a, 'b) message
 
 val t_items1: string -> 'a -> 'b -> ('a, 'b) message
 
-val ct_items1:
+val et_items1:
    string -> 'a -> string -> 'b -> ('a, 'b) message
 
-val ct_items2:
-   string -> 'a -> string -> 'b -> string -> 'a -> string -> 'b -> 
+val et_items2:
+   string -> 'a -> string -> 'b -> 
+   ?sc2:string -> ?c2:'a -> string -> 'b -> 
    ('a, 'b) message
 
-val ct_items3:
-   string -> 'a -> string -> 'b -> string -> 'b -> string -> 'b -> 
+val et_items3:
+   string -> 'a -> string -> 'b -> 
+   ?sc2:string -> ?c2:'a -> string -> 'b -> 
+   ?sc3:string -> ?c3:'a -> string -> 'b ->
    ('a, 'b) message