So :: exists twice in Scala, once as a name of a class in package scala,
and
again as a method in class List.
The effect of the method :: is to produce an instance of the class scala.::.
So :: exists twice in Scala, once as a name of a class in package scala,
and
again as a method in class List.
The effect of the method :: is to produce an instance of the class scala.::.