new -fext-core bug (X = zdwX)
Simon Peyton-Jones
simonpj at microsoft.com
Fri Feb 14 09:55:44 EST 2003
This has gone away with my new constructor-naming commit.
Simon
| -----Original Message-----
| From: Hal Daume III [mailto:hdaume at ISI.EDU]
| Sent: 28 November 2002 15:38
| To: Simon Peyton-Jones
| Cc: glasgow-haskell-bugs at haskell.org
| Subject: RE: new -fext-core bug (X = zdwX)
|
| Okay, my bad. Then there's a bug in the core parser, since it doesn't
| accept these. The toplevel 'vdef' non-terminal expects first a qname,
| which is "name" or "mname '.' name". However, according to the lexer,
| name must begin with a lower-case character...should this be changed
so
| that 'vdef' becomes "name" or "mname.name" or "cname" or
"mname.cname"?
|
| - Hal
|
| --
| Hal Daume III
|
| "Computer science is no more about computers | hdaume at isi.edu
| than astronomy is about telescopes." -Dijkstra | www.isi.edu/~hdaume
|
| On Thu, 28 Nov 2002, Simon Peyton-Jones wrote:
|
| >
| > | > Prelude.LT :: Prelude.Ordering = Prelude.zdwLT;
| > | > Prelude.GT :: Prelude.Ordering = Prelude.zdwGT;
| > | > Prelude.EQ :: Prelude.Ordering = Prelude.zdwEQ;
| > |
| > | Except these last three lines are backwards. They should read:
| > |
| > | > Prelude.zdwLT :: Prelude.Ordering = Prelude.LT;
| >
| > Not so, in fact. Check out the commentary:
| >
| >
http://www.cse.unsw.edu.au/~chak/haskell/ghc/comm/the-beast/data-types.h
| > tml
| >
More information about the Glasgow-haskell-bugs
mailing list