File tree 1 file changed +6
-3
lines changed 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3877,7 +3877,8 @@ reduces them without incurring seq initialization"
3877
3877
" Returns a lazy sequence consisting of the result of applying f to 0
3878
3878
and the first item of coll, followed by applying f to 1 and the second
3879
3879
item in coll, etc, until coll is exhausted. Thus function f should
3880
- accept 2 arguments, index and item."
3880
+ accept 2 arguments, index and item. Returns a stateful transducer when
3881
+ no collection is provided."
3881
3882
([f]
3882
3883
(fn [rf]
3883
3884
(let [i (volatile! -1 )]
@@ -4364,7 +4365,8 @@ reduces them without incurring seq initialization"
4364
4365
(concat (map first ss) (apply interleave (map rest ss))))))))
4365
4366
4366
4367
(defn interpose
4367
- " Returns a lazy seq of the elements of coll separated by sep"
4368
+ " Returns a lazy seq of the elements of coll separated by sep.
4369
+ Returns a stateful transducer when no collection is provided."
4368
4370
([sep]
4369
4371
(fn [rf]
4370
4372
(let [started (volatile! false )]
@@ -8246,7 +8248,8 @@ reduces them without incurring seq initialization"
8246
8248
(map #(if-let [e (find smap %)] (second e) %) coll))))
8247
8249
8248
8250
(defn distinct
8249
- " Returns a lazy sequence of the elements of coll with duplicates removed"
8251
+ " Returns a lazy sequence of the elements of coll with duplicates removed.
8252
+ Returns a stateful transducer when no collection is provided."
8250
8253
([]
8251
8254
(fn [rf]
8252
8255
(let [seen (volatile! #{})]
You can’t perform that action at this time.
0 commit comments