repeatedly
has an arity for limiting the number of repeats with take
.
Examples:
; bad (take 5 (repeatedly (range 10))
; good (repeatedly 5 (range 10))
`repeatedly` has an arity for limiting the number of repeats with `take`. Examples: ; bad (take 5 (repeatedly (range 10)) ; good (repeatedly 5 (range 10))
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close