Hi, I am a beginner in Clojure, and I have a simple question
Lets say i have a List, composed of Maps. Each Map has a :name and :age
My code is:
(def Person {:nom rob :age 31 } ) (def Persontwo {:nom sam :age 80 } ) (def Persontthree {:nom jim :age 21 } ) (def mylist (list Person Persontwo Personthree))
Now how do i traverse the list. Let's say for example, that i have a given :name. How do i traverse the list to see if any of the Maps :name matches my :name. And then if there is a map that matches, how do i get the index position of that map?
-Thank you