reserved words, keywords, operators?

It seems Google is not a good place to search Scala syntax. Are there any good places for that, eg, reserved words like <: ? Thanks


  • A good starting point may be the Finding symbols FAQ at scala-lang.org. Common operators used in standard classes be found in this operator cheat sheet (although the cheat sheet doesn't include symbols like <: ).

  • You can also try Scala reference. It is a PDF that you can fulltext-search for strings like <: , although the reference documentation is a bit complex.

  • Then there are are some interesting question here on SO, eg, Scala punctuation, or all uses of underscores.

  • Symbolhound.com is a search engine that doesn't ignore special characters. It can point you in the right direction, often here to Stack Overflow.

  • Finally, Scala translates some symbols in method names to be compatible with JVM, eg, ++: gets translated to $plus$plus$colon (see translation table here). You could search google for, eg, site:scala-lang.org $colon$colon . this seems to locate only object/class names, though.
  • PS: I also checked if you really can't ask Google: seems you can't :(

    链接地址: http://www.djcxy.com/p/72842.html

    上一篇: 规范的Scala'运营商'列表

    下一篇: 保留字,关键字,运营商?