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.5.1.tar.gz
md5=d3d16ffc960e832a1c0e21b7123194e9
sha512=36c8561079aa9fefc864c2f03bd8ae20aa05987bb67e7a9beac3ab4f440dbf7d44f141c172b05fddb1a5b618fc55a27962bb45fc39bd7b3a15d56e0ed3ff3870
doc/batteries.unthreaded/BatVect/Labels/index.html
Module BatVect.Labels
Operations on BatVect with labels.
This module overrides a number of functions of BatVect 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 BatVect.
val init : int -> f:(int -> 'a) -> 'a tval get : 'a t -> n:int -> 'aval at : 'a t -> n:int -> 'aval destructive_set : 'a t -> n:int -> elem:'a -> unitval iter : f:('a -> unit) -> 'a t -> unitval iteri : f:(int -> 'a -> unit) -> 'a t -> unitval rangeiter : f:('a -> unit) -> m:int -> n:int -> 'a t -> unitval fold_left : f:('b -> 'a -> 'b) -> init:'b -> 'a t -> 'bval fold : f:('b -> 'a -> 'b) -> init:'b -> 'a t -> 'bval reduce : f:('a -> 'a -> 'a) -> 'a t -> 'aval fold_right : f:('a -> 'b -> 'b) -> 'a t -> init:'b -> 'bval foldi : f:(int -> 'b -> 'a -> 'b) -> init:'b -> 'a t -> 'bval for_all : f:('a -> bool) -> 'a t -> boolval exists : f:('a -> bool) -> 'a t -> boolval find : f:('a -> bool) -> 'a t -> 'aval mem : elem:'a -> 'a t -> boolval memq : elem:'a -> 'a t -> boolval findi : f:('a -> bool) -> 'a t -> int sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>