Parameters
Signature
val is_empty : 'a t -> boolval cardinal : 'a t -> intval add : key -> 'a -> 'a t -> 'a tval update_stdlib : key -> ('a option -> 'a option) -> 'a t -> 'a tval update : key -> key -> 'a -> 'a t -> 'a tval find : key -> 'a t -> 'aval find_opt : key -> 'a t -> 'a optionval find_default : 'a -> key -> 'a t -> 'aval find_first : (key -> bool) -> 'a t -> key * 'aval find_first_opt : (key -> bool) -> 'a t -> (key * 'a) optionval find_last : (key -> bool) -> 'a t -> key * 'aval find_last_opt : (key -> bool) -> 'a t -> (key * 'a) optionval remove : key -> 'a t -> 'a tval remove_exn : key -> 'a t -> 'a tval modify : key -> ('a -> 'a) -> 'a t -> 'a tval modify_def : 'a -> key -> ('a -> 'a) -> 'a t -> 'a tval modify_opt : key -> ('a option -> 'a option) -> 'a t -> 'a tval pop : 'a t -> (key * 'a) * 'a tval mem : key -> 'a t -> boolval iter : (key -> 'a -> unit) -> 'a t -> unitval map : ('a -> 'b) -> 'a t -> 'b tval mapi : (key -> 'a -> 'b) -> 'a t -> 'b tval fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'bval filterv : ('a -> bool) -> 'a t -> 'a tval filter : (key -> 'a -> bool) -> 'a t -> 'a tval filter_map : (key -> 'a -> 'b option) -> 'a t -> 'b tval compare : ('a -> 'a -> int) -> 'a t -> 'a t -> intval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval min_binding : 'a t -> key * 'aval min_binding_opt : 'a t -> (key * 'a) optionval pop_min_binding : 'a t -> (key * 'a) * 'a tval max_binding : 'a t -> key * 'aval max_binding_opt : 'a t -> (key * 'a) optionval pop_max_binding : 'a t -> (key * 'a) * 'a tval choose : 'a t -> key * 'aval choose_opt : 'a t -> (key * 'a) optionval any : 'a t -> key * 'aval split : key -> 'a t -> 'a t * 'a option * 'a tval partition : (key -> 'a -> bool) -> 'a t -> 'a t * 'a tval singleton : key -> 'a -> 'a tval bindings : 'a t -> (key * 'a) listval for_all : (key -> 'a -> bool) -> 'a t -> boolval exists : (key -> 'a -> bool) -> 'a t -> boolval merge : (key -> 'a option -> 'b option -> 'c option) -> 'a t -> 'b t -> 'c tval union : (key -> 'a -> 'a -> 'a option) -> 'a t -> 'a t -> 'a tmodule Infix : sig ... endval of_list : (Ord.t * 'a) list -> 'a tval to_list : 'a t -> (Ord.t * 'a) listinclude module type of struct include Exceptionless end
val find : key -> 'a t -> 'a optionval choose : 'a t -> (key * 'a) optionval any : 'a t -> (key * 'a) option