blob: 346c1a644820f6dce0d241a7b56b2dc7a2b2d5a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
object Test {
import scala.collection.mutable._
val s = new Stack[Int]
s ++= List(1,2,3)
s map (_ + 1)
s foreach (_ => ())
def main(args: Array[String]): Unit = {
}
}
|