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

I would rather see syntax to make partial application on arbitrary named or positional slots as ergonomic as possible. How much has that been explored by existing languages?
 help



What I've seen: (A) anonymous functions with placeholders (see above), (B) currying (ML), (C) binding variations defined with the function itself (Scala, I think?).

One approach that I haven't seen yet (maybe some language has it?) is named bindings for arbitrary partial application. I _think_ that would be a little tighter than anonymous functions, but I'd need to see it in action.




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

Search: