On Fri, 12 May 2000, Malcolm Wallace wrote:
> > nhc98 and ghc4.06 show a different message:
> >
> > Fuzzy.hs:188: Variable not in scope: `fromInt'
>
> The function "fromInt" is not part of Haskell'98. Replace its sole use
> with "fromIntegral", and the module compiles just fine with nhc98.
>
> Regards,
> Malcolm
>
Until original Fuzzy.hs is upgraded I will temporarily host
its modified version in Fuzzy_oscillator directory. See:
www.numeric-quest.com/haskell/oscillator/Fuzzy_oscillator.html
Two changes were required: the first is mentioned by Malcolm
(for Nhc and Ghc) and the second relates to Show (for Hugs).
I upgraded Fuzzy_oscillator (upgraded reference to
the original location of Fuzzy.hs, importing GD
instead of Gif, regenerated pictures in PNG format,
changes to plotting functions) and GD modules as
well. The latter had the same "fromInt" problem.
Function "fromInt" is still being accepted by Hugs98
though.
Jan