Skip to main content

lazy-seq

macrov1.7

cljs.core/lazy-seq

Available in:BBCLJCLJS
(lazy-seq [& body])
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.

No examples yet. Be the first to add one!