Hi!
I'm a newbie in Clojure and I'm struggling with looping through data in data structures.
I have a list that looks like this : (list1)
([1 (item1 item2 item3)]
[2 (item21 item22 item33)])
And another one that looks like this: (list2)
([1 (rec1 rec2 rec3)]
[2 (rec21 rec22 rec33)])
And the last one is: (list3)
([1 (1 1 3)]
[2 (2 2 3)])
Now, I have to loop into list3 and create a new collection that replaces the 1 (in my list3) by "item1" and replaces the second 1 (in my list3 too) by "rec1" ... and so on for all the vectors in list3...
The three lists have the exact same number of records.
My third list should look like :
([1 (item1 rec1 3)]
[2 (item21 rec22 3])
Any idea how to proceed?