Cover page by Cay S. Horstmann

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

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 ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required