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

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Apr 22 19:20:40 EDT 2008


On Tue, 2008-04-22 at 23:13 +0000, Chris Smith wrote:
> On Tue, 22 Apr 2008 15:53:39 -0700, Simon Marlow wrote:
> > Tue Apr 22 15:53:31 PDT 2008  Simon Marlow
> > <simonmarhaskell at gmail.com>
> >   * add ""Make $ left associative, like application"
> 
> Is there a justification for this somewhere?  I know it would break 
> nearly every single piece of Haskell code I've ever written.  As such, 
> I'm biased toward thinking it's an extremely bad idea.

Indeed. I think it would at least be worth testing a bunch of packages
from hackage and seeing how many break and when they do, how nice the
fixes are.

Surely there was a justification to having $ be the opposite
associativity from application and not just a different precedence. Does
anyone know what it was?

Duncan



More information about the Haskell-prime mailing list