With this in mind, you can use Clojure's reduce-kv function on a vector ... (defn filter-on-index [pred coll] (keep-indexed (fn [i x] (when ...
確定! 回上一頁