clojure.core/iterate¶
Returns a lazy (infinite!) sequence of x, (f x), (f (f x)) etc. f must be free of side-effects
Examples¶
See also¶
- clojure.core/cycle (2)
- clojure.core/repeatedly (3)
- clojure.core/repeat (2)
- clojure.core/take (3)
- clojure.core/nth (1)
- clojure.core/iteration
Content from the matching ClojureDocs page, with authors credited on each contribution.