package b0
Software construction and deployment kit
Install
Dune Dependency
Authors
Maintainers
Sources
b0-0.0.2.tbz
sha512=78fd9e53b84cf5d6bf497adaf4b6d7d974134044318639cdfe5e01c7faaa8d987d04769abe3b3b1cbdb937132e21d8723dc185cd3c68433a793278907a8e757e
doc/b0_b00_std/B00_std/List/index.html
Module B00_std.List
Lists.
Stdlib List
include module type of Stdlib.List
Additions
find_map f l
is the first element of l
such that f v
is Some r
or None
otherwise.
Note. Available in 4.10.
concat_map f l
maps l
with f
and concatenates the result. Tail recursive.
Note. Available in 4.10.
val classify :
?cmp_elts:('a -> 'a -> int) ->
?cmp_classes:('b -> 'b -> int) ->
classes:('a -> 'b list) ->
'a list ->
('b * 'a list) list
classify ~cmp_elts ~cmp_classes ~classes els
bins elements els
into classes as determined by classes
. cmp_elts
is used to compare elements and cmp_classes
to compare classes, both default to compare
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page