What are all the instances of syntactic sugar in Scala?
- by Jackson Davis
I decided to create this question to have a single source for all things syntactic sugar in Scala. I feel these details are some of the things most frustrating to starting users and are hard to search for since most/all of them are purely symbols and are thus hard to search for without knowing the name of the concept.
TODO:
implicit conversions
_ syntax for anonymous functions
Extractors(Unapply/UnapplySeq)
Other things I'm forgetting