My application starts when I run it in clojure repl or using leiningen repl, but when I create a jar using uberjar and run the application, it only reads the first 2 records of my collection.
I tracked it to pmap, so I made the simplest possible use of pmap, and it became more robust. why is this work
(ns ktest.core (:gen-class)) (defn -main [] (println (pmap identity (range 20))))
but not this
(ns ktest.core (:gen-class)) (defn -main [] (pmap #(println %) (range 20)))
source share