Up – Package index » comby » Library comby.patdiff_kernel » Patdiff_kernel » Format » Style » Mapcomby README Library comby Library comby.camlzip Library comby.configuration Library comby.interactive Library comby.patdiff Library comby.patdiff_kernel Library comby.pipeline Library comby.statistics Sources include Core_kernel.Map_intf.S_plain
with module Key := Key
and module Tree := Tree include Core_kernel.Map_intf.Creators_and_accessors1
with type 'a t := 'a t
with type 'a tree := 'a Tree.t
with type key := Key.t
with type comparator_witness := Key.comparator_witness include Core_kernel.Map_intf.Accessors1
with type 'a t := 'a t
with type 'a tree := 'a Tree.t
with type key := Key.t
with type comparator_witness := Key.comparator_witness include Base.Map.Accessors1
with type 'a t := 'a t
with type 'a tree := 'a Tree.t
with type key := Key.t
with type comparator_witness := Key.comparator_witness Source val add : 'a t -> key :Key.t -> data :'a -> [ `Ok of 'a t | `Duplicate ] Source val add_multi : 'a list t -> key :Key.t -> data :'a -> 'a list t Source val change : 'a t -> Key.t -> f :('a option -> 'a option ) -> 'a t Source val iter : 'a t -> f :('a -> unit) -> unitSource val iteri : 'a t -> f :(key :Key.t -> data :'a -> unit) -> unitSource val iteri_until :
'a t ->
f :(key :Key.t -> data :'a -> Base__.Map_intf.Continue_or_stop.t ) ->
Base__.Map_intf.Finished_or_unfinished.t Source val iter2 :
'a t ->
'b t ->
f :
(key :Key.t ->
data :[ `Left of 'a | `Right of 'b | `Both of 'a * 'b ] ->
unit) ->
unitSource val map : 'a t -> f :('a -> 'b ) -> 'b t Source val fold : 'a t -> init :'b -> f :(key :Key.t -> data :'a -> 'b -> 'b ) -> 'b Source val fold_right : 'a t -> init :'b -> f :(key :Key.t -> data :'a -> 'b -> 'b ) -> 'b Source val fold2 :
'a t ->
'b t ->
init :'c ->
f :
(key :Key.t ->
data :[ `Left of 'a | `Right of 'b | `Both of 'a * 'b ] ->
'c ->
'c ) ->
'c Source val filter : 'a t -> f :('a -> bool) -> 'a t Source val filteri : 'a t -> f :(key :Key.t -> data :'a -> bool) -> 'a t Source val filter_map : 'a t -> f :('a -> 'b option ) -> 'b t Source val filter_mapi : 'a t -> f :(key :Key.t -> data :'a -> 'b option ) -> 'b t Source val partitioni_tf : 'a t -> f :(key :Key.t -> data :'a -> bool) -> 'a t * 'a t Source val partition_tf : 'a t -> f :('a -> bool) -> 'a t * 'a t Source val compare_direct : ('a -> 'a -> int) -> 'a t -> 'a t -> intSource val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> boolSource val to_alist :
?key_order :[ `Increasing | `Decreasing ] ->
'a t ->
(Key.t * 'a ) listSource val merge :
'a t ->
'b t ->
f :
(key :Key.t ->
[ `Left of 'a | `Right of 'b | `Both of 'a * 'b ] ->
'c option ) ->
'c t Source val symmetric_diff :
'a t ->
'a t ->
data_equal :('a -> 'a -> bool) ->
(Key.t * [ `Left of 'a | `Right of 'a | `Unequal of 'a * 'a ] )
Base.Sequence.t Source val fold_symmetric_diff :
'a t ->
'a t ->
data_equal :('a -> 'a -> bool) ->
init :'c ->
f :
('c ->
(Key.t * [ `Left of 'a | `Right of 'a | `Unequal of 'a * 'a ] ) ->
'c ) ->
'c Source val for_all : 'a t -> f :('a -> bool) -> boolSource val for_alli : 'a t -> f :(key :Key.t -> data :'a -> bool) -> boolSource val exists : 'a t -> f :('a -> bool) -> boolSource val existsi : 'a t -> f :(key :Key.t -> data :'a -> bool) -> boolSource val count : 'a t -> f :('a -> bool) -> intSource val counti : 'a t -> f :(key :Key.t -> data :'a -> bool) -> intSource val append :
lower_part :'a t ->
upper_part :'a t ->
[ `Ok of 'a t | `Overlapping_key_ranges ] Source val fold_range_inclusive :
'a t ->
min :Key.t ->
max :Key.t ->
init :'b ->
f :(key :Key.t -> data :'a -> 'b -> 'b ) ->
'b Source val closest_key :
'a t ->
[ `Greater_or_equal_to | `Greater_than | `Less_or_equal_to | `Less_than ] ->
Key.t ->
(Key.t * 'a ) optionSource val binary_search :
'a t ->
compare :(key :Key.t -> data :'a -> 'key -> int) ->
[ `Last_strictly_less_than
| `Last_less_than_or_equal_to
| `Last_equal_to
| `First_equal_to
| `First_greater_than_or_equal_to
| `First_strictly_greater_than ] ->
'key ->
(Key.t * 'a ) optionSource val binary_search_segmented :
'a t ->
segment_of :(key :Key.t -> data :'a -> [ `Left | `Right ] ) ->
[ `Last_on_left | `First_on_right ] ->
(Key.t * 'a ) optioninclude Base.Sexpable.S1 with type 'a t := 'a t Source val t_of_sexp : (Sexplib0__ .Sexp.t -> 'a ) -> Sexplib0__ .Sexp.t -> 'a t Source val sexp_of_t : ('a -> Sexplib0__ .Sexp.t) -> 'a t -> Sexplib0__ .Sexp.t