There is map-indexed in core as of 1.2. Your example would be: (doseq [[i animal] (map-indexed vector ["dog" "cat" "bird"])] (println i animal)).
確定! 回上一頁