What is the difference between = and := in Scala?
=
:=
I have googled extensively for \"scala colon-equals\", but was unable to find anything de
= performs assignment. := is not defined in the standard library or the language specification. It's a name that is free for other libraries or your code to use, if you wish.