Call JOIN without a separator in some callers
authorDavid Vazquez <davazp@gmail.com>
Thu, 27 Dec 2012 02:26:29 +0000 (02:26 +0000)
committerDavid Vazquez <davazp@gmail.com>
Thu, 27 Dec 2012 02:26:29 +0000 (02:26 +0000)
lispstrack.lisp

index 5a23bdb..6150d86 100644 (file)
          (push (mod x 10) digits)
          (setq x (truncate x 10)))
        (join (mapcar (lambda (d) (string (char "0123456789" d)))
-                     digits)
-             "")))))
+                     digits))))))
 
 (defun print-to-string (form)
   (cond
                                              cases)
                                        (incf idx)))
                                    (push (concat "default: break;" *newline*) cases)
-                                   (join (reverse cases) "")))
+                                   (join (reverse cases))))
                           "}" *newline*)
                   "")
               ;; &rest argument
   (let ((code (ls-compile sexp nil nil)))
     (prog1
         (concat (join (mapcar (lambda (x) (concat x ";" *newline*))
-                              *toplevel-compilations*)
-               "")
+                              *toplevel-compilations*))
                 code)
       (setq *toplevel-compilations* nil))))