package fmlib
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Functional monadic library
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.2.0.tar.gz
sha256=d47f6539af49a4c3e947dbfbe416c1e78d534897cd6d9d8e3660aae0cf8d9494
md5=d649b8a62403362bd3a24cbf1a9af590
doc/fmlib.fmlib_std/Fmlib_std/Array/index.html
Module Fmlib_std.Array
A thin wrapper around Stdlib.Array
Use Stdlib.Array in case you need functions which are not contained in this module. There are no problems using Std.Array and Stdlib.Array, because both datatypes are identical.
val length : 'a t -> intlength arr The length of the array arr.
val get : 'a t -> int -> 'aget arr i The ith element of the array arr.
Precondition: 0 <= i && i < length [arr]
map f arr Create a new array by mapping all elements of the original array by the function f.
sub arr start len The subarray of arr starting at start with lenght len.
Precondition: 0 <= start && start + len <= length arr
val to_list : 'a t -> 'a listto_list arr Convert the array arr to a list with the same content.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>