1
(************************************************************************)
2
(* v * The Coq Proof Assistant / The Coq Development Team *)
3
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
4
(* \VV/ **************************************************************)
5
(* // * This file is distributed under the terms of the *)
6
(* * GNU Lesser General Public License Version 2.1 *)
7
(************************************************************************)
9
(*i $Id: gmapl.mli 5920 2004-07-16 20:01:26Z herbelin $ i*)
11
(* Maps from ['a] to lists of ['b]. *)
16
val mem : 'a -> ('a,'b) t -> bool
17
val iter : ('a -> 'b list -> unit) -> ('a,'b) t -> unit
18
val map : ('b list -> 'c list) -> ('a,'b) t -> ('a,'c) t
19
val fold : ('a -> 'b list -> 'c -> 'c) -> ('a,'b) t -> 'c -> 'c
21
val add : 'a -> 'b -> ('a,'b) t -> ('a,'b) t
22
val find : 'a -> ('a,'b) t -> 'b list
23
val remove : 'a -> 'b -> ('a,'b) t -> ('a,'b) t