lazy-seq

macrosince v0.0-927 clojure.core/lazy-seqEdit
(lazy-seq & body)

Details:

Returns a new lazy sequence.


See Also:


Source docstring:
Takes a body of expressions that returns an ISeq or nil, and yields
a ISeqable object that will invoke the body only the first time seq
is called, and will cache the result and return it on all subsequent
seq calls.
Source code @ clojurescript:src/main/clojure/cljs/core.cljc
(core/defmacro lazy-seq
  [& body]
  `(new cljs.core/LazySeq nil (fn [] ~@body) nil nil))