Work in Progress

Scala 3 has not been released, yet. We are still in the process of writing the documentation for Scala 3. You can help us to improve the documentation.

Are you searching for the Scala 2 documentation?

Scala 3 — Book

Summary

Language

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: