Re: prefix operators

2010-07-13 Thread Christian Maeder
Simon Peyton-Jones schrieb: Yes, I somewhat hacked up the rules for ! in an ad-hoc way. I really wanted to allow f !x !y = (x,y) which meant a bit of fiddling, because LHSs are parsed as terms, so this is parsed as (f ! x) ! y (ie as infix operators) and I have to

Re: prefix operators

2010-07-13 Thread Simon Marlow
On 10/07/2010 22:02, John Meacham wrote: On Fri, Jul 09, 2010 at 09:33:52AM +0100, Simon Marlow wrote: On 08/07/2010 09:45, John Meacham wrote: On Thu, Jul 08, 2010 at 07:09:29AM +, Simon Peyton-Jones wrote: (ie as infix operators) and I have to squizzle around to re-interpret them as

Re: prefix minus and infix resolution

2010-07-13 Thread Christian Maeder
Simon Marlow schrieb: BTW, here's a related proposal made by Simon PJ earlier this year: http://hackage.haskell.org/trac/haskell-prime/wiki/NegationBindsTightly please consider merging the proposals, or at least clearly identifying the differences, if any. Thanks for pointing this out.