Alternative "defun"
Posted: Fri Jul 01, 2011 5:38 am
I am trying to write a macro which works the same as defun - with name as "def"... Can anybody help? I think you can't write a function for this since you need to evaluate the name of the function, eg,
And the other problem is that there need to be multiple optional arguments and the body of the macro.
TIA
Code: Select all
(defmacro def (name parameters body) ?)
TIA