Using the api documentation of Scala it is obvious how Lists are constructed using the :: Syntax, which refers to a method on Lists.
But the extractor in infix notation for pattern matching as in { case 1 :: 2 :: _ => ??? } would require an object with an unapply method.
So my question is: Where does this undocumented extractor :: come from in Scala?
 
     
    