logo       

RE: new -fext-core bug (X = zdwX): msg#00059

lang.haskell.glasgow.bugs

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@xxxxxxx
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
>


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise