package base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val empty : ('k, 'cmp, ('k, _, 'cmp) T.t) Options.t
val singleton : ('k, 'cmp, 'k Key.t -> 'v -> ('k, 'v, 'cmp) T.t) Options.t
val of_sorted_array : ('k, 'cmp, ('k Key.t * 'v) array -> ('k, 'v, 'cmp) T.t Or_error.t) Options.t
val of_sorted_array_unchecked : ('k, 'cmp, ('k Key.t * 'v) array -> ('k, 'v, 'cmp) T.t) Options.t
val of_increasing_iterator_unchecked : ('k, 'cmp, len:int -> f:(int -> 'k Key.t * 'v) -> ('k, 'v, 'cmp) T.t) Options.t
val of_increasing_sequence : ('k, 'cmp, ('k Key.t * 'v) Sequence.t -> ('k, 'v, 'cmp) T.t Or_error.t) Options.t
val of_alist : ('k, 'cmp, ('k Key.t * 'v) list -> [ `Ok of ('k, 'v, 'cmp) T.t | `Duplicate_key of 'k Key.t ]) Options.t
val of_alist_or_error : ('k, 'cmp, ('k Key.t * 'v) list -> ('k, 'v, 'cmp) T.t Or_error.t) Options.t
val of_alist_exn : ('k, 'cmp, ('k Key.t * 'v) list -> ('k, 'v, 'cmp) T.t) Options.t
val of_alist_multi : ('k, 'cmp, ('k Key.t * 'v) list -> ('k, 'v list, 'cmp) T.t) Options.t
val of_alist_fold : ('k, 'cmp, ('k Key.t * 'v1) list -> init:'v2 -> f:('v2 -> 'v1 -> 'v2) -> ('k, 'v2, 'cmp) T.t) Options.t
val of_alist_reduce : ('k, 'cmp, ('k Key.t * 'v) list -> f:('v -> 'v -> 'v) -> ('k, 'v, 'cmp) T.t) Options.t
val of_iteri : ('k, 'cmp, iteri:(f:(key:'k Key.t -> data:'v -> unit) -> unit) -> [ `Ok of ('k, 'v, 'cmp) T.t | `Duplicate_key of 'k Key.t ]) Options.t
val of_tree : ('k, 'cmp, ('k Key.t, 'v, 'cmp) Tree.t -> ('k, 'v, 'cmp) T.t) Options.t
OCaml

Innovation. Community. Security.