It seems Google is not a good place to search Scala syntax. Are there any good places for that, e.g., reserved words like <:
? Thanks
Asked
Active
Viewed 879 times
5

YasserKaddour
- 880
- 11
- 23

zjffdu
- 25,496
- 45
- 109
- 159
-
2There is http://symbolhound.com/ but it seems to be broken right now. It doesn't show search results to me. – kiritsuku Aug 16 '15 at 10:28
-
Good question. Searching for the meaning of some weird operators can be really cumbersome. – TheMP Aug 16 '15 at 12:55
1 Answers
8
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, e.g., 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, e.g.,
++:
gets translated to$plus$plus$colon
(see translation table here). You could search google for, e.g.,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 :(