Re: zip-comprehension bug

"Sigbjorn Finne" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <005301c2479a$60e34d00$1e32a8c0@sofxp>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.