package tezos-lwt-result-stdlib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Tezos: error-aware stdlib replacement
Install
dune-project
Dependency
Authors
Maintainers
Sources
tezos-v12.3.tar.bz2
sha256=296bb5674bc6050afe6330326fbdd0dfc2255d414bfd6b79cc7666ac6b39316d
sha512=c061cd300a9410300851158d77bf8e56ca3c568b0b1161b38305e5b2efdcd9c746d391f832fdb2826f9a1d6babce10a9b764a4b04f5df42699f7314b9863123a
doc/traced_structs/Traced_structs/Seq_es/Make/index.html
Module Seq_es.MakeSource
Parameters
module Monad : Traced_sigs.Monad.Smodule Seq_e : Traced_sigs.Seq_e.Smodule Seq_s : Traced_sigs.Seq_s.S with type 'error trace := 'error Monad.traceSignature
This is similar to Seq.S.t but the suspended node is a promised result.
Similarly to Seq_e, sequences of this module can be interrupted by an error. In this case, traversal has fully applied to the successful prefix before the returned promise evaluates to Error _.
and ('a, 'e) t = ('a, 'e) Bare_structs.Seq_es.tval empty : ('a, 'e) tval nil : ('a, 'e) nodeval return : 'a -> ('a, 'e) tval return_e : ('a, 'e) Stdlib.result -> ('a, 'e) tval return_s : 'a Lwt.t -> ('a, 'e) tval return_es : ('a, 'e) Stdlib.result Lwt.t -> ('a, 'e) tval interrupted : 'e -> ('a, 'e) tval interrupted_s : 'e Lwt.t -> ('a, 'e) tval first : ('a, 'e) t -> ('a, 'e) Stdlib.result option Lwt.tval fold_left :
('a -> 'b -> 'a) ->
'a ->
('b, 'e) t ->
('a, 'e) Stdlib.result Lwt.tval fold_left_e :
('a -> 'b -> ('a, 'e) Stdlib.result) ->
'a ->
('b, 'e) t ->
('a, 'e) Stdlib.result Lwt.tSee Seq_e.fold_left_e for a warning about traversal and interruption errors being indistinguishable. This applies to all _e and _es functions of this module.
val fold_left_s :
('a -> 'b -> 'a Lwt.t) ->
'a ->
('b, 'e) t ->
('a, 'e) Stdlib.result Lwt.tval fold_left_es :
('a -> 'b -> ('a, 'e) Stdlib.result Lwt.t) ->
'a ->
('b, 'e) t ->
('a, 'e) Stdlib.result Lwt.tval iter : ('a -> unit) -> ('a, 'e) t -> (unit, 'e) Stdlib.result Lwt.tval iter_e :
('a -> (unit, 'e) Stdlib.result) ->
('a, 'e) t ->
(unit, 'e) Stdlib.result Lwt.tval iter_s : ('a -> unit Lwt.t) -> ('a, 'e) t -> (unit, 'e) Stdlib.result Lwt.tval iter_es :
('a -> (unit, 'e) Stdlib.result Lwt.t) ->
('a, 'e) t ->
(unit, 'e) Stdlib.result Lwt.tval unfold : ('b -> ('a * 'b) option) -> 'b -> ('a, 'e) tval unfold_s : ('b -> ('a * 'b) option Lwt.t) -> 'b -> ('a, 'e) tval unfold_e : ('b -> (('a * 'b) option, 'e) Stdlib.result) -> 'b -> ('a, 'e) tval unfold_es :
('b -> (('a * 'b) option, 'e) Stdlib.result Lwt.t) ->
'b ->
('a, 'e) tval of_seq : 'a Stdlib.Seq.t -> ('a, 'e) tval of_seq_s : 'a Lwt.t Stdlib.Seq.t -> ('a, 'e) tval of_seq_e : ('a, 'e) Stdlib.result Stdlib.Seq.t -> ('a, 'e) tval of_seq_es : ('a, 'e) Stdlib.result Lwt.t Stdlib.Seq.t -> ('a, 'e) t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page