mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-06 02:26:43 +00:00
Merge pull request #38 from rootulp/master
Fix typo: combines to combine
This commit is contained in:
commit
3b297f36cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
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
|
||||
const compose = (f, g) => a => f(g(a)) // Definition
|
||||
|
|
|
|||
Loading…
Reference in a new issue