可能重複:
Understanding the tilde in Scala’s parser combinators是什麼〜斯卡拉嗎?
我看到這個play2 tutorial如下:
val task = {
get[Long]("id") ~
get[String]("label") map {
case id~label => Task(id, label)
}
}
什麼是~
是什麼意思? (搜索在谷歌~
未返回任何內容)。 以及爲什麼它似乎是在第一線的末端,然後它似乎連接兩個屬性?
使用[symbolhound](http://symbolhound.com/)查找類似的東西。 –