Zip two lists in clojure into list of concatenated strings
问题 Instead of zip-mapping two lists to get: (zipmap ["a","b","c"] ["c","d","e"]) = {"c" "e", "b" "d", "a" "c"} I want to concatenate the first element of the first list with the first element of the second list and so on to get: ("ce","bd","ac") or in the reverse order. 回答1: You can do that with map . map can take multiple collections, it takes the next element from each collection and passes them into the function passed as the first argument (stopping when one of the collections runs out). So