package core

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Hashtbl.Make_stable

Parameters

module Key : Key_stable

Signature

include S_binable with type ('a, 'b) hashtbl = ('a, 'b) t with type key = Key.t
include S with type ('a, 'b) hashtbl = ('a, 'b) t with type key = Key.t
include S_plain with type ('a, 'b) hashtbl = ('a, 'b) t with type key = Key.t
type key = Key.t
type ('a, 'b) hashtbl = ('a, 'b) t
include Ppx_compare_lib.Equal.S1 with type 'b t := (key, 'b) hashtbl
val equal : ('a -> 'a -> bool) -> (key, 'a) hashtbl -> (key, 'a) hashtbl -> bool
val sexp_of_t : ('b -> Sexplib0.Sexp.t) -> (key, 'b) hashtbl -> Sexplib0.Sexp.t
type ('a, 'b) t_ = (key, 'b) hashtbl
type 'a key_ = key
val hashable : key Hashable.t
include Base.Invariant.S1 with type 'b t := (key, 'b) hashtbl
val invariant : ('a -> unit) -> (key, 'a) hashtbl -> unit
include Creators with type ('a, 'b) t := ('a, 'b) t_ with type 'a key := 'a key_ with type ('key, 'data, 'z) create_options := ('key, 'data, 'z) create_options_without_hashable
val create : ('a key_, 'b, unit -> ('a, 'b) t_) create_options_without_hashable
val of_alist : ('a key_, 'b, ('a key_ * 'b) list -> [ `Ok of ('a, 'b) t_ | `Duplicate_key of 'a key_ ]) create_options_without_hashable
val of_alist_report_all_dups : ('a key_, 'b, ('a key_ * 'b) list -> [ `Ok of ('a, 'b) t_ | `Duplicate_keys of 'a key_ list ]) create_options_without_hashable
val of_alist_or_error : ('a key_, 'b, ('a key_ * 'b) list -> ('a, 'b) t_ Base.Or_error.t) create_options_without_hashable
val of_alist_exn : ('a key_, 'b, ('a key_ * 'b) list -> ('a, 'b) t_) create_options_without_hashable
val of_alist_multi : ('a key_, 'b list, ('a key_ * 'b) list -> ('a, 'b list) t_) create_options_without_hashable
val create_mapped : ('a key_, 'b, get_key:('r -> 'a key_) -> get_data:('r -> 'b) -> 'r list -> [ `Ok of ('a, 'b) t_ | `Duplicate_keys of 'a key_ list ]) create_options_without_hashable
 create_mapped get_key get_data [x1,...,xn]
   = of_alist [get_key x1, get_data x1; ...; get_key xn, get_data xn] 
val create_with_key : ('a key_, 'r, get_key:('r -> 'a key_) -> 'r list -> [ `Ok of ('a, 'r) t_ | `Duplicate_keys of 'a key_ list ]) create_options_without_hashable
 create_with_key ~get_key [x1,...,xn]
   = of_alist [get_key x1, x1; ...; get_key xn, xn] 
val create_with_key_or_error : ('a key_, 'r, get_key:('r -> 'a key_) -> 'r list -> ('a, 'r) t_ Base.Or_error.t) create_options_without_hashable
val create_with_key_exn : ('a key_, 'r, get_key:('r -> 'a key_) -> 'r list -> ('a, 'r) t_) create_options_without_hashable
val group : ('a key_, 'b, get_key:('r -> 'a key_) -> get_data:('r -> 'b) -> combine:('b -> 'b -> 'b) -> 'r list -> ('a, 'b) t_) create_options_without_hashable
module Provide_of_sexp (Key : sig ... end) : sig ... end
module Provide_bin_io (Key : sig ... end) : sig ... end
include sig ... end
val t_of_sexp : (Sexplib0.Sexp.t -> 'a__002_) -> Sexplib0.Sexp.t -> (key, 'a__002_) hashtbl
include Binable.S1 with type 'v t := (key, 'v) hashtbl
val bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.t
val bin_size_t : ('a, (key, 'a) hashtbl) Bin_prot.Size.sizer1
val bin_write_t : ('a, (key, 'a) hashtbl) Bin_prot.Write.writer1
val bin_read_t : ('a, (key, 'a) hashtbl) Bin_prot.Read.reader1
val __bin_read_t__ : ('a, int -> (key, 'a) hashtbl) Bin_prot.Read.reader1
val bin_writer_t : ('a, (key, 'a) hashtbl) Bin_prot.Type_class.S1.writer
val bin_reader_t : ('a, (key, 'a) hashtbl) Bin_prot.Type_class.S1.reader
val bin_t : ('a, (key, 'a) hashtbl) Bin_prot.Type_class.S1.t
type nonrec 'a t = (key, 'a) hashtbl
val stable_witness : 'a Ppx_stable_witness_runtime.Stable_witness.t -> 'a t Ppx_stable_witness_runtime.Stable_witness.t
OCaml

Innovation. Community. Security.