change "brackets" to "parentheses"
This commit is contained in:
parent
c4ecba5f64
commit
161eec699e
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
For the second brackets to work, the first ones must return a function.
|
For the second parentheses to work, the first ones must return a function.
|
||||||
|
|
||||||
Like this:
|
Like this:
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ importance: 4
|
||||||
|
|
||||||
Write function `sum` that works like this: `sum(a)(b) = a+b`.
|
Write function `sum` that works like this: `sum(a)(b) = a+b`.
|
||||||
|
|
||||||
Yes, exactly this way, via double brackets (not a mistype).
|
Yes, exactly this way, using double parentheses (not a mistype).
|
||||||
|
|
||||||
For instance:
|
For instance:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue