Skip to content
This repository has been archived by the owner on Dec 26, 2020. It is now read-only.

Commit

Permalink
@ghoseb says that mapv is a non-lazy version of map added in Clojure 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
swaroopch committed Jun 4, 2012
1 parent d3157cd commit ac344d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/isbnnetinclj/models/stores.clj
Expand Up @@ -88,7 +88,7 @@
(do
(set-book-in-progress isbn)
(log/debug isbn "Launching fetchers")
(doseq [f (doall (map #(future (fetch-book-data-from-one-store isbn %)) sites))]
(doseq [f (mapv #(future (fetch-book-data-from-one-store isbn %)) sites)]
(deref f))
(swap! book-data-cache assoc-in [isbn :when] (java.util.Date.))
(log/debug isbn "Done")
Expand Down

0 comments on commit ac344d3

Please sign in to comment.