[Haskell] newbie question: variable not in scope: "isSpace"
tpledger at ihug.co.nz
Sun Aug 15 00:07:33 EDT 2004
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
to your module.
More information about the Haskell