We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 98bb817 + b1cef55 commit d5e421aCopy full SHA for d5e421a
_overviews/scala3-book/domain-modeling-fp.md
@@ -777,7 +777,7 @@ extension (p: Pizza)
777
p.copy(crustType = ct)
778
```
779
In the above code, we define the different methods on pizzas as _extension methods_.
780
-With `extension (p: Pizza)` we say that we want to make the methods available on instances of `Pizza`. The reciever
+With `extension (p: Pizza)` we say that we want to make the methods available on instances of `Pizza`. The receiver
781
in this case is `p`.
782
783
{% endtab %}
0 commit comments