| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
BishBosh.Data.Integral
Contents
Description
AUTHOR- Dr. Alistair Ward
DESCRIPTION
- stringToUnsignedDecimal :: Num i => String -> i
Functions
stringToUnsignedDecimal :: Num i => String -> i Source #
- N.B. much faster than the instance of
Readfor the integral type. TODO: compare withreadDec. - N.B. ignores any leading zeroes.
- CAVEAT:
digitToIntthrows an exception if it receives a character which isn't a digit.