ClojureDocs

Nav

Namespaces

repeatedly

clojure.core

Available since 1.0 (source)
  • (repeatedly f)
  • (repeatedly n f)
Takes a function of no args, presumably with side effects, and
returns an infinite (or length n if supplied) lazy sequence of calls
to it