projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ccd7f9
)
Redefine ATOM
author
David Vázquez
<davazp@gmail.com>
Mon, 6 May 2013 13:09:13 +0000
(14:09 +0100)
committer
David Vázquez
<davazp@gmail.com>
Mon, 6 May 2013 13:10:19 +0000
(14:10 +0100)
src/boot.lisp
patch
|
blob
|
history
diff --git
a/src/boot.lisp
b/src/boot.lisp
index
45bf307
..
78d8d08
100644
(file)
--- a/
src/boot.lisp
+++ b/
src/boot.lisp
@@
-381,6
+381,9
@@
(defun plusp (x) (< 0 x))
(defun minusp (x) (< x 0))
+(defun atom (x)
+ (not (consp x)))
+
(defmacro doseq ((elt seq &optional index) &body body)
(let* ((nseq (gensym "seq"))
(i (or index (gensym "i")))