Hi there,

thanks for the report. This one has been fixed in the current
sources, but as a workaround for the version of Hugs you're
using, make sure you have an import of 'List' in scope when
evaluating a zip-comp.

 i.e., add "import List" to debruijn.hs, and I reckon you'll be
on your merry way again..

hth
--sigbjorn

make sure you have
----- Original Message -----
From: "Laudien, Joachim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 19, 2002 08:28
Subject: zip-comprehension bug


> Hi,
>
> if I try to use zip-comprehension, it works as long as I do it in a
"fresh" Hugs. As soon as I load anything - it doesn't seem to matter what -
I get
...
> Reading file "D:\Languages\Haskell\\lib\Prelude.hs":
> Reading file "D:\Languages\Haskell\code\debruijn.hs":
...
> Main> [(x,y) | x<-[0,1,2] | y<-[3,4,5]]
> INTERNAL ERROR: translate
> Main>
>
> Kind regards,
> Joachim Wolf Laudien


_______________________________________________
Hugs-Bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/hugs-bugs

Reply via email to