Module type Map_intf.Creators_generic
include Map.Creators_generic
val empty : ('k, 'cmp, ('k, 'a, 'cmp) t) options
val singleton : ('k, 'cmp, 'k key -> 'v -> ('k, 'v, 'cmp) t) options
val of_sorted_array : ('k, 'cmp, ('k key * 'v) array -> ('k, 'v, 'cmp) t Base.Or_error.t) options
val of_sorted_array_unchecked : ('k, 'cmp, ('k key * 'v) array -> ('k, 'v, 'cmp) t) options
val of_increasing_iterator_unchecked : ('k, 'cmp, len:int -> f:(int -> 'k key * 'v) -> ('k, 'v, 'cmp) t) options
val of_alist : ('k, 'cmp, ('k key * 'v) list -> [ `Duplicate_key of 'k key | `Ok of ('k, 'v, 'cmp) t ]) options
val of_alist_or_error : ('k, 'cmp, ('k key * 'v) list -> ('k, 'v, 'cmp) t Base.Or_error.t) options
val of_alist_exn : ('k, 'cmp, ('k key * 'v) list -> ('k, 'v, 'cmp) t) options
val of_alist_multi : ('k, 'cmp, ('k key * 'v) list -> ('k, 'v list, 'cmp) t) options
val of_alist_fold : ('k, 'cmp, ('k key * 'v1) list -> init:'v2 -> f:('v2 -> 'v1 -> 'v2) -> ('k, 'v2, 'cmp) t) options
val of_alist_reduce : ('k, 'cmp, ('k key * 'v) list -> f:('v -> 'v -> 'v) -> ('k, 'v, 'cmp) t) options
val of_increasing_sequence : ('k, 'cmp, ('k key * 'v) Base.Sequence.t -> ('k, 'v, 'cmp) t Base.Or_error.t) options
val of_sequence : ('k, 'cmp, ('k key * 'v) Base.Sequence.t -> [ `Duplicate_key of 'k key | `Ok of ('k, 'v, 'cmp) t ]) options
val of_sequence_or_error : ('k, 'cmp, ('k key * 'v) Base.Sequence.t -> ('k, 'v, 'cmp) t Base.Or_error.t) options
val of_sequence_exn : ('k, 'cmp, ('k key * 'v) Base.Sequence.t -> ('k, 'v, 'cmp) t) options
val of_sequence_multi : ('k, 'cmp, ('k key * 'v) Base.Sequence.t -> ('k, 'v list, 'cmp) t) options
val of_sequence_fold : ('k, 'cmp, ('k key * 'v1) Base.Sequence.t -> init:'v2 -> f:('v2 -> 'v1 -> 'v2) -> ('k, 'v2, 'cmp) t) options
val of_sequence_reduce : ('k, 'cmp, ('k key * 'v) Base.Sequence.t -> f:('v -> 'v -> 'v) -> ('k, 'v, 'cmp) t) options
val of_iteri : ('k, 'cmp, iteri:(f:(key:'k key -> data:'v -> unit) -> unit) -> [ `Duplicate_key of 'k key | `Ok of ('k, 'v, 'cmp) t ]) options
val of_tree : ('k, 'cmp, ('k key, 'v, 'cmp) tree -> ('k, 'v, 'cmp) t) options
val of_hashtbl_exn : ('k, 'cmp, ('k key, 'v) Core_kernel.Hashtbl.t -> ('k, 'v, 'cmp) t) options
val of_key_set : ('k key, 'cmp cmp) Base.Set.t -> f:('k key -> 'v) -> ('k, 'v, 'cmp) t
Never requires a comparator because it can get one from the input
Set.t
.
val quickcheck_generator : ('k, 'cmp, 'k key Core_kernel.Quickcheck.Generator.t -> 'v Core_kernel.Quickcheck.Generator.t -> ('k, 'v, 'cmp) t Core_kernel.Quickcheck.Generator.t) options