Why there is a need for anonymous inline functions, with type inference for the arguments and the return value type, without having to write braces, and which can access the variables that are alive at the function definition point
How such lightweight functions, named “closures,” can be declared and invoked
The Need for Disposable Functions
This will print: [0, 1, 4, 7, 8, ...