package containers-data
A set of advanced datatypes for containers
Install
Dune Dependency
Authors
Maintainers
Sources
v3.6.tar.gz
md5=6d29c36329a02608531babb11e08b6f4
sha512=ebf4c682bc43ed344edbbcfd40777d829cd0cb85a9b1381e38a89e4d9567dc6e1207667716eeb78140774a5ac49132f3f29a14f037147ed64a8952eec75aa6c8
doc/containers-data/CCIntMap/index.html
Module CCIntMap
Source
Map specialized for Int keys
status: stable
equal ~eq a b
checks whether a
and b
have the same set of pairs (key, value), comparing values with eq
.
Total order between maps; the precise order is unspecified.
Filter-map values using the given function
Source
val merge :
f:(int -> [ `Left of 'a | `Right of 'b | `Both of 'a * 'b ] -> 'c option) ->
'a t ->
'b t ->
'c t
merge ~f m1 m2
merges m1
and m2
together, calling f
once on every key that occurs in at least one of m1
and m2
. if f k binding = Some c
then k -> c
is part of the result, else k
is not part of the result.
Whole-collection operations
IO
Helpers
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page