Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.ByteString.Nums.Careless.Float
- class (Intable b f, Fractional f) => Floatable b f where
- strict_float :: Fractional f => ByteString -> f
- lazy_float :: Fractional f => ByteString -> f
- point :: Char -> Bool
Documentation
class (Intable b f, Fractional f) => Floatable b f where Source #
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.
Minimal complete definition
strict_float :: Fractional f => ByteString -> f Source #
lazy_float :: Fractional f => ByteString -> f Source #