You're viewing version 1.2.0 of arr-impl. The latest stable version of Clojure Core is 1.3.0.
1.2.0 Arrow_down_16x16

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core/protocols.clj:68 top

(def arr-impl
  '(internal-reduce
       [a-seq f val]
       (let [arr (.array a-seq)]
         (loop [i (.index a-seq)
                val val]
           (if (< i (alength arr))
             (recur (inc i) (f val (aget arr i)))
             val)))))
Vars in clojure.core.protocols/arr-impl: < aget alength inc let loop val
Used in 0 other vars

Comments top

No comments for arr-impl. Log in to add a comment.