I have a function that returns a structure that has two fields :: key: event. Field: event is a map (decomposed Java object obtained from the cache). In REPL, I see the return value as a map.
Then I apply, (def events (map #(make-event %) (keys events-cache))) , using the make-event function for each key from the cache, and I want the back map to contain every event map entered by the key.
What I get is this, but inside the list. Therefore, the call of any card functions, search, etc. Throws an error, clojure.lang.LazySeq cannot be attributed to clojure.lang.IFn.
I am sure that I think everything is wrong about this, but is there a way to get a card from the list of cards?
source share