package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v3.10.tar.gz
md5=050afc34c00ee0ffb1bf545c52d3880f
sha512=ef4c9c27f6e535df070f2ee9e6357f6f9bf4a8a196e3f274bec00d931bbd775f939a7e8b144accc8c4568df6c25b820aaebad6e12b1d444bccb7c8f7b7989bf0
doc/containers.codegen/Containers_codegen/Bitfield/index.html
Module Containers_codegen.Bitfield
Source
Generate efficient bitfields that fit in an integer
Make a new bitfield with the given name.
field_bit ty name
adds a field of size 1
to the bitfield ty
, with name name
. The generate code will provide get/set for a boolean.
field_int ty name ~width
adds a field of size width
to the bitfield with name name
. The accessors will be for integers of width
bits, and the setter might assert that the provided integer fits.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page