parent
9ff4f34e44
commit
32a4e9b9bd
|
@ -11,5 +11,5 @@
|
||||||
(:file "lol")
|
(:file "lol")
|
||||||
(:file "kutils")
|
(:file "kutils")
|
||||||
(:file "kutils-hash-tables")
|
(:file "kutils-hash-tables")
|
||||||
(:file "macros.lisp")))
|
(:file "macros")))
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;;; Various utility macros.
|
;;; Various utility macros.
|
||||||
|
|
||||||
(defmacro when (bindings &body body)
|
(defmacro whenlet (bindings &body body)
|
||||||
"Evaluate the bindings in a let form; if they all evaluate to T,
|
"Evaluate the bindings in a let form; if they all evaluate to T,
|
||||||
evaluate @c(body) in an implicit @c(progn)."
|
evaluate @c(body) in an implicit @c(progn)."
|
||||||
(let ((bindings (if (listp (first bindings)) bindings (list bindings))))
|
(let ((bindings (if (listp (first bindings)) bindings (list bindings))))
|
||||||
|
|
Loading…
Reference in New Issue