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 a high-level introduction to functional programming in Scala. The topics covered are:

  • What is functional programming?
  • Immutable values
  • Pure functions
  • Functions are values
  • Functional error handling

As mentioned, functional programming is a big topic, so all we can do in this book is to touch on these introductory concepts. See the Reference documentation for more details.

Contributors to this page: