Using functions from package haskell98 - GHC 5.04

Marco van Roshum mvroshum@foqus-ict.com
Tue, 22 Oct 2002 10:56:04 +0200


Hi,

I'm using ghc version 5.04 and I'm having a problem using functions from =
standard
packages like "base" and "haskell98"

For example
In my program, I use the function "isDigit", which is part of =
haskell98.Data.Char

When compiling my program, I get the error: Variable not in scope: =
isDigit.
The same error occurs when I explicitly use the package haskell98 as in =
the following
command-line.

"ghc program.hs -package lang -package haskell98 -package data -fasm =
-fglasgow-exts -fallow-undecidable-instances  -O2 --make -o program.exe"


When trying to load this program in Hugs, there is nog problem at all.

Am I doing something wrong, or is this a bug in ghc?


Marco