Expression closures - use-cases for shortcut lambda syntax (blocks)

Vassily Gavrilyak gavrilyak at gmail.com
Sun Mar 18 08:47:59 PDT 2007


Correction :-)
> The only place where it doesn't work is type declaration.
should be read as:
It also works nicely with type declarations

So something like this
function map(mapper: (function (_:*, _:uint, _:Object):*), thisObj:Object):Array
will become this
function map(mapper: (_:*, _:uint, _:Object) => *, thisObj:Object):Array

Regards,
Vassily



More information about the Es4-discuss mailing list