package core_kernel
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
core_kernel-v0.16.0.tar.gz
sha256=e37370bad978cfb71fdaf2b1a25ab1506b98ef0b91e0dbd189ffd9d853245ce2
doc/core_kernel.moption/Moption/index.html
Module Moption
Source
A Moption
is a mutable option, like 'a option ref
, but with a more efficient implementation; in particular, set_some
does not allocate.
Source
module Optional_syntax :
Core.Optional_syntax.S1 with type 'a t := 'a t with type 'a value := 'a
Does not check that is_some
before unsafely accessing the stored value
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>