(repeat ..args) args: one or more arguments (any type) returns an iter
F
Returns an iterator which infinitely yields its arguments.
Infinite iterators can be converted to finite iterators using take
.
(prn ..(take 5 (repeat 1 2))) ; prints 1 2 1 2 1