package base

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

Parameters

module Key : sig ... end

Signature

type ('a, 'b) t_ = ('a Key.t, 'b) t
val t_of_sexp : (Sexp.t -> 'a Key.t) -> (Sexp.t -> 'b) -> Sexp.t -> ('a, 'b) t_
include Hashtbl_intf.Creators with type ('a, 'b) t := ('a, 'b) t_ with type 'a key := 'a Key.t with type ('key, 'data, 'a) create_options := ('key, 'data, 'a) Hashtbl_intf.create_options_without_hashable
val create : ('a Key.t, 'b, unit -> ('a, 'b) t_) Hashtbl_intf.create_options_without_hashable
val of_alist : ('a Key.t, 'b, ('a Key.t * 'b) list -> [ `Ok of ('a, 'b) t_ | `Duplicate_key of 'a Key.t ]) Hashtbl_intf.create_options_without_hashable
val of_alist_report_all_dups : ('a Key.t, 'b, ('a Key.t * 'b) list -> [ `Ok of ('a, 'b) t_ | `Duplicate_keys of 'a Key.t list ]) Hashtbl_intf.create_options_without_hashable
val of_alist_or_error : ('a Key.t, 'b, ('a Key.t * 'b) list -> ('a, 'b) t_ Or_error.t) Hashtbl_intf.create_options_without_hashable
val of_alist_exn : ('a Key.t, 'b, ('a Key.t * 'b) list -> ('a, 'b) t_) Hashtbl_intf.create_options_without_hashable
val of_alist_multi : ('a Key.t, 'b list, ('a Key.t * 'b) list -> ('a, 'b list) t_) Hashtbl_intf.create_options_without_hashable
val create_mapped : ('a Key.t, 'b, get_key:('r -> 'a Key.t) -> get_data:('r -> 'b) -> 'r list -> [ `Ok of ('a, 'b) t_ | `Duplicate_keys of 'a Key.t list ]) Hashtbl_intf.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.t, 'r, get_key:('r -> 'a Key.t) -> 'r list -> [ `Ok of ('a, 'r) t_ | `Duplicate_keys of 'a Key.t list ]) Hashtbl_intf.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.t, 'r, get_key:('r -> 'a Key.t) -> 'r list -> ('a, 'r) t_ Or_error.t) Hashtbl_intf.create_options_without_hashable
val create_with_key_exn : ('a Key.t, 'r, get_key:('r -> 'a Key.t) -> 'r list -> ('a, 'r) t_) Hashtbl_intf.create_options_without_hashable
val group : ('a Key.t, 'b, get_key:('r -> 'a Key.t) -> get_data:('r -> 'b) -> combine:('b -> 'b -> 'b) -> 'r list -> ('a, 'b) t_) Hashtbl_intf.create_options_without_hashable
OCaml

Innovation. Community. Security.