mirror of
https://github.com/rjNemo/functional-programming-jargon
synced 2026-06-10 20:46:51 +00:00
correct plural of parenthesis (#68)
This commit is contained in:
parent
4e69ee2adf
commit
6641c2c27c
1 changed files with 1 additions and 1 deletions
|
|
@ -529,7 +529,7 @@ let add = (x) => (y) => x + y
|
||||||
let increment = (x) => x + 1
|
let increment = (x) => x + 1
|
||||||
```
|
```
|
||||||
|
|
||||||
If a function accepts another function as an argument it is wrapped in parenthesis.
|
If a function accepts another function as an argument it is wrapped in parentheses.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// call :: (a -> b) -> a -> b
|
// call :: (a -> b) -> a -> b
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue