[moved to hugs-users] On Tue, Mar 16, 2004 at 08:03:55AM -0000, Stenio wrote: > I was using Hugs November 2002 and the function fromInt works fine, > but in the version November 2003 the same function doesn�t work. The > same happens with the functions ord and chr. But in this case I find > the solution, chr and ord are in the module Char in version November > 2003 so I have to do : import Char in my Haskell script.
Both these incompatibilities result from the Nov 2003 release being more strictly compliant with Haskell 98: - chr and ord are exported by Char, not (any longer) from Prelude. - fromInt, toInt, etc are no longer exported by the Prelude: use fromIntegral instead. _______________________________________________ Hugs-Users mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/hugs-users
