X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Flib%2Flog.mli;h=bdaee06e089ec940216275d4dc5dd201e1fb6205;hb=dba85ad7c7510e7bfd01e5721c63dad528b3e0bf;hp=184594077ce8c4db34f68a5719df4bc96b34e409;hpb=8659e85d49be1ad72622d4d3a73d384b744c3c08;p=helm.git diff --git a/helm/software/lambda-delta/lib/log.mli b/helm/software/lambda-delta/lib/log.mli index 184594077..bdaee06e0 100644 --- a/helm/software/lambda-delta/lib/log.mli +++ b/helm/software/lambda-delta/lib/log.mli @@ -15,7 +15,7 @@ type ('a, 'b) item = Term of 'a * 'b | String of string type ('a, 'b) specs = { - pp_term : Format.formatter -> 'a -> 'b -> unit; + pp_term : 'a -> Format.formatter -> 'b -> unit; pp_context: Format.formatter -> 'a -> unit } @@ -23,12 +23,30 @@ val level: int ref val warn: string -> unit +val box: int -> unit + +val unbox: int -> unit + +val flush: int -> unit + +val box_err: unit -> unit + +val flush_err: unit -> unit + val log: ('a, 'b) specs -> int -> ('a, 'b) item list -> unit 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