Syntax...

Vladimir Kirichenko vladimir.kirichenko at gmail.com
Fri Nov 20 17:44:36 PST 2009


Rémi Forax wrote:
> A context sensitive keyword for function type seems easy, something like
> fun int(int) plusOne = #(int x)x+1;

It has gone so far that this:

fun int plusOne(int x) = x + 1;

does not seem an insane idea. It also doesn't contain double type
declaration.


-- 
Best Regards,
Vladimir Kirichenko

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
Url : http://mail.openjdk.java.net/pipermail/closures-dev/attachments/20091121/e33c3501/attachment.bin 


More information about the closures-dev mailing list