JuliaLang/Iterators.jl — pull request #21 by mk12 (2014-04-05 22:20:49+00:00)
Title: Add repeatedly for repeating a function call

Clojure has a useful lazy sequence function, repeatedly:
http://clojuredocs.org/clojure_core/clojure.core/repeatedly

For example, you could read five integers from standard input with `xs = int(repeatedly(readline, 5))`. To me, this seems much better than `int(map(i -> readline(), 1:5))`.