Open
Description
This would look like a regular field type annotation for exact sizes (i.e. a::UInt16
), or like e.g. a:3::UInt16
for objects that want to store the lower 3 bits of an UInt16 and want to get that type back out when accessing the field.
Due to the nature of how these objects are stored internally, the types will need to be at least isbitstype
, possibly even isprimitivetype
, as it's unclear whether the padding potentially contained in an isbitstype is legal to observe (I suspect it isn't).
<: Signed
types will need to be at least 2 bits in size, to store the sign bit.
Activity