You are previewing Scala for the Impatient.

Scala for the Impatient

Cover of Scala for the Impatient by Cay S. Horstmann Published by Addison-Wesley Professional
O'Reilly logo

Chapter 21. Implicits

Topics in This Chapter image

21.1 Implicit Conversions — page 306

21.2 Using Implicits for Enriching Existing Libraries — page 306

21.3 Importing Implicits — page 307

21.4 Rules for Implicit Conversions — page 308

21.5 Implicit Parameters — page 309

21.6 Implicit Conversions with Implicit Parameters — page 310

21.7 Context Bounds — page 311

21.8 Evidence — page 312

21.9 The @implicitNotFound Annotation — page 313

21.10 CanBuildFrom Demystified — page 314

Exercises — page 316

Implicit conversions and implicit parameters are Scala’s power tools that do useful work behind the scenes. In this chapter, you will ...

The best content for your career. Discover unlimited learning on demand for around $1/day.