diff --git a/demo/blockexample.dee b/demo/blockexample.dee index 80848ef..764b996 100644 --- a/demo/blockexample.dee +++ b/demo/blockexample.dee @@ -2,7 +2,6 @@ fun <- -> do-something() do-something-else() - foo <- -> bar <- -> baz <- -> @@ -11,8 +10,7 @@ foo <- -> foo() ## Inside foo but not in baz or bar -add <- x -> y -> - return x + y ## Multivariable functions by currying +add <- x -> y -> x + y ## Multivariable functions by currying add(x) ## Returns a _function_ -add(x, y) ## This is equivalent to add(x)(y) \ No newline at end of file +add(x, y) ## This is equivalent to add(x)(y)