= 1024" x-on:close-sidebar="sidebar=window.innerWidth >= 1024 && true">
package base
-
base
-
-
base.base_internalhash_types
-
base.caml
-
base.md5
-
base.shadow_stdlib
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val empty : _ t
val of_alist_or_error : (key * 'a) list -> 'a t Or_error.t
val of_sorted_array : (key * 'a) array -> 'a t Or_error.t
val of_increasing_sequence : (key * 'a) Sequence.t -> 'a t Or_error.t
val of_sequence :
(key * 'a) Sequence.t ->
[ `Ok of 'a t | `Duplicate_key of key ]
val of_sequence_or_error : (key * 'a) Sequence.t -> 'a t Or_error.t
val of_sequence_exn : (key * 'a) Sequence.t -> 'a t
val of_sequence_multi : (key * 'a) Sequence.t -> 'a list t
val of_sequence_fold :
(key * 'a) Sequence.t ->
init:'b ->
f:('b -> 'a -> 'b) ->
'b t
val of_sequence_reduce : (key * 'a) Sequence.t -> f:('a -> 'a -> 'a) -> 'a t
val invariants : _ t -> bool
val is_empty : _ t -> bool
val length : _ t -> int
val iter : 'a t -> f:('a -> unit) -> unit
val combine_errors : 'a Or_error.t t -> 'a t Or_error.t
val data : 'a t -> 'a list
val validate : name:(key -> string) -> 'a Validate.check -> 'a t Validate.check
val validatei :
name:(key -> string) ->
(key * 'a) Validate.check ->
'a t Validate.check
val symmetric_diff :
'a t ->
'a t ->
data_equal:('a -> 'a -> bool) ->
(key * [ `Left of 'a | `Right of 'a | `Unequal of 'a * 'a ]) Sequence.t
val for_all : 'a t -> f:('a -> bool) -> bool
val exists : 'a t -> f:('a -> bool) -> bool
val count : 'a t -> f:('a -> bool) -> int
val subrange :
'a t ->
lower_bound:key Maybe_bound.t ->
upper_bound:key Maybe_bound.t ->
'a t
val to_sequence :
?order:[ `Increasing_key | `Decreasing_key ] ->
?keys_greater_or_equal_to:key ->
?keys_less_or_equal_to:key ->
'a t ->
(key * 'a) Sequence.t