Library
Module
Module type
Parameter
Class
Class type
Heterogeneous value maps.
v0.8.1 - homepage
module Key : sig ... end
Keys.
val empty : t
empty
is the empty map.
val is_empty : t -> bool
is_empty m
is true
iff m
is empty.
fold f m acc
folds over the bindings of m
with f
, starting with acc
exists p m
is true
iff there exists a bindings of m
that satisfies p
.
val cardinal : t -> int
cardinal m
is the number of bindings in m
.
The functorial interface allows to associate more information to the keys. For example a key name or a key value pretty-printer.
module type KEY_INFO = sig ... end
The type for key information.