"Mike T. Machenry" <[EMAIL PROTECTED]> writes:

> I recently desided I wanted a bunch function to return
> float instead of Int. [...] I found fromInteger but it
> didn't seem to work on the return value of the cardinality
> function for instance.

Try fromIntegral, which works for Int and Integer, too.

                                               Feri.
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to