package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65
doc/bare_structs/Bare_structs/Seq_es/index.html
Module Bare_structs.Seq_es
Source
include Bare_sigs.Seq_es.S
with type ('a, 'e) seq_e_t := ('a, 'e) Seq_e.t
and type 'a seq_s_t := 'a Seq_s.t
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 = unit -> (('a, 'e) node, 'e) Stdlib.result Lwt.t
include Seqes.Sigs.SEQMON2ALL
with type ('a, 'e) mon := ('a, 'e) Stdlib.result Lwt.t
with type ('a, 'e) t := ('a, 'e) t
val iter : ('a -> unit) -> ('a, 'e) t -> (unit, 'e) Stdlib.result Lwt.t
val fold_left :
('a -> 'b -> 'a) ->
'a ->
('b, 'e) t ->
('a, 'e) Stdlib.result Lwt.t
val iteri : (int -> 'a -> unit) -> ('a, 'e) t -> (unit, 'e) Stdlib.result Lwt.t
val fold_lefti :
('b -> int -> 'a -> 'b) ->
'b ->
('a, 'e) t ->
('b, 'e) Stdlib.result Lwt.t
val for_all : ('a -> bool) -> ('a, 'e) t -> (bool, 'e) Stdlib.result Lwt.t
val exists : ('a -> bool) -> ('a, 'e) t -> (bool, 'e) Stdlib.result Lwt.t
val find : ('a -> bool) -> ('a, 'e) t -> ('a option, 'e) Stdlib.result Lwt.t
val find_map :
('a -> 'b option) ->
('a, 'e) t ->
('b option, 'e) Stdlib.result Lwt.t
val init : int -> (int -> 'a) -> ('a, 'e) t
val unfold : ('b -> ('a * 'b) option) -> 'b -> ('a, 'e) t
val forever : (unit -> 'a) -> ('a, 'e) t
val iterate : ('a -> 'a) -> 'a -> ('a, 'e) t
val of_dispenser : (unit -> 'a option) -> ('a, 'e) t
val is_empty : ('a, 'e) t -> (bool, 'e) Stdlib.result Lwt.t
val length : ('a, 'e) t -> (int, 'e) Stdlib.result Lwt.t
val empty : ('a, 'e) t
val return : 'a -> ('a, 'e) t
val repeat : 'a -> ('a, 'e) t
val to_dispenser : ('a, 'e) t -> unit -> ('a option, 'e) Stdlib.result Lwt.t
val ints : int -> (int, 'e) t
Source
module E :
Seqes.Sigs.SEQMON2TRANSFORMERS
with type ('a, 'e) mon := ('a, 'e) Stdlib.result Lwt.t
with type ('a, 'e) callermon := ('a, 'e) Stdlib.result
with type ('a, 'e) t := ('a, 'e) t
Source
module S :
Seqes.Sigs.SEQMON2TRANSFORMERS
with type ('a, 'e) mon := ('a, 'e) Stdlib.result Lwt.t
with type ('a, 'e) callermon := 'a Lwt.t
with type ('a, 'e) t := ('a, 'e) t
Source
module ES :
Seqes.Sigs.SEQMON2TRANSFORMERS
with type ('a, 'e) mon := ('a, 'e) Stdlib.result Lwt.t
with type ('a, 'e) callermon := ('a, 'e) Stdlib.result Lwt.t
with type ('a, 'e) t := ('a, 'e) t
val of_seq : 'a Stdlib.Seq.t -> ('a, 'e) t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>