Chapter9: Closures by ia7ck · Pull Request #9 · ia7ck/monkey-compiler-rs

>> let newAdder = fn(x) { return fn(y) { x + y } }; >> let addTwo = newAdder(2); >> addTwo(10); 12