Re:Java 8 Lambdas
by joegaudet on Sunday June 24, 2012 @02:29PM
(#4153862)
They can't _really_ infer the type. You just have to have one less set of pizzas. It doesn't work like scala's type inference.
[ Parent
| on HN ]
It really does infer the type of the lambda. See Part F of the specification:
http://download.oracle.com/otndocs/jcp/lambda-0_5_1-edr2-spe...