Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on "Useless syntax sugar": Numbered block parameters in Ruby. Parent comment
Partial application (of one arg) takes a function that is of type:
(a, b, c) -> d
a -> (b, c) -> d
a -> b -> c -> d
There are no comments on this comment yet.
Partial application (of one arg) takes a function that is of type:
And makes it: Currying makes it: Ruby’s Proc#curry does magic that mostly lets you pretend its either or something in between.