package tezos-lwt-result-stdlib

  1. Overview
  2. Docs
Tezos: error-aware stdlib replacement

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-v12.3.tar.bz2
sha256=296bb5674bc6050afe6330326fbdd0dfc2255d414bfd6b79cc7666ac6b39316d
sha512=c061cd300a9410300851158d77bf8e56ca3c568b0b1161b38305e5b2efdcd9c746d391f832fdb2826f9a1d6babce10a9b764a4b04f5df42699f7314b9863123a

doc/traced_structs/Traced_structs/Structs/Make/Hashtbl/Make_es/index.html

Module Hashtbl.Make_esSource

Parameters

module H : Stdlib.Hashtbl.HashedType

Signature

type key = H.t
type ('a, 'trace) t
val create : int -> ('a, 'trace) t
val clear : ('a, 'trace) t -> unit
val reset : ('a, 'trace) t -> unit
val find_or_make : ('a, 'trace) t -> key -> (unit -> ('a, 'trace) Stdlib.result Lwt.t) -> ('a, 'trace) Stdlib.result Lwt.t
val remove : ('a, 'trace) t -> key -> unit
val find : ('a, 'trace) t -> key -> ('a, 'trace) Stdlib.result Lwt.t option
val mem : ('a, 'trace) t -> key -> bool
val iter_with_waiting_es : (key -> 'a -> (unit, 'trace) Stdlib.result Lwt.t) -> ('a, 'trace) t -> (unit, 'trace) Stdlib.result Lwt.t
val fold_with_waiting_es : (key -> 'a -> 'b -> ('b, 'trace) Stdlib.result Lwt.t) -> ('a, 'trace) t -> 'b -> ('b, 'trace) Stdlib.result Lwt.t
val fold_keys : (key -> 'b -> 'b) -> ('a, 'trace) t -> 'b -> 'b
val fold_promises : (key -> ('a, 'trace) Stdlib.result Lwt.t -> 'b -> 'b) -> ('a, 'trace) t -> 'b -> 'b
val fold_resolved : (key -> 'a -> 'b -> 'b) -> ('a, 'trace) t -> 'b -> 'b
val length : ('a, 'trace) t -> int
val stats : ('a, 'trace) t -> Stdlib.Hashtbl.statistics
Sourceval iter_with_waiting_ep : (key -> 'a -> (unit, 'error Monad.trace) Stdlib.result Lwt.t) -> ('a, 'error Monad.trace) t -> (unit, 'error Monad.trace) Stdlib.result Lwt.t
OCaml

Innovation. Community. Security.