What does a single apostrophe mean in Scala? [duplicate]

It indicates a Symbol. Eg. cfr http://www.scala-lang.org/docu/files/api/scala/Symbol.html :

the Scala term ‘mysym will invoke the constructor of the Symbol class in the following way: Symbol(“mysym”).

Leave a Comment