2 ||M|| This file is part of HELM, an Hypertextual, Electronic
3 ||A|| Library of Mathematics, developed at the Computer Science
4 ||T|| Department, University of Bologna, Italy.
6 ||T|| HELM is free software; you can redistribute it and/or
7 ||A|| modify it under the terms of the GNU General Public License
8 \ / version 2 or (at your option) any later version.
9 \ / This software is distributed as is, NO WARRANTY.
10 V_______________________________________________________________ *)
12 exception Error of string
14 val error: string -> 'a
16 val log: string -> unit
20 val id2: 'a -> 'b -> 'a * 'b
22 val segments_of_string: string list -> int -> string -> string list
24 val rev_map_concat: ('a -> string) -> string -> string -> 'a list -> string
26 val fold_string: ('a -> char -> 'a) -> 'a -> string -> 'a
28 val rev_neg_filter : ('a -> bool) -> 'a list -> 'a list -> 'a list
30 val foldi_left: (int -> 'a -> 'b -> 'a) -> int -> 'a -> 'b list -> 'a
32 val rev_mapi: (int -> 'b -> 'a) -> int -> 'b list -> 'a list
34 val rev_map_append: ('a -> 'b) -> 'a list -> 'b list -> 'b list