Fix typo: combines to combine

This commit is contained in:
Rootul Patel 2016-05-31 22:55:19 -04:00
parent 181c17fa5c
commit 9ac6df6cba

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