title: Converting a list back to a map of maps
body: <p>I have a function that returns a struct that has two fields, :key :event. The :event field is a map (decomposed Java object retrieved from a cache). In the REPL, I see the return value as a map. </p>
  
  <p>I then apply, <code>(def events (map #(make-event %) (keys events-cache)))</code>, applying the make-event function for each key from the cache, and want a map back containing each event map keyed by key. </p>
  
  <p>What I get back is that, but inside a list. So calling any map functions, to search etc., throws an error, <em>clojure.lang.LazySeq cannot be cast to clojure.lang.IFn</em>.</p>
  
  <p>I'm sure I'm thinking about this all wrong, but is there a way to pull the map of maps from the list?</p>