This is a second attempt with entire tar archive replaced by
just the problematic source file and interface files, so as to fit within the
40K limit.
----- Original Message -----
From: John
Hughes
Sent: Monday, January 22, 2001 7:49 PM
Subject: Bug, perhaps to do with functional
dependencies? I'm trying to port the attached program from Hugs to GHC, and
don't understand the error message I get.
I'm running a freshly installed GHC under a Swedish version of Windows 98
(however, I reproduced the behaviour under Unix at Chalmers today).
uname -a says:
gcc -v says:
Here's the offending command and output:
There is no file Var.lhs on my machine: I assume it's part of
the source of GHC.
With verbose flag, the output is
What's the behaviour that is wrong, in my opinion? Well,
firstly (and mainly) that the compiler rejects the program at all. Secondly that
the error message refers to a non-existent source file. And thirdly, since when
have non-exhaustive patterns been an error? That's about it!
I have attached a tar archive containing all the files that make up this
example. Pigeon.hs itself is small, but I'm not sure how much of the other files
you need, so I thought it best to send everything.
Grateful for help -- it would be fun to see how much speedup I get from
GHC...!
John Hughes
|
- Re: VB: Bug, perhaps to do with functional dependencies... John Hughes
- Re: VB: Bug, perhaps to do with functional depende... Michael Weber
- RE: VB: Bug, perhaps to do with functional depende... Simon Peyton-Jones