Am getting the subject error when trying to do a simple thread macro.
Keyword defines
(def entityType (keyword "name"))
(def entityURI (keyword "uri"))
I have the following 'lazy' sequence:
(def m1
(({:uri "...#OWLClass_82601afd_b43d_43b4_94fe_2836f40009ca", :name "foo"}
{:uri "...#OWLClass_8c6759f0_a165_4a09_a9d8_2603bb106fc6", :name "bar"}))
Here is the REPL thread:
(->> (first m1)
(map (fn [rec] (rec entityType))))
And the resulting error:
IllegalArgumentException Key must be integer clojure.lang.APersistentVector.invoke (APersistentVector.java:265)
Anyone with any insight?