summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/boot.clj5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/boot.clj b/src/boot.clj
index 9478262c..5c25db05 100644
--- a/src/boot.clj
+++ b/src/boot.clj
@@ -1065,10 +1065,7 @@ not-every? (comp not every?))
there are fewer than n."
[n coll]
(when (and (pos? n) (seq coll))
- (lazy-cons (first coll)
- (if (= 1 n)
- nil
- (take (dec n) (rest coll))))))
+ (lazy-cons (first coll) (take (dec n) (rest coll)))))
(defn take-while
"Returns a lazy seq of successive items from coll while