package tezos-lwt-result-stdlib

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

In Lwtreslib, like in the Stdlib, the Hashtbl module exports mainly functors to instantiate hashtables with known-type keys. As a result, the bulk of the documentation for hashtables is located within the module types returned by the functors: in Bare_functor_outputs.Hashtbl.

Note the presence of Make_es which deviates from the Stdlib to provide specialised convenience for tables of elements the initialisation of which may take time and may fail.

val hash : 'a -> int
val seeded_hash : int -> 'a -> int
val hash_param : meaningful:int -> total:int -> 'a -> int
val seeded_hash_param : meaningful:int -> total:int -> int -> 'a -> int
module Make (H : Hashtbl.HashedType) : S with type key = H.t
module Make_es (H : Hashtbl.HashedType) : S_ES with type key = H.t