projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9511928
)
Remove more unnecessary semicolons
author
David Vazquez
<davazp@gmail.com>
Tue, 18 Dec 2012 00:45:41 +0000
(
00:45
+0000)
committer
David Vazquez
<davazp@gmail.com>
Tue, 18 Dec 2012 00:45:41 +0000
(
00:45
+0000)
lispstrack.lisp
patch
|
blob
|
history
diff --git
a/lispstrack.lisp
b/lispstrack.lisp
index
3809e9f
..
89d6c4c
100644
(file)
--- a/
lispstrack.lisp
+++ b/
lispstrack.lisp
@@
-37,9
+37,13
@@
(join (cdr list) separator)))))
(defun join-trailing (list separator)
- (if (null list)
- ""
- (concat (car list) separator (join-trailing (cdr list) separator))))
+ (cond
+ ((null list)
+ "")
+ ((null (car list))
+ (join-trailing (cdr list) separator))
+ (t
+ (concat (car list) separator (join-trailing (cdr list) separator)))))
(defun integer-to-string (x)
(if (zerop x)