fix typo in docstring
This commit is contained in:
parent
481a5a3b1e
commit
0422678643
1 changed files with 1 additions and 1 deletions
|
|
@ -331,7 +331,7 @@
|
||||||
acc))))))))
|
acc))))))))
|
||||||
|
|
||||||
(defn reductions
|
(defn reductions
|
||||||
"Transient version of reductions. There's a difference in behavior when init is not provided: (f) is used.
|
"Transducer version of reductions. There's a difference in behavior when init is not provided: (f) is used.
|
||||||
So x/reductions works like x/reduce or transduce, not like reduce and reductions when no init and 1-item input."
|
So x/reductions works like x/reduce or transduce, not like reduce and reductions when no init and 1-item input."
|
||||||
([f] (reductions f (f)))
|
([f] (reductions f (f)))
|
||||||
([f init]
|
([f init]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue