diff --git a/README.md b/README.md index 68d4226..a7629ce 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Transducing context: `transjuxt` (for performing several transductions in a sing Add this dependency to your project: ```clj -[net.cgrand/xforms "0.5.0"] +[net.cgrand/xforms "0.5.1"] ``` ```clj diff --git a/project.clj b/project.clj index 2e85ce0..cc62094 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject net.cgrand/xforms "0.5.0" +(defproject net.cgrand/xforms "0.5.1" :description "Extra transducers for Clojure" #_#_:url "http://example.com/FIXME" :license {:name "Eclipse Public License" diff --git a/src/net/cgrand/xforms.clj b/src/net/cgrand/xforms.clj index 3c6bca7..50fa823 100644 --- a/src/net/cgrand/xforms.clj +++ b/src/net/cgrand/xforms.clj @@ -278,7 +278,7 @@ (if (zero? b) ; this transduce may return a reduced because of mxrf wrapping reduceds coming from rf (let [acc (transduce xform mxrf acc dq)] - (dotimes [_ (min n step)] (.poll dq)) + (dotimes [_ (clj/min n step)] (.poll dq)) (vswap! barrier + step) acc) acc)))))))