This piece of code returns immediately:
user=> (dorun (pmap + [1 2] [3 4])) nil
However, when I run the same piece of code in the main method using lein:
(ns practice.core) (defn -main [& args] (dorun (pmap + [1 2] [3 4])))
why is he never coming back?
Interestingly, if I replaced pmap with map , it returns normally.
user972946
source share