for (i <- (0 until n)) yield new Foo()