This right here is really the core of this library.
Representing bits safely is now quite readable!
[ O, I, I, I, O, O, I, O ]
--: List Bit
randomBit : Random.Generator Bit
randomBit =
Random.uniform I [ O ]
fuzz : Fuzz.Fuzzer Bit
fuzz =
Fuzz.oneOfValues [ O, I ]
for an example of using this to represent an Id,
visit the readme
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