4 ms·
The first error I noticed in 'Basics': scala> val timesTwo = multiply(2)(_) This should just be multiply(2). Using an underscore misses the point of a curried
by jongraehl 15y ago
The first error I noticed in 'Basics':
scala> val timesTwo = multiply(2)(_)
This should just be multiply(2). Using an underscore misses the point of a curried function. f(_)==f..