X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Flambda-delta%2Flib%2Flog.mli;fp=helm%2Fsoftware%2Flambda-delta%2Flib%2Flog.mli;h=43e81191597a844771504b62dfcd4822f5cda966;hb=f23388dbd51574725a11b0ab5373f09838a32ab5;hp=184594077ce8c4db34f68a5719df4bc96b34e409;hpb=44f5cc9acb3ae3caaf35a29da86f2fdfafdf7066;p=helm.git diff --git a/helm/software/lambda-delta/lib/log.mli b/helm/software/lambda-delta/lib/log.mli index 184594077..43e811915 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,6 +23,16 @@ val level: int ref val warn: string -> unit +val box: unit -> unit + +val unbox: unit -> unit + +val flush: unit -> 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