Where can I find a list of scala's "magic" functions, such as apply
, unapply
, update
, +=
etc? By magic-functions I mean functions which are used by some syntactic sugar of the compiler, for example
o.update(x,y) <=> o(x) = y
I googled for some combination of scala
magic
and synonyms of functions
but didn't find anything.
update: I thought that it goes without saying, but since someone has mistaken I'll clarify. I'm not interested with the usage of magic functions in the standard library, but in which magic functions exists.