package core_kernel
Industrial strength alternative to OCaml's standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=fd2b8c6715794df7a810a62b226f53720f211cd344b4afc9fab0498796d6b466
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.
include Core.Invariant.S1 with type 'a t := 'a t
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)"
>