"Stenio" <[EMAIL PROTECTED]> writes: > I was using Hugs November 2002 and the function fromInt works fine, > but in the version November 2003 the same function doesn�t work.
I'm too lazy to check the standard, so I'll just assume Hugs was wrong. I think the solution is to use "fromIntegral" instead. GHCi also has "fromInteger", although I'm not quite sure why we need this in addition to "fromIntegral"? (Possibly because it is a member of Num, and it would break too much code to remove it) -kzm -- If I haven't seen further, it is by standing in the footprints of giants _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell
