2016-03-03 タプルのSeqでforeach Scala こういう書き方です。 scala> Seq((1,2,3),(4,5,6),(7,8,9)).foreach { case (x,y,z) => println(s"$x $y $z") } 1 2 3 4 5 6 7 8 9