NOTE: the latest version is 10.1.1
A primitive: the single bit
One of 2 states:
I
O
This right here is really the core of this library. Representing bits safely is now quite readable!
ArraySized.l8 O I I I O O I O --: ArraySized Bit (In (Up8 minX_) (Up8 maxX_))
for an example of using this to represent an Id, visit the readme
Id
Uniform Random.Generator for either I or O
Random.Generator
Uniform Fuzzer for either I or O
Fuzzer
N
n0 → O, n1 → I
n0
n1
Convert O to n0, I to 1. N (In (Up0 minX_) (Up1 maxX_)) means that the result will be between 0 & 1
1
N (In (Up0 minX_) (Up1 maxX_))
toInt = Bit.toN >> N.toInt
Switch O ↔ I. Often called the NOT operator
I'll be happy to add or merge more stuff! Just open an issue or a PR
One of 2 states:
IOThis right here is really the core of this library. Representing bits safely is now quite readable!
for an example of using this to represent an
Id, visit the readme