Y
Hacker News
new
|
ask
|
show
|
jobs
by
toastal
1309 days ago
Funny example since currying requires no intermediate variable to speak of
someEnumerable |> select doSomething
1 comments
somebody1234
1304 days ago
even funnier when you realize that doesn't even need to be curried so it also works in c#:
someEnumerable.Select(doSomething)
to be fair, i guess doSomething was supposed to be an actual function body instead of a helper function from somewhere else
link