Haskell 98 Report possible errors, part one

Simon Peyton-Jones simonpj@microsoft.com
Mon, 23 Jul 2001 06:20:06 -0700


| 3. A precedence table says that case (rightwards) has higher=20
| precedence than operators and right associativity. If it's=20
| meaningful to talk about precedence of such syntactic=20
| constructs as case at all, it should probably be told to have=20
| a lower precedence, so "case x+1 of ..." is valid as "case=20
| (x+1) of ...". At least I don't see a difference between=20
| "case" (rightwards) and "if" (rightwards). I'm not sure if it=20
| makes sense to explain parsing of "case" in terms of precedence.

I can't make head or tail of what Table 1 (Section 3, beginning) is
trying to say.   It claims to be an "aid to understanding the grammar",
but it seems downright confusing to me.

Proposal: remove Table 1 and its associated paragraph.

Does anyone like it?=20

Simon