Fuzzy.hs

2000-05-12 Thread Wilhelm B. Kloke
Hi, I am trying to reproduce the fuzzy oscillator example by Jan Skibinski. ( http://www.numeric-quest.com/haskell/Fuzzy_oscillator.html ) I am having problems to compile the module Fuzzy.hs. As I am just in an early learning stage, I need help to understand the error. hugs98 e.g. says

Re: Fuzzy.hs

2000-05-12 Thread Jan Skibinski
On Fri, 12 May 2000, Wilhelm B. Kloke wrote: Hi, I am trying to reproduce the fuzzy oscillator example by Jan Skibinski. ( http://www.numeric-quest.com/haskell/Fuzzy_oscillator.html ) I am having problems to compile the module Fuzzy.hs. As I am just in an early learning stage, I need

Re: Fuzzy.hs

2000-05-12 Thread Malcolm Wallace
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

Re: Fuzzy.hs

2000-05-12 Thread Jan Skibinski
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