package batteries
A community-maintained standard library extension
Install
Dune Dependency
Authors
Maintainers
Sources
v3.3.0.tar.gz
sha256=40d18485911e343500a5636bbf1d84e2ee32f924fe87e5fd13a37641a4d8f226
md5=fe4da12b678a82faaeda4e58492ea871
doc/batteries.unthreaded/BatEnum/Labels/index.html
Module BatEnum.Labels
Operations on BatEnum
with labels.
This module overrides a number of functions of BatEnum
by functions in which some arguments require labels. These labels are there to improve readability and safety and to let you change the order of arguments to functions. In every case, the behavior of the function is identical to that of the corresponding function of BatEnum
.
val iter : f:('a -> unit) -> 'a t -> unit
val exists : f:('a -> bool) -> 'a t -> bool
val for_all : f:('a -> bool) -> 'a t -> bool
val fold : f:('b -> 'a -> 'b) -> init:'b -> 'a t -> 'b
val iteri : f:(int -> 'a -> unit) -> 'a t -> unit
val foldi : f:(int -> 'a -> 'b -> 'b) -> init:'b -> 'a t -> 'b
val find : f:('a -> bool) -> 'a t -> 'a
val from : f:(unit -> 'a) -> 'a t
val from_while : f:(unit -> 'a option) -> 'a t
val from_loop : init:'b -> f:('b -> 'a * 'b) -> 'a t
val seq : init:'a -> f:('a -> 'a) -> cnd:('a -> bool) -> 'a t
val unfold : init:'b -> f:('b -> ('a * 'b) option) -> 'a t
val init : int -> f:(int -> 'a) -> 'a t
module LExceptionless : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>