@@ -226,14 +226,32 @@ function test1(a, b) {
229−A function taking no arguments would look like this:
229+In the case of a function with no arguments, the parentheses may be omitted, as follows:
231```haskell
231```haskell
232−test2 = \() -> 100
232+test2 = \ -> 100
235which would correspond to the Javascript `function test2() { return 100; }`
235which would correspond to the Javascript `function test2() { return 100; }`
237+Multiple-argument and single-argument syntax can be mixed, as follows:
240+test3 = \a (b, c) d -> a + b + c + d
247+ return function (b, c) {
248+ return function (d) {
249+ return a + b + c + d;
237Functions are applied by providing their arguments inside parentheses:
255Functions are applied by providing their arguments inside parentheses:
239```haskell
257```haskell