Capabilities
Last updated
What is Capabilities?
Scala 3 introduces a new feature called "capabilities" as an alternative way to model effects. In short, a capability is an implicit function passed as a parameter. The function that requires a capability as a parameter declares in this way, that it will only work if in its scope is a capability to perform a certain task.
Free resources to learn Capabilities
More in stage 20: Capabilities
Capabilities: common questions
Can I learn Capabilities in Hindi?
This lesson is written in English. Once you sign in, open it in the interactive course and ask the AI tutor to explain Capabilities in Hindi or Hinglish. The tutor answers from this lesson’s own text, so it stays on the syllabus, and it runs on your own Google, OpenAI or Anthropic key.
Is this Capabilities tutorial for beginners?
It is lesson 100 of 165 in the free Scala roadmap, in stage 20, Capabilities. If you are new to Scala, start from stage 1 and come back here in order; if you already know the earlier stages, this lesson stands on its own.