Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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...


ah yes I see what you mean. My bad.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: