What if...
What if there was no lambda in Lisp, but if defun returned the function defined? Wouldn't it be possible to define a macro such as:
(defmacro lambda (args . body)
`(defun ,(gensym) ,args . ,body))
Please excuse the half-Scheme notation.
Exploration of sound, music, code and everything else in between.
What if there was no lambda in Lisp, but if defun returned the function defined? Wouldn't it be possible to define a macro such as:
(defmacro lambda (args . body)
`(defun ,(gensym) ,args . ,body))
Posted by
mystran
at
02:58
0
comments
There hasn't been much of an update here for some time now, and there's a good reason: I've been working on all kinds of stuff most of which is not in the state of offering anybody anything yet.
This might get a bit too technical for this blog, but the latest thing I've been working with is an implementation for a Scheme like language, with some specific design goals:
Posted by
mystran
at
00:04
0
comments
Labels: lambda