Iteration

typeremoved v0.0-2371added v0.0-2301Edit
satisfies IPrintWithWriter IReduce ISeqable ISequential

(Iteration. xform coll)

Source code @ clojurescript:src/cljs/cljs/core.cljs
(deftype Iteration [xform coll]
   ISequential
   
   ISeqable
   (-seq [_] (seq (sequence xform coll)))

   IReduce
   (-reduce [_ f init] (transduce xform f init coll))

   IPrintWithWriter
   (-pr-writer [coll writer opts]
     (pr-sequential-writer writer pr-writer "(" " " ")" opts coll)))