A.J. Bonnema wrote:

If I use isSpace from the hugs interpretor, it works.

If I use isSpace from a test.hs file I get the error message:
Undefined variable "isSpace"

From ghc I get the error message:
Variable not in scope: "isSpace"

What is wrong?


Hugs automatically imports a few extra things as well as the standard prelude. Try adding the line

   import Data.Char

to your module.


_______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell

Reply via email to