summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2007-12-03 21:02:39 +0000
committerRich Hickey <richhickey@gmail.com>2007-12-03 21:02:39 +0000
commit787c4c72de28740201f9f86d50341dc1838b742e (patch)
treecc04dc3c8d3ab496688097c3f125afba7977565e /src
parent78a8b5b34276cdffed7498edab4c8ae6cfbdaa83 (diff)
fixed bug in concat with empty colls
Diffstat (limited to 'src')
-rw-r--r--src/boot.clj2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot.clj b/src/boot.clj
index 7860ed00..a67b37f8 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -128,7 +128,7 @@
([x & xs]
(cond
(nil? xs) (seq x)
- (nil? x) (recur (first xs) (rest xs))
+ (nil? (seq x)) (recur (first xs) (rest xs))
:else (lazy-cons (first x) (apply concat (rest x) xs)))))
;;at this point all the support for syntax-quote exists