RangeIterator

typesince v0.0-2371 clojure.lang/RangeIteratorEdit
(RangeIterator. i end step)

Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(deftype RangeIterator [^:mutable i end step]
  Object
  (hasNext [_]
    (if (pos? step)
      (< i end)
      (> i end)))
  (next [_]
    (let [ret i]
      (set! i (+ i step))
      ret)))