This proposal makes sense to me, but I'm only supposed to be fixing
serious bugs in the Haskell 98 definition, not making unforced changes.
So even though this change would be non-invasive and break no programs
I'm reluctant to adopt it. Adding those extra parens is no big deal.
Unless there's a lot of support, I propose to make no change (in H98,
that is).
Simon
| -----Original Message-----
| From: Koen Claessen [mailto:[EMAIL PROTECTED]]
| Sent: 17 January 2001 15:32
| To: The Haskell Mailing List
| Subject: fixity for (\\)
|
|
| Hi all,
|
| The Haskell report defines the fixity of (\\) to be:
|
| infix 5 \\
|
| I propose that it gets the following fixity:
|
| infixl 5 \\
|
| This means that one can write:
|
| as \\ bs \\ cs \\ ds
|
| Which means:
|
| (((as \\ bs) \\ cs) \\ ds)
|
| I think that one less often means the following:
|
| as \\ (bs \\ (cs \\ ds))
|
| /Koen.
|
| --
| Koen Claessen http://www.cs.chalmers.se/~koen
| phone:+46-31-772 5424 mailto:[EMAIL PROTECTED]
| -----------------------------------------------------
| Chalmers University of Technology, Gothenburg, Sweden
|
|
| _______________________________________________
| Haskell mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/haskell
|
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell