replicate

fun <A, B> Eval<A>.replicate(n: Int, initial: () -> B, combine: (A, B) -> B): Eval<B>(source)
fun <A> Eval<A>.replicate(n: Int): Eval<List<A>>(source)