package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
v3.11.tar.gz
md5=897b5af970ba48508a2ee001d90e8869
sha512=d4bf1219cc32017d6dee1462c9a6c555e3da833512cdc6e176a92e3a229497734cf6bc0cf2c2abd30183de860858468115c000c719742162e78080074149d317
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