Scala 3 — Book

Functions

Language
Info: JavaScript is currently disabled, code tabs will still work, but preferences will not be remembered.

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

Contributors to this page:

Contents

AltStyle によって変換されたページ (->オリジナル) /