On Tue, 2010-03-23 at 22:23 -0400, Brandon S. Allbery KF8NH wrote:
> 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
>             arg2
>             arg3
> 


As I understend

function $$ sin x
            y
            z
is 
function (sin x) (y)

function sin x
         y
         z
is
function (sin) (x) (y) (z)

function $ sin x
           y
           z
is
function (sin (x) (y) (z))

Regards

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to