Merge pull request #38 from rootulp/master

Fix typo: combines to combine
This commit is contained in:
hemanth.hm 2016-06-01 14:56:35 +05:30
commit 3b297f36cc

View file

@ -78,7 +78,7 @@ curriedSum(40)(2) // 42.
> A function which combines two values of a given type (usually also some kind of functions) into a third value of the same type. > A function which combines two values of a given type (usually also some kind of functions) into a third value of the same type.
The most straightforward type of composition is called "normal function composition". The most straightforward type of composition is called "normal function composition".
It allows you to combines functions that accept and return a single value. It allows you to combine functions that accept and return a single value.
```js ```js
const compose = (f, g) => a => f(g(a)) // Definition const compose = (f, g) => a => f(g(a)) // Definition