|
|
|
|
|
by p4bl0
4063 days ago
|
|
You should have a look at Kernel, vau-calculus and F-expressions. Kernel merges the notions of first-order functions and macros by having lexically scoped definition of Fexprs which takes their argument by name and also receives the call-site environment so that you can eval the argument in it if needed. I find it a very elegant way of having everything clean, "lambda" does not even have to be a primitive anymore. |
|