[Haskell-cafe] Sugar for function application

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue Mar 23 22:23:29 EDT 2010

On Mar 23, 2010, at 13:39 , Ertugrul Soeylemez wrote:
> code look worse:  layout-style syntactic sugar for function  
> application.
> Here is an example of what it might look like:
>  function $$ anArgument
>              sin (x^2)
>              anotherArgument
>              f $ x + 3

Doesn't layout already do this?

   function arg1

brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100323/28e93f74/PGP.bin

More information about the Haskell-Cafe mailing list