aiken_flat/bits
Types
Alias
Bit = Bool
Alias
Bits = List<Bit>
Functions
Helper function for finding Flat Bits
of a generic sum type’s data
constructor. This leverages the Data
type from UPLC for extracting the
Constr
tag.
Not enforced, but only constr_count
values greater than or equal to 1
make sense, with tag
being less than or equal to constr_count - 1
.
constr_count
s less than or equal to 1
yield an empty list, while a
negative tag
leads to infinite recursion.