Clojure 的 map-indexed 将为您提供集合中元素的索引列表。 user=> (map-indexed vector "foo") ([0 \f] [1 \o] [2 \o]). 关于clojure - Scala的zipWithIndex的Clojure ...
確定! 回上一頁