bytestring-nums-0.3.1: Parse numeric literals from ByteStrings.

Data.ByteString.Nums.Careless.Float

Synopsis

Documentation

point :: Char -> BoolSource

Is this character a decimal point or comma?

lazy_float :: (Intable ByteString f, Fractional f) => ByteString -> fSource

Implementation for lazy Data.ByteString.Lazy.ByteString.

strict_float :: (Intable ByteString f, Fractional f) => ByteString -> fSource

Implementation for strict Data.ByteString.ByteString.

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.

Methods

float :: b -> fSource