Audit other files for desired features
This commit is contained in:
parent
1e2c107c1b
commit
f2b0e38464
@ -2,7 +2,6 @@ fun <- ->
|
|||||||
do-something()
|
do-something()
|
||||||
do-something-else()
|
do-something-else()
|
||||||
|
|
||||||
|
|
||||||
foo <- ->
|
foo <- ->
|
||||||
bar <- ->
|
bar <- ->
|
||||||
baz <- ->
|
baz <- ->
|
||||||
@ -11,8 +10,7 @@ foo <- ->
|
|||||||
|
|
||||||
foo() ## Inside foo but not in baz or bar
|
foo() ## Inside foo but not in baz or bar
|
||||||
|
|
||||||
add <- x -> y ->
|
add <- x -> y -> x + y ## Multivariable functions by currying
|
||||||
return x + y ## Multivariable functions by currying
|
|
||||||
|
|
||||||
add(x) ## Returns a _function_
|
add(x) ## Returns a _function_
|
||||||
add(x, y) ## This is equivalent to add(x)(y)
|
add(x, y) ## This is equivalent to add(x)(y)
|
Loading…
Reference in New Issue
Block a user