removing ((
This commit is contained in:
parent
85ee1fb1d3
commit
2eb63f6578
1 changed files with 2 additions and 3 deletions
|
|
@ -233,7 +233,7 @@
|
||||||
(fn
|
(fn
|
||||||
([] (rf))
|
([] (rf))
|
||||||
([acc]
|
([acc]
|
||||||
(rf (clj/reduce ((take @n) rf) acc padding-coll)))
|
(transduce (take @n) rf acc padding-coll))
|
||||||
([acc x]
|
([acc x]
|
||||||
(vswap! n dec)
|
(vswap! n dec)
|
||||||
(rf acc x))))))
|
(rf acc x))))))
|
||||||
|
|
@ -441,8 +441,7 @@
|
||||||
(let [[f args] (if (map? xforms-map)
|
(let [[f args] (if (map? xforms-map)
|
||||||
[juxt-map (comp (by-key (map #(% first))) cat)]
|
[juxt-map (comp (by-key (map #(% first))) cat)]
|
||||||
[juxt (map #(% first))])]
|
[juxt (map #(% first))])]
|
||||||
(fn [rf]
|
(reduce (apply f (sequence args xforms-map)))))
|
||||||
((reduce (apply f (sequence args xforms-map))) rf))))
|
|
||||||
([xforms-map coll]
|
([xforms-map coll]
|
||||||
(transduce (transjuxt xforms-map) first coll)))
|
(transduce (transjuxt xforms-map) first coll)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue