15 Aug
2004
15 Aug
'04
4:07 a.m.
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.