package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v2.8.tar.gz
md5=03b80e963186e91ddac62ef645bf7fb2
sha512=c8f434808be540c16926bf03d89f394d33fc2d092f963a7b6d412481229e0a96290f1ad7c7d522415115d35426b7aa0b3fda4b991ddc321dad279d402c9a0c0b
doc/containers.data/CCHashTrie/module-type-S/index.html
Module type CCHashTrie.S
Source
Signature
update k ~f m
calls f (Some v)
if get k m = Some v
, f None
otherwise. Then, if f
returns Some v'
it binds k
to v'
, if f
returns None
it removes k
.
add_mut ~id k v m
behaves like add k v m
, except it will mutate in place whenever possible. Changes done with an id
might affect all versions of the structure obtained with the same id
(but not other versions).
Same as remove
, but modifies in place whenever possible.
Same as update
but with mutability.
Conversions
IO
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page