I\'ve just seen this case class in the Scala actors package:
actors
case class ! [a](ch: Channel[a], msg: a)
And in the JavaDoc it de
When doing pattern matching, the Scala compiler will interpret o1 c1 o2 the same as c1(o1, o2). That's why :: works inside pattern matches too.
o1 c1 o2
c1(o1, o2)
::