Is there a life out of closures?
lambdaway.free.fr
lambdaway.free.fr
The absence of closure is compensated by the possibility to apply these lambdas to any number of values, (less than, equal to or greater than the number of arguments).
Another reason is the ease of implementation and use of these lambdas. Managing the local context by hand is a learning experience. This does not take away the interest of closures, it just puts their importance into perspective.
More in this page http://lambdaway.free.fr/lambdawalks/?view=coding
Thank you for your feedback.
How do you handle scoping of variables, do you have dynamic scope like early lisp?
PS: The web page is not very readable for me because it requires both horizontal and vertical scrolling.
About scope, the point is that there is "no scope", functions are like combinators, isolated in a global context where everything is defined, constants, primitives and user defined functions. You might see http://lambdaway.free.fr/lambdawalks/?view=closure and http://lambdaway.free.fr/lambdawalks/?view=lambda
About readability it's a matter of choice, 1D as in a book or 2D as in spreadsheet, who knows, and you might find more readable this one http://lambdaway.free.fr/lambdawalks/?view=fromroots2canopy.