I was thinking about what the hello-world of Lisp macros is. It might be something like (mac hello (x) `(set ,x t)) This takes one argument and sets it to t. > (hello foo) t > foo t
It seems like it can be done with nothing at all, in the sense that e.g. (pass-args (f g) h i j) could always simply be written as (f g h i j)
-
-
Right, assuming one can remove the parentheses from (f g) without using string manipulation functions. That's what I found interesting about ,@ in backquoted expressions. I guess I made the assumption of run-time modification of the (+) program, otherwise (f g h i j) does the job
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.