common-lisp.net
/
users/frideau/fare-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d8e484e
)
Rearrange nest slightly, using backquote.
author
Francois-Rene Rideau
<tunes@google.com>
Fri, 5 Oct 2012 02:53:15 +0000 (22:53 -0400)
committer
Francois-Rene Rideau
<tunes@google.com>
Fri, 5 Oct 2012 02:53:15 +0000 (22:53 -0400)
base/macros.lisp
patch
|
blob
|
blame
|
history
diff --git
a/base/macros.lisp
b/base/macros.lisp
index
35ef1c8
..
def74a8
100644
(file)
--- 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 ()