Array notation conventions aside, I think the simple rule that normal application has higher precedence than infix application is a Big Win. Perhaps the committee should have introduced special syntax for arrays, but that was simply not palatable to most of the members, even though it was for lists. Of course, if you really don't like the parens, you can always write your example as: f $ x!i where ($) is defined in the prelude as: infixr 0 $ f $ x = f x (:-) -Paul
- Re: relative precedence of ! and function application jhf
- relative precedence of ! and function application Stephen J Bevan
- Re: relative precedence of ! and function application Paul Hudak
- Re: relative precedence of ! and function application Stephen J Bevan
- Re: relative precedence of ! and function application Warren Burton
- Re: relative precedence of ! and function application jhf
- Re: relative precedence of ! and function application Mark C. Carroll
- Re: relative precedence of ! and function application Gregory Sylvain
