Is there a stdlib function like `repeat()` but tha...
# getting-started
k
Is there a stdlib function like
repeat()
but that returns the result as a collection? to the effect like
(0..i).map() { foo() }
?
e
Copy code
List(n) { foo() }
k
oh cool, didn't know about that one!
c
It also works with
Array
:)