m.invoke() vs. m()

tronicek at fit.cvut.cz tronicek at fit.cvut.cz
Sat Dec 5 04:33:19 PST 2009


Hi,

I noticed a discussion about m.invoke() and m() on Mark Reinhold's blog
and although it is true that if m is in the variable name space, we need
"invoke", if syntax

fun void m(int x);

is adopted, it seems natural to have m in the method name space and then
the "invoke" is not needed.

Z.
-- 
Zdenek Tronicek
FIT CTU in Prague







More information about the closures-dev mailing list