package containers
A modular, clean and powerful extension of the OCaml standard library
Install
Dune Dependency
Authors
Maintainers
Sources
containers-3.15.tbz
sha256=92143ceb4785ae5f8a07f3ab4ab9f6f32d31ead0536e9be4fdb818dd3c677e58
sha512=5fa80189d0e177af2302b48e72b70299d51fc36ac2019e1cbf389ff6a7f4705b10089405b5a719b3e4845b0d1349a47a967f865dc2e4e3f0d5a0167ef6c31431
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