Scala 3 — Book



This chapter provides an introduction to most Contextual Abstractions topics, including:

  • Given Instances and Using Clauses
  • Context Bounds
  • Given Imports
  • Extension Methods
  • Implementing Type Classes
  • Multiversal Equality
  • Implicit Conversions

A few more advanced topics aren’t covered here, including:

  • Type Class Derivation
  • Context Functions
  • By-Name Context Parameters
  • Relationship with Scala 2 Implicits

Those topics are discussed in detail in the Reference documentation.

Contributors to this page: