If there is one feature that makes Scala “Scala”, I would pick implicits. – Martin Odersky
implicit modifier can be passed to implicit parameters and used as implicit conversionsimplicit is an illegal modifier for top-level objectsAn implicit conversion from type A to type B is defined by an implicit value that has a type signature S => T or (=> S) => T
implicitbecomes
Applicability: - Type classes - Context and config - Dependency injection - Proving theorems - …
:implicits-Xprint:typer@implicitNotFoundOrdering example