Scala 3 — Book
Summary
Language
Info: JavaScript is currently disabled, code tabs will still work, but preferences will not be remembered.
There’s even more to know about methods, including how to:
- Call methods on superclasses
- Define and use by-name parameters
- Write a method that takes a function parameter
- Create inline methods
- Handle exceptions
- Use vararg input parameters
- Write methods that have multiple parameter groups (partially-applied functions)
- Create methods that have type parameters
See the Reference documentation for more details on these features.