Up

Module type S

Signature

type t
val __bin_read_t__ : (int -> t) Core.Std.Bin_prot.Read.reader
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
type key
val __bin_read_key__ : (int -> key) Core.Std.Bin_prot.Read.reader
val bin_size_key : key Core.Std.Bin_prot.Size.sizer
val bin_write_key : key Core.Std.Bin_prot.Write.writer
val key_of_sexp : Sexplib.Sexp.t -> key
val sexp_of_key : key -> Sexplib.Sexp.t
type value
val bin_read_value : value Core.Std.Bin_prot.Read.reader
val __bin_read_value__ : (int -> value) Core.Std.Bin_prot.Read.reader
val bin_size_value : value Core.Std.Bin_prot.Size.sizer
val bin_write_value : value Core.Std.Bin_prot.Write.writer
val value_of_sexp : Sexplib.Sexp.t -> value
val sexp_of_value : value -> Sexplib.Sexp.t
val empty : t
val of_alist : (key * value) list -> t
val to_alist : t -> (key * value) list
val of_aarray : (key * value) array -> t
val of_sorted_aarray : (key * value) array -> t
val of_hashtbl : (key, value) Core.Std.Hashtbl.t -> t
val find : t -> key -> value option
val mem : t -> key -> bool
val iteri : t -> f:(key:key -> data:value -> unit) -> unit
val fold : t -> init:'acc -> f:(key:key -> data:value -> 'acc -> 'acc) -> 'acc