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

Functions

Language

Where the previous chapter introduced Scala methods, this chapter digs into functions. The topics that are covered include anonymous functions, function variables, and higher-order functions (HOFs), including how to create your own HOFs.

Contributors to this page: