summaryrefslogtreecommitdiff
path: root/util.lisp
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <matthias@benkard.de>2008-07-26 20:01:29 +0200
committerMatthias Andreas Benkard <matthias@benkard.de>2008-07-26 20:01:29 +0200
commit25fd890df5305b6f6e95ca6524989bf9d41f14bc (patch)
tree178ae78cb427d386cf0e7663f915e0fd10e8894d /util.lisp
parent1117690bf46342f1ab704334d818d07ea0640b9f (diff)
Add a prototype of DESTRUCTURING-BIND.
Diffstat (limited to 'util.lisp')
-rw-r--r--util.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.lisp b/util.lisp
index 13877b2..3a5320d 100644
--- a/util.lisp
+++ b/util.lisp
@@ -194,3 +194,6 @@
(cons (macroexpand-all (car expansion))
(macroexpand-all (cdr expansion))))
object)))
+
+(%defmacro* unless (test . body)
+ `(if (not ,test) (progn ,@body) nil))