I'm writing some unit tests for PS functions and want to be able to
report the test expressions that fail. &whole is perfect for this. But it doesn't quite behave as expected.<br><br>In Lisp:<br><br> (defmacro lisp-blah (x y &whole w) w)<br> (macroexpand-1 '(lisp-blah 10 20)) => (LISP-BLAH 10 20)
<br><br>In Parenscript:<br><br> (defpsmacro ps-blah (x y &whole w) w)<br> (ps::ps-macroexpand '(ps-blah 10 20)) => (10 20)<br><br>Also, if you do this:<br><br> (defmacro/ps blah (x y &whole w) w)<br><br>
then the following expression hangs:<br><br> (ps::ps-macroexpand '(blah10 20))<br><br>Daniel<br>