How does it relate to currying? When a closure is self invoking (i.e. A function and a reference to that function's outer scope (lexical environment) a lexical environment is.
PILOT'S Releases Santiago de Compostela Airport (LEST) to Previous
The closure object here is the value of the envelope variable and it's use is that it's a param to the each method. I asked a question about currying and closures were mentioned. A closure is a pairing of:
When you create the closure, i is a reference to the variable defined in the outside scope, not a copy of it as it was when you created the closure.