package fmlib
Functional monadic library
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.1.0.tar.gz
sha256=0558665285e4d7691e5a80c90ab05a7acb86c09f03ceef6589f150f6d3574573
md5=fb61f4d6e7233cf8d1d71758e6110c1e
doc/fmlib.fmlib_std/Fmlib_std/Array/index.html
Module Fmlib_std.Array
Source
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.
get arr i
The i
th 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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>