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

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Wed Apr 23 05:08:35 EDT 2008


On Tue, 2008-04-22 at 21:02 -0400, Dan Doel wrote:

> 3) Left associative ($) is consistent with left associative ($!). The right 
> associative version of the latter is inconvenient, because it only allows 
> things to be (easily) strictly applied to the last argument of a function.

What about having ! as a left associative strict apply operator?

f !x !y !z

Isn't there already a proposal along these lines? There is certainly a
proposal to stop using ! for array indexing.

Duncan



More information about the Haskell-prime mailing list