projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6198cdd
)
NTH-VALUE macro
author
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 00:37:23 +0000
(
02:37
+0200)
committer
David Vázquez
<davazp@gmail.com>
Sun, 23 Jun 2013 00:37:23 +0000
(
02:37
+0200)
src/boot.lisp
patch
|
blob
|
history
diff --git
a/src/boot.lisp
b/src/boot.lisp
index
d045186
..
3541b23
100644
(file)
--- a/
src/boot.lisp
+++ b/
src/boot.lisp
@@
-542,3
+542,8
@@
(defun error (fmt &rest args)
(%throw (apply #'format nil fmt args)))
+
+(defmacro nth-value (n form)
+ `(multiple-value-call (lambda (&rest values)
+ (nth ,n values))
+ ,form))