blob: 84524a7a359416d82a795a7c607c15ee84de9433 (
plain) (
tree)
|
|
object Test {
def coll = new Traversable[String] {
override def foreach[U](f:String=>U) { f("1") }
}
val dropped = coll.view drop 1
def main(args: Array[String]): Unit = {
println(dropped.isEmpty)
println(dropped.force.isEmpty)
}
}
|