title: Wrong number of args (0) passed to: PersistentArrayMap for "map"
body: <p>I've obfuscated this code. </p>
  
  <p>Why does this work:</p>
  
  <pre><code>(let [
     items [{:var1 x, :var2  x, :var3 (:something x), :var4 (:something2 x)}]
  
  ;..........
  (my-func items) ; ok
  </code></pre>
  
  <p>whereas this produces an exception:</p>
  
  <pre><code>(let [
     items (map (fn [x] ({:var1 x, :var2 x, :var3 (:something x), :var4 (:something2 x)})) (db/get-items-from-db))
  
      ;..........
      (my-func items) ; error
  </code></pre>
  
  <p>which is </p>
  
  <pre><code> Wrong number of args (0) passed to: PersistentArrayMap
  </code></pre>