Hi,

What's the most idiomatic way to execute a function in parallel, if we're 
only interested in the side effects of the function ?

Here's an analogy: a newbie could try to use function f in a for, and it's 
possible he would not see the side effects of f because of the lazyness of 
for; in this case we'd instruct him to reach out for doseq.

In my case, is pmap suited for functions with side-effects ? 
Clojuredocs.org suggests I wrap it in doall. Is there a more idiomatic way, 
something like doParallel ?

  [1]: http://clojuredocs.org/clojure_core/clojure.core/pmap

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to