Skip to main content

repeatedly

functionv1.0

clojure.core/repeatedly

Available in:BBCLJCLJS
(repeatedly [f] [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

No examples yet. Be the first to add one!