-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/


-- | Parse numeric literals from ByteStrings.
--   
--   Parse numeric literals from ByteStrings.
@package bytestring-nums
@version 0.3.6

module Data.ByteString.Nums.Careless.Hex

-- | 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 <tt>0x</tt> is simply ignored.
class Num n => Hexable b n
hex :: Hexable b n => b -> n
hexalize :: Num n => n -> Word8 -> n
strict_hex :: Num n => ByteString -> n
lazy_hex :: Num n => ByteString -> n
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Double
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Float
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Int
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int16
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int32
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int64
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int8
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Num.Integer.Integer
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Real.Rational
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Word
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word16
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word32
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word64
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word8
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Types.Double
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Types.Float
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Types.Int
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Int.Int16
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Int.Int32
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Int.Int64
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Int.Int8
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Num.Integer.Integer
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Real.Rational
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Types.Word
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Word.Word16
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Word.Word32
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Word.Word64
instance Data.ByteString.Nums.Careless.Hex.Hexable Data.ByteString.Internal.Type.ByteString GHC.Word.Word8

module Data.ByteString.Nums.Careless.Int

-- | 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 => Intable b n
int :: Intable b n => b -> n
lazy_unsigned :: Num n => ByteString -> n
lazy_signed :: Num n => ByteString -> n
strict_unsigned :: Num n => ByteString -> n
strict_signed :: Num n => ByteString -> n
positive :: Num n => n -> Word8 -> n
negative :: Num n => n -> Word8 -> n
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Double
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Float
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Int
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int16
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int32
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int64
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Int.Int8
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Num.Integer.Integer
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Real.Rational
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Word
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word16
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word32
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word64
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Lazy.Internal.ByteString GHC.Word.Word8
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Types.Double
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Types.Float
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Types.Int
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Int.Int16
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Int.Int32
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Int.Int64
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Int.Int8
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Num.Integer.Integer
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Real.Rational
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Types.Word
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Word.Word16
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Word.Word32
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Word.Word64
instance Data.ByteString.Nums.Careless.Int.Intable Data.ByteString.Internal.Type.ByteString GHC.Word.Word8

module Data.ByteString.Nums.Careless.Float

-- | 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.
class (Intable b f, Fractional f) => Floatable b f
float :: Floatable b f => b -> f
strict_float :: Fractional f => ByteString -> f
lazy_float :: Fractional f => ByteString -> f
point :: Char -> Bool
instance Data.ByteString.Nums.Careless.Float.Floatable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Double
instance Data.ByteString.Nums.Careless.Float.Floatable Data.ByteString.Lazy.Internal.ByteString GHC.Types.Float
instance Data.ByteString.Nums.Careless.Float.Floatable Data.ByteString.Lazy.Internal.ByteString GHC.Real.Rational
instance Data.ByteString.Nums.Careless.Float.Floatable Data.ByteString.Internal.Type.ByteString GHC.Types.Double
instance Data.ByteString.Nums.Careless.Float.Floatable Data.ByteString.Internal.Type.ByteString GHC.Types.Float
instance Data.ByteString.Nums.Careless.Float.Floatable Data.ByteString.Internal.Type.ByteString GHC.Real.Rational


-- | Careless conversion of <tt>ByteString</tt>s to numbers, ignoring bytes
--   that aren't hex or decimal digits.
module Data.ByteString.Nums.Careless

-- | 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 => Intable b n
int :: Intable b n => b -> n

-- | 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 <tt>0x</tt> is simply ignored.
class Num n => Hexable b n
hex :: Hexable b n => b -> n

-- | 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.
class (Intable b f, Fractional f) => Floatable b f
float :: Floatable b f => b -> f
