zip-comprehension bug

Sigbjorn Finne sof@galois.com
Mon, 19 Aug 2002 09:06:29 -0700


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" <Joachim.Laudien@fujitsu-siemens.com>
To: <hugs-bugs@haskell.org>
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