What are all the instances of syntactic sugar in Scala?

Posted by Jackson Davis on Stack Overflow See other posts from Stack Overflow or by Jackson Davis
Published on 2010-04-18T16:32:20Z Indexed on 2010/04/18 16:43 UTC
Read the original article Hit count: 446

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about scala

Related posts about syntactic-sugar