Safe Haskell | Safe-Infered |
---|
- class Num n => Intable b n where
- int :: b -> n
- lazy_unsigned :: Num n => ByteString -> n
- lazy_signed :: Num a => ByteString -> a
- strict_unsigned :: Num n => ByteString -> n
- strict_signed :: Num a => ByteString -> a
- positive :: Num a => a -> Word8 -> a
- negative :: Num a => a -> Word8 -> a
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.
lazy_unsigned :: Num n => ByteString -> nSource
lazy_signed :: Num a => ByteString -> aSource
strict_unsigned :: Num n => ByteString -> nSource
strict_signed :: Num a => ByteString -> aSource