X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fhelena%2Fsrc%2Flib%2Flog.mli;h=bd77cc1bbf52f0b383af350ac798cc6b1b783e06;hb=0c302a9fda708e5019e48d14c5419a8a65190745;hp=df867a1663c5ca6e0d3540685269577299b3e76a;hpb=f72311aa07e71090a24eef9e4fb97cc2e95e6b16;p=helm.git diff --git a/helm/software/helena/src/lib/log.mli b/helm/software/helena/src/lib/log.mli index df867a166..bd77cc1bb 100644 --- a/helm/software/helena/src/lib/log.mli +++ b/helm/software/helena/src/lib/log.mli @@ -9,41 +9,40 @@ \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) -type ('a, 'b) item = Term of 'a * 'b - | LEnv of 'a +type ('b, 'c) item = Term of 'b * 'c + | LEnv of 'b | Warn of string | Uri of NUri.uri - | Flush -type ('a, 'b) message = ('a, 'b) item list +type ('b, 'c) message = ('b, 'c) item list -type ('a, 'b) specs = { - pp_term: 'a -> out_channel -> 'b -> unit; - pp_lenv: out_channel -> 'a -> unit +type ('a, 'b, 'c) specs = { + pp_term: 'a -> 'b -> out_channel -> 'c -> unit; + pp_lenv: 'a -> out_channel -> 'b -> unit } -val specs: (unit, unit) specs +val specs: (unit, unit, unit) specs -val log: ('a, 'b) specs -> int -> ('a, 'b) message -> unit +val log: 'a -> ('a, 'b, 'c) specs -> int -> ('b, 'c) message -> unit -val error: ('a, 'b) specs -> ('a, 'b) message -> unit +val error: 'a -> ('a, 'b, 'c) specs -> ('b, 'c) message -> unit -val items1: string -> ('a, 'b) message +val items1: string -> ('b, 'c) message -val t_items1: string -> 'a -> 'b -> ('a, 'b) message +val t_items1: string -> 'b -> 'c -> ('b, 'c) message val et_items1: - string -> 'a -> string -> 'b -> ('a, 'b) message + string -> 'b -> string -> 'c -> ('b, 'c) message val et_items2: - string -> 'a -> string -> 'b -> - ?sc2:string -> ?c2:'a -> string -> 'b -> - ('a, 'b) message + string -> 'b -> string -> 'c -> + ?sc2:string -> ?c2:'b -> string -> 'c -> + ('b, 'c) message val et_items3: - string -> 'a -> string -> 'b -> - ?sc2:string -> ?c2:'a -> string -> 'b -> - ?sc3:string -> ?c3:'a -> string -> 'b -> - ('a, 'b) message + string -> 'b -> string -> 'c -> + ?sc2:string -> ?c2:'b -> string -> 'c -> + ?sc3:string -> ?c3:'b -> string -> 'c -> + ('b, 'c) message val warn: int -> string -> unit