package octez-libs
A package that contains multiple base libraries used by the Octez suite
Install
Dune Dependency
Authors
Maintainers
Sources
octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13
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)"
>