Point-Free Style: fix js error

according to the way it's used, add should by curried
This commit is contained in:
Ophir LOJKINE 2016-05-29 12:54:46 +04:00
parent b79c730ad6
commit e85202403a

View file

@ -141,7 +141,7 @@ executions with the the same input parameters.
```js
// Given
let map = fn => list => list.map(fn);
let add = (a, b) => a + b;
let add = a => b => a + b;
// Then