>>787
val n = 1
n match {
 case m if 2 > m => println("1")
 case x => println(x)
}
こういうことがやりたいのか?
下のx: 10は何がしたいのか全く分からん