Skip to content

Commit b1cef55

Browse files
authored
Update domain-modeling-fp.md
Corrected the word "receiver" which was misspelt as "reciever"
1 parent 98bb817 commit b1cef55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/domain-modeling-fp.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ extension (p: Pizza)
777777
p.copy(crustType = ct)
778778
```
779779
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
780+
With `extension (p: Pizza)` we say that we want to make the methods available on instances of `Pizza`. The receiver
781781
in this case is `p`.
782782

783783
{% endtab %}

0 commit comments

Comments
 (0)