functor (I : IndexedType) ->
sig
type key = I.t
type 'a t
val size : 'a t -> int
val create : 'a -> 'a t
val is_empty : 'a t -> bool
val mem : 'a t -> key -> bool
val find : 'a t -> key -> 'a
val add : 'a t -> key -> 'a -> unit
val replace : 'a t -> key -> 'a -> unit
val copy : 'a t -> 'a t
val iter : (key -> 'a -> unit) -> 'a t -> unit
val iter_const : ('a -> key -> 'b -> unit) -> 'a -> 'b t -> unit
val fold : ('a -> key -> 'b -> 'a) -> 'a -> 'b t -> 'a
val fold_const : ('a -> 'b -> key -> 'c -> 'b) -> 'a -> 'b -> 'c t -> 'b
val modify : ('a -> 'a) -> 'a t -> unit
val modify_const : ('a -> 'b -> 'b) -> 'a -> 'b t -> unit
val set_all : 'a t -> 'a -> unit
end
Hosted by the
* web site.
*Other names and brands may be claimed as the property
of others.