diff --git a/base/macros.lisp b/base/macros.lisp index 35ef1c8f9abc11792cd937f0310001212607a8c2..def74a8da2e74fa5aebaf24bbb61160b412587f0 100644 --- a/base/macros.lisp +++ b/base/macros.lisp @@ -534,8 +534,9 @@ shall be declared with a serial dependency in system definitions. (if from-end `(nest ,@things) `(tsen ,@things))) (defmacro nest (&rest things) - (reduce #'(lambda (outer inner) (append outer (list inner))) + (reduce #'(lambda (outer inner) `(,@outer ,inner)) things :from-end t)) + #| Note: in Scheme, you could do (define-syntax nest (syntax-rules ()