News for hackers. Stuff that matters.
Re:$vau: the ultimate abstraction (2010) [pdf] by kazinator on Friday November 09, 2018 @02:23PM (#18417105)
The evaluate operator would require an environment parameter in order to avoid capture issues in the same way as passing down the lambda.

If you're passing around a piece of code with an environment, you effectively have a lambda already: one that is condemned to slow interpretation.

Without the environment passing for proper referencing semantics, the implementation wouldn't be a correct call-by-name reference; it would not pass Knuth's Man-or-boy test.

https://en.wikipedia.org/wiki/Man_or_boy_test

There are no comments on this comment yet.