Thanks for the info! I should have searched for that on Jira first. I actually
wasn't sure if doc changes typically warrant a Jira , but it looks like it
ended up being more than a doc fix!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to
Should be fixed in Clojure 1.8.0-alpha2 and later, due to this ticket and
its attached patch: http://dev.clojure.org/jira/browse/CLJ-1761
Change was to force run! to return nil always.
Andy
On Mon, Sep 21, 2015 at 2:36 PM, Mike Rodriguez wrote:
> The doc string for clojure.core/run! is:
> "R
The doc string for clojure.core/run! is:
"Runs the supplied procedure (via reduce), for purposes of side
effects, on successive items in the collection. Returns nil"
However, it does not necessarily return nil.
e.g.
(run! #(do (println %) %) [1 2])
1
2
;= 2
It just returns whatever the give