Up – infer » ClangFrontend » ClangPointers » Mapval compare :
'a Base__Ppx_compare_lib .compare ->
'a t Base__Ppx_compare_lib .compareval singleton : Key.t -> 'a -> 'a t val map_keys :
'v t ->
f :(Key.t -> Key.t ) ->
[ `Duplicate_key of Key.t | `Ok of 'v t ] val of_alist : (Key.t * 'a ) list -> [ `Duplicate_key of Key.t | `Ok of 'a t ] val of_alist_or_error : (Key.t * 'a ) list -> 'a t Base__ .Or_error.tval of_alist_exn : (Key.t * 'a ) list -> 'a t val of_alist_multi : (Key.t * 'a ) list -> 'a list t val of_alist_fold : (Key.t * 'a ) list -> init :'b -> f :('b -> 'a -> 'b ) -> 'b t val of_alist_reduce : (Key.t * 'a ) list -> f :('a -> 'a -> 'a ) -> 'a t val of_sorted_array : (Key.t * 'a ) array -> 'a t Base__ .Or_error.tval of_sorted_array_unchecked : (Key.t * 'a ) array -> 'a t val of_increasing_iterator_unchecked : len :int -> f :(int -> Key.t * 'a ) -> 'a t val of_increasing_sequence :
(Key.t * 'a ) Base__ .Sequence.t ->
'a t Base__ .Or_error.tval of_sequence :
(Key.t * 'a ) Base__ .Sequence.t ->
[ `Duplicate_key of Key.t | `Ok of 'a t ] val of_sequence_or_error :
(Key.t * 'a ) Base__ .Sequence.t ->
'a t Base__ .Or_error.tval of_sequence_exn : (Key.t * 'a ) Base__ .Sequence.t -> 'a t val of_sequence_multi : (Key.t * 'a ) Base__ .Sequence.t -> 'a list t val of_sequence_fold :
(Key.t * 'a ) Base__ .Sequence.t ->
init :'b ->
f :('b -> 'a -> 'b ) ->
'b t val of_sequence_reduce :
(Key.t * 'a ) Base__ .Sequence.t ->
f :('a -> 'a -> 'a ) ->
'a t val of_iteri :
iteri :(f :(key :Key.t -> data :'v -> unit) -> unit) ->
[ `Duplicate_key of Key.t | `Ok of 'v t ] val of_iteri_exn : iteri :(f :(key :Key.t -> data :'v -> unit) -> unit) -> 'v t val of_hashtbl_exn : (Key.t , 'a ) Core__ .Hashtbl.t -> 'a t val quickcheck_generator :
Key.t Core__ .Quickcheck.Generator.t ->
'a Core__ .Quickcheck.Generator.t ->
'a t Core__ .Quickcheck.Generator.tval invariants : 'a t -> boolval is_empty : 'a t -> boolval add : 'a t -> key :Key.t -> data :'a -> 'a t Base__Map_intf .Or_duplicate.tval add_exn : 'a t -> key :Key.t -> data :'a -> 'a t val set : 'a t -> key :Key.t -> data :'a -> 'a t val add_multi : 'a list t -> key :Key.t -> data :'a -> 'a list t val remove_multi : 'a list t -> Key.t -> 'a list t val find_multi : 'a list t -> Key.t -> 'a listval change : 'a t -> Key.t -> f :('a option -> 'a option ) -> 'a t val update : 'a t -> Key.t -> f :('a option -> 'a ) -> 'a t val find : 'a t -> Key.t -> 'a optionval find_exn : 'a t -> Key.t -> 'a val mem : 'a t -> Key.t -> boolval iter_keys : 'a t -> f :(Key.t -> unit) -> unitval iter : 'a t -> f :('a -> unit) -> unitval iteri : 'a t -> f :(key :Key.t -> data :'a -> unit) -> unitval iteri_until :
'a t ->
f :(key :Key.t -> data :'a -> Base__Map_intf .Continue_or_stop.t) ->
Base__Map_intf .Finished_or_unfinished.tval iter2 :
'a t ->
'b t ->
f :(key :Key.t -> data :('a , 'b ) Base__Map_intf .Merge_element.t -> unit) ->
unitval map : 'a t -> f :('a -> 'b ) -> 'b t val mapi : 'a t -> f :(key :Key.t -> data :'a -> 'b ) -> 'b t val fold : 'a t -> init :'b -> f :(key :Key.t -> data :'a -> 'b -> 'b ) -> 'b val fold_until :
'a t ->
init :'acc ->
f :
(key :Key.t ->
data :'a ->
'acc ->
('acc , 'final ) Base__ .Container.Continue_or_stop.t ) ->
finish :('acc -> 'final ) ->
'final val fold_right : 'a t -> init :'b -> f :(key :Key.t -> data :'a -> 'b -> 'b ) -> 'b val fold2 :
'a t ->
'b t ->
init :'c ->
f :(key :Key.t -> data :('a , 'b ) Base__Map_intf .Merge_element.t -> 'c -> 'c ) ->
'c val filter_keys : 'a t -> f :(Key.t -> bool) -> 'a t val filter : 'a t -> f :('a -> bool) -> 'a t val filteri : 'a t -> f :(key :Key.t -> data :'a -> bool) -> 'a t val filter_map : 'a t -> f :('a -> 'b option ) -> 'b t val filter_mapi : 'a t -> f :(key :Key.t -> data :'a -> 'b option ) -> 'b t val partition_mapi :
'a t ->
f :(key :Key.t -> data :'a -> ('b , 'c ) Base__ .Either.t ) ->
'b t * 'c t val partition_map : 'a t -> f :('a -> ('b , 'c ) Base__ .Either.t ) -> 'b t * 'c t val partitioni_tf : 'a t -> f :(key :Key.t -> data :'a -> bool) -> 'a t * 'a t val partition_tf : 'a t -> f :('a -> bool) -> 'a t * 'a t val combine_errors : 'a Base__ .Or_error.t t -> 'a t Base__ .Or_error.tval compare_direct : ('a -> 'a -> int) -> 'a t -> 'a t -> intval equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolval data : 'a t -> 'a listval to_alist :
?key_order :[ `Decreasing | `Increasing ] ->
'a t ->
(Key.t * 'a ) listval merge :
'a t ->
'b t ->
f :(key :Key.t -> ('a , 'b ) Base__Map_intf .Merge_element.t -> 'c option ) ->
'c t val merge_skewed :
'v t ->
'v t ->
combine :(key :Key.t -> 'v -> 'v -> 'v ) ->
'v t val symmetric_diff :
'a t ->
'a t ->
data_equal :('a -> 'a -> bool) ->
(Key.t , 'a ) Base__Map_intf .Symmetric_diff_element.t Base__ .Sequence.tval fold_symmetric_diff :
'a t ->
'a t ->
data_equal :('a -> 'a -> bool) ->
init :'c ->
f :('c -> (Key.t , 'a ) Base__Map_intf .Symmetric_diff_element.t -> 'c ) ->
'c val min_elt : 'a t -> (Key.t * 'a ) optionval min_elt_exn : 'a t -> Key.t * 'a val max_elt : 'a t -> (Key.t * 'a ) optionval max_elt_exn : 'a t -> Key.t * 'a val for_all : 'a t -> f :('a -> bool) -> boolval for_alli : 'a t -> f :(key :Key.t -> data :'a -> bool) -> boolval exists : 'a t -> f :('a -> bool) -> boolval existsi : 'a t -> f :(key :Key.t -> data :'a -> bool) -> boolval count : 'a t -> f :('a -> bool) -> intval counti : 'a t -> f :(key :Key.t -> data :'a -> bool) -> intval append :
lower_part :'a t ->
upper_part :'a t ->
[ `Ok of 'a t | `Overlapping_key_ranges ] val subrange :
'a t ->
lower_bound :Key.t Base__ .Maybe_bound.t ->
upper_bound :Key.t Base__ .Maybe_bound.t ->
'a t val fold_range_inclusive :
'a t ->
min :Key.t ->
max :Key.t ->
init :'b ->
f :(key :Key.t -> data :'a -> 'b -> 'b ) ->
'b val closest_key :
'a t ->
[ `Greater_or_equal_to | `Greater_than | `Less_or_equal_to | `Less_than ] ->
Key.t ->
(Key.t * 'a ) optionval nth : 'a t -> int -> (Key.t * 'a ) optionval nth_exn : 'a t -> int -> Key.t * 'a val rank : 'a t -> Key.t -> int option val to_sequence :
?order :[ `Decreasing_key | `Increasing_key ] ->
?keys_greater_or_equal_to :Key.t ->
?keys_less_or_equal_to :Key.t ->
'a t ->
(Key.t * 'a ) Base__ .Sequence.tval binary_search :
'a t ->
compare :(key :Key.t -> data :'a -> 'key -> int) ->
Base__ .Binary_searchable.Which_target_by_key.t ->
'key ->
(Key.t * 'a ) optionval binary_search_segmented :
'a t ->
segment_of :(key :Key.t -> data :'a -> [ `Left | `Right ] ) ->
Base__ .Binary_searchable.Which_target_by_segment.t ->
(Key.t * 'a ) optionval binary_search_subrange :
'a t ->
compare :(key :Key.t -> data :'a -> 'bound -> int) ->
lower_bound :'bound Base__ .Maybe_bound.t ->
upper_bound :'bound Base__ .Maybe_bound.t ->
'a t val validate :
name :(Key.t -> Core__ .Import.string) ->
'a Validate .check ->
'a t Validate .checkval validatei :
name :(Key.t -> Core__ .Import.string) ->
(Key.t * 'a ) Validate .check ->
'a t Validate .checkval quickcheck_observer :
Key.t Core__ .Quickcheck.Observer.t ->
'v Core__ .Quickcheck.Observer.t ->
'v t Core__ .Quickcheck.Observer.tval quickcheck_shrinker :
Key.t Core__ .Quickcheck.Shrinker.t ->
'v Core__ .Quickcheck.Shrinker.t ->
'v t Core__ .Quickcheck.Shrinker.tval t_of_sexp : (Sexplib0__ .Sexp.t -> 'a ) -> Sexplib0__ .Sexp.t -> 'a t val sexp_of_t : ('a -> Sexplib0__ .Sexp.t) -> 'a t -> Sexplib0__ .Sexp.t