I need to combine two lists elementwise.
Given two lists that look something like,
(setq qux '("foo" "bar" "baz"))
(setq quux '("xyzzy" "thud" "blat"))
I need to use each corresponding element to form a new list,
("foo:xyzzy" "bar:thud" "baz:blat")
I could create a function that defines each element of the desired list,
(defun combiner (a b)
(format "%s:%s" a b))
but then its not clear how I would pass the base lists in.
Another approach might be to combine the base lists into one, maybe an alist, and then pass that into a combiner function via mapcar. The trouble is, I'm not sure how to combine the two lists elementwise. Thoughts?