once-only lisp macro, yet another implementation -


I am trying to learn Lissep from Peter Sebel's book "Practical Common Lisp". In, this time I came in the only macro. At the bottom of that page, an implementation is given.

I already tried to apply my own macro for the same purpose, but there was a bug in it as it has been said.

This time I have made another alternative implementation, hopefully I would like to know that my implementation is correct from time to time due to bug fixing.

  (defmacro my-once-only (and the rest of the argument) and the rest of the body) (but (gensym (collect for X in xx for loop (gensym))) ( ) (Loose for X in gensyms for x) (Assemble in AGR (G, X)), Gather (loop for X in Argus (x, G) (x) (Gensym))) () , `, (, X, g))),),),) @),),),),  / former> 


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -