(* ||M|| This file is part of HELM, an Hypertextual, Electronic ||A|| Library of Mathematics, developed at the Computer Science ||T|| Department, University of Bologna, Italy. ||I|| ||T|| HELM is free software; you can redistribute it and/or ||A|| modify it under the terms of the GNU General Public License \ / version 2 or (at your option) any later version. \ / This software is distributed as is, NO WARRANTY. V_______________________________________________________________ *) type ('a, 'b) item = Term of 'a * 'b | Context of 'a | Warn of string | String of string type ('a, 'b) specs = { pp_term : 'a -> Format.formatter -> 'b -> unit; pp_context: Format.formatter -> 'a -> unit } 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 val items1: string -> ('a, 'b) item list val ct_items1: string -> 'a -> 'b -> ('a, 'b) item list val ct_items2: string -> 'a -> 'b -> string -> 'a -> 'b -> ('a, 'b) item list