I have a function that I'd like to run multiple times, generating a list of the results:
(take 10 (repeatedly #(myfunc))) I realized I could run them in parallel with pmap:
(pmap (fn [_] (myfunc)) (range 10)) But it is a bit untidy. Is there a standard function that lets me do this Something like:
(prun 10 #(myfunc)) ?