Hacker News new | past | comments | ask | show | jobs | submit login

Using lambdas in Java 8 looks pretty much exactly like your example.

The line you quote from the article is about a proposed way of declaring lambda types, where instead of

    private Foo MyMethod(string str, Func<Bar, string, int> func) {
      //...
    }
you could write something like

    private Foo MyMethod(string str, (string,int)->Bar func) {
      //...
    }



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

Search: