programming-clojure icon indicating copy to clipboard operation
programming-clojure copied to clipboard

Update exploring.clj

Open ssisksl77 opened this issue 9 years ago • 0 comments

line56 (defn index-filter [pred coll](when pred %28for [[idx elt] %28indexed coll%29 :when %28pred elt%29] idx%29))

I think that 'when' is not necessary. and I've changed like this.

(defn index-filter [pred coll](for [[idx elt] %28indexed coll%29 :when %28pred elt%29] idx))

please check this out. If I am wrong. I'd be grateful that If you send me an email. [email protected]

ssisksl77 avatar May 14 '16 16:05 ssisksl77