cycle

functionsince v0.0-927 clojure.core/cycleEdit
(cycle coll)

Details:

Returns an infinite lazy sequence of repetitions of the items in coll.


See Also:


Source docstring:
Returns a lazy (infinite!) sequence of repetitions of the items in coll.
Source code @ clojurescript:src/main/cljs/cljs/core.cljs
(defn cycle
  [coll] (if-let [vals (seq coll)]
           (Cycle. nil vals nil vals nil)
           (.-EMPTY List)))