Careless conversion of ByteString
s to numbers.
Documentation
class Num n => Intable b n whereSource
Types that can be read from integer strings. Parses only decimal digits. Signed types can be read from strings that begin with a plus or minus; unsigned types are read from strings consisting solely of decimal digits.
class Num n => Hexable b n whereSource
Types that can be read from hexadecimal strings. Characters that are not
hexadecimal digits are skipped over. One pleasant consequence of this is
that a leading 0x
is simply ignored.
class (Intable b f, Fractional f) => Floatable b f whereSource
Types that can be read from floating point strings. A floating point string is taken to be a string of digits with up to one comma or period mixed in with the digits.