blob: 090b32d690f6fbc7545d3ca674d2e0eb710d29a3 (
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 = {
}
}
|