4 ms·
Will you be able to return lambdas or just create them as function inputs? (I guess you can write a method which takes an object of interface X and returns it,
by drostie 14y ago
Will you be able to return lambdas or just create them as function inputs? (I guess you can write a method which takes an object of interface X and returns it, but do you have to do this for every interface you want to use, or would there be a universal reify() method? Is there a universal interface which would allow these to be proper first-level functions?)
If there are competing lambda interfaces, does the system fail at compile-time?