new keyword: infixlr?

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Fri Sep 10 14:54:48 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/10/10 14:13 , Ian Lynagh wrote:
> When first reading the proposal, I thought the idea was to allow the
> compiler to more easily perform optimisations like
>     a+b+c+2+3+d => a+b+c+5+d
> but I guess that wasn't something you were thinking about?

That strikes me as a trivial application of the proposal; in Haskell it's
not clear to me that there's a significant different between the two, thanks
to laziness.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyKfvgACgkQIn7hlCsL25Xt7QCggYY7LvGcj+F8Or91931pPOQR
OlIAoM0BwQt+/+MqDXGhoeIjCoBCnEo6
=Nh7X
-----END PGP SIGNATURE-----


More information about the Haskell-prime mailing list