Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Scala school. Parent comment
scala> val timesTwo = multiply(2)(_)
This should just be multiply(2). Using an underscore misses the point of a curried function. f(_)==f..
There are no comments on this comment yet.
scala> val timesTwo = multiply(2)(_)
This should just be multiply(2). Using an underscore misses the point of a curried function. f(_)==f..