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-v10.2.tar.bz2
sha256=6b33e0549574c89a63538c94ce5555dd141e3c0fb5d934abff07d702fa3244d2
sha512=681a197baabec6e2f806871d43490382243207518f8fcf932741cd314d8717e46db2b6a5adc222f8726083a5dd911083b4931b7e878ab815f8f1a32763d1bf93
doc/traced_structs/Traced_structs/Seq_es/Make/index.html
Module Seq_es.Make
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