Processing pairs of values from two sequences in Clojure
clojure, python, zip
Solution
Another way is to simply use map together with some function that collects its arguments in a sequence, like this:
user=> (map vector '(1 2 3) "abc")
([1 \a] [2 \b] [3 \c])
Problem
I'm trying to get into the Clojure community. I've been working a lot with Python, and one of the features I make extensive use of is the zip() method, for iterating over pairs of values. Is there a (clever and short) way of achieving the same in Clojure?