[Haskell-cafe] Just for a laugh...
David House
dmhouse at gmail.com
Thu May 31 16:01:27 EDT 2007
On 31/05/07, Andrew Coppin <andrewcoppin at btinternet.com> wrote:
> If you're bored... can you come up with a solution to this?
Try using floatToDigits:
http://haskell.org/ghc/docs/latest/html/libraries/base/Numeric.html#v%3AfloatToDigits
"floatToDigits takes a base and a non-negative RealFloat number, and
returns a list of digits and an exponent."
--
-David House, dmhouse at gmail.com
More information about the Haskell-Cafe
mailing list