patch applied (haskell-prime-status): add ""Make $ left associative, like application"

John Meacham john at
Wed Apr 23 19:53:14 EDT 2008

On Wed, Apr 23, 2008 at 09:52:11AM -0700, Simon Marlow wrote:
> The problem with this is that
>   f !x y
> would associate differently in an expression than it does on the left hand 
> side of an equation, where ! is the prefix bang-pattern operator. To make 
> this consistent we'd have to make ! a prefix operator in expressions, or 
> give it the same precedence as function application; both mean a new 
> extension.

Hmm.. that is another possible solution to the ~ ! - thing, have ~ and !
be prefix operators in general. with ~ meaning 'negate' in expressions.
then parsing is the same everywhere.


John Meacham - ⑆⑆john⑈

More information about the Haskell-prime mailing list