We could make the float types special:
float types can have enum-like subtypes, NaN, PInf, NInf, Subnormal, Normal, NegativeZero.
these aren’t real enum variants, but can be matched on as if they are.
We could make the float types special:
float types can have enum-like subtypes, NaN, PInf, NInf, Subnormal, Normal, NegativeZero.
these aren’t real enum variants, but can be matched on as if they are.