]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/lib/log.mli
- proper KAM with closures implemented for the brg kernel
[helm.git] / helm / software / lambda-delta / lib / log.mli
index 6a2cc90cddab3249bdf1d61469c88d79db32f043..b5bc99adfe2c41174295b6238be32e3e91d172ca 100644 (file)
@@ -15,6 +15,8 @@ type ('a, 'b) item = Term of 'a * 'b
                   | String of string
                   | Loc
 
+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
@@ -36,21 +38,21 @@ val box_err: unit -> unit
 
 val flush_err: unit -> unit
 
-val log: ('a, 'b) specs -> int -> ('a, 'b) item list -> unit
+val log: ('a, 'b) specs -> int -> ('a, 'b) message -> unit
 
-val error: ('a, 'b) specs -> ('a, 'b) item list -> unit
+val error: ('a, 'b) specs -> ('a, 'b) message -> unit
 
-val items1: string -> ('a, 'b) item list
+val items1: string -> ('a, 'b) message
 
-val t_items1: string -> 'a -> 'b -> ('a, 'b) item list
+val t_items1: string -> 'a -> 'b -> ('a, 'b) message
 
 val ct_items1:
-   string -> 'a -> string -> 'b -> ('a, 'b) item list
+   string -> 'a -> string -> 'b -> ('a, 'b) message
 
 val ct_items2:
    string -> 'a -> string -> 'b -> string -> 'a -> string -> 'b -> 
-   ('a, 'b) item list
+   ('a, 'b) message
 
 val ct_items3:
    string -> 'a -> string -> 'b -> string -> 'b -> string -> 'b -> 
-   ('a, 'b) item list
+   ('a, 'b) message