[Haskell-cafe] Re: How to convert number types.

Achim Schneider barsoap at web.de
Mon Dec 31 12:44:53 EST 2007

"L.Guo" <leaveye.guo at gmail.com> wrote:

> What should I do then ?
Use fromIntegral.
In general, conversion functions are conventionally named fromXXX, and
not toXXX, to emphasise functionality somewhat when using them.

(c) this sig last receiving data processing entity. Inspect headers for
past copyright information. All rights reserved. Unauthorised copying,
hiring, renting, public performance and/or broadcasting of this
signature prohibited. 

More information about the Haskell-Cafe mailing list