News for hackers. Stuff that matters.
Re:What's a Closure? by fanf2 on Friday August 05, 2011 @10:44PM (#2852774)
There are two kinds of lambda expressions: combinators, which only combine their arguments and make no reference to any other variables; and open functions, which refer to variables that are not bound by the lambda expression.

A closure is an open function paired with an environment that maps the unbound variables to values. The pairing is called a closed function, or the closure of an open function.

There are no comments on this comment yet.