Module type Prime_accretion_map.S
Signature for an accretion map with monomorphic elements. See S1 for documentation.
val empty : tval singleton : key -> elt -> tval is_empty : t -> boolval cardinal : t -> intval result : t -> resultval app : t -> key -> elt optionval find : key -> t -> eltval add : key -> elt -> t -> tval remove : key -> t -> tval bindings : t -> (key * elt) listval fold : (key -> elt -> 'a -> 'a) -> t -> 'a -> 'aval iter : (key -> elt -> unit) -> t -> unitval search : (key -> elt -> 'a option) -> t -> 'a optionval for_all : (key -> elt -> bool) -> t -> boolval exists : (key -> elt -> bool) -> t -> bool