mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-11 13:06:42 +00:00
Merge pull request #44 from marcusnielsen/patch-1
Fix spelling of "two two"
This commit is contained in:
commit
6d8db7fb0a
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ add2(10) // 12
|
||||||
|
|
||||||
## Function Composition
|
## Function Composition
|
||||||
|
|
||||||
> The act of putting two two functions together to form a third function where the the output of one function is the input of the other.
|
> The act of putting two functions together to form a third function where the the output of one function is the input of the other.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
const compose = (f, g) => a => f(g(a)) // Definition
|
const compose = (f, g) => a => f(g(a)) // Definition
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue