Redefine ATOM
authorDavid Vázquez <davazp@gmail.com>
Mon, 6 May 2013 13:09:13 +0000 (14:09 +0100)
committerDavid Vázquez <davazp@gmail.com>
Mon, 6 May 2013 13:10:19 +0000 (14:10 +0100)
src/boot.lisp

index 45bf307..78d8d08 100644 (file)
 (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")))