Some refactoring
[jscl.git] / src / boot.lisp
index d045186..3541b23 100644 (file)
 
 (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))