> Alex Ferguson wrote:
> > Ulf Schiller writes:
> > > [...]
> > > I wonder whether there is still a fromInt method available. [...]
> > [...]
> > IIRC, it's now exported (only) from GlaExts.
> 
> Even if Sigbjorn's face will very probably turn red, my suggestion
> is: Simply use `fromIntegral' instead of `fromInt'. It is standard
> Haskell 98 and should make no difference.

Absolutely, and it *should* generate the same code.  At least it did on the
few examples I looked at when I made this change throughout nofib.

Cheers,
        Simon

Reply via email to