Closed basile-henry closed 6 years ago
The Read instances for Signed, Unsigned, and Index didn't properly work for numbers using more than 64 bits.
Signed
Unsigned
Index
Before:
> read ("0x1" <> Prelude.replicate 16 '0') :: Unsigned 65 0
After:
> read ("0x1" <> Prelude.replicate 16 '0') :: Unsigned 65 18446744073709551616
Thanks!
The Read instances for
Signed
,Unsigned
, andIndex
didn't properly work for numbers using more than 64 bits.Before:
After: