package batteries
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
A community-maintained standard library extension
Install
dune-project
Dependency
Authors
Maintainers
Sources
v3.2.0.tar.gz
sha256=00f34b9aed4e47f314425b2ca9ceac206f112095a17ea9a7ffa6dac8cfccc492
md5=066051f9a210277710c54ad57c3b9568
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 -> unitval exists : f:('a -> bool) -> 'a t -> boolval for_all : f:('a -> bool) -> 'a t -> boolval fold : f:('b -> 'a -> 'b) -> init:'b -> 'a t -> 'bval iteri : f:(int -> 'a -> unit) -> 'a t -> unitval foldi : f:(int -> 'a -> 'b -> 'b) -> init:'b -> 'a t -> 'bval find : f:('a -> bool) -> 'a t -> 'aval from : f:(unit -> 'a) -> 'a tval from_while : f:(unit -> 'a option) -> 'a tval from_loop : init:'b -> f:('b -> 'a * 'b) -> 'a tval seq : init:'a -> f:('a -> 'a) -> cnd:('a -> bool) -> 'a tval unfold : init:'b -> f:('b -> ('a * 'b) option) -> 'a tval init : int -> f:(int -> 'a) -> 'a tmodule LExceptionless : sig ... end sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>