Undefined variable bug

John Tromp John.Tromp at cwi.nl
Sat Jan 10 23:33:30 EST 2004


If I load a file Test.hs containing only the line

  tst = isAlpha

into the Feb2001 version of Hugs on RedHat then it works fine, but
when I load it into the up-to-date Nov2003 version on Debian, I get

Prelude> :l Test
ERROR "/Test.hs":1 - Undefined variable "isAlpha"

But isAlpha should be known; I can do

Prelude> :t isAlpha
isAlpha :: Char -> Bool

any ideas why isAlpha becomes unknown in the Nov2003 hugs?

regards,

%!PS                       %  -John Tromp (http://www.cwi.nl/~tromp/)
42 42 scale 7 9 translate .07 setlinewidth .5 setgray/c{arc clip fill
setgray}def 1 0 0 42 1 0 c 0 1 1{0 3 3 90 270 arc 0 0 6 0 -3 3 90 270
arcn 270 90 c -2 2 4{-6 moveto 0 12 rlineto}for -5 2 5{-3 exch moveto
9 0 rlineto}for stroke 0 0 3 1 1 0 c 180 rotate initclip}for showpage


More information about the Hugs-Bugs mailing list