Skip to content

fix a typo in FP Modeling chapter #2660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _overviews/scala3-book/domain-modeling-fp.md
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ implicit class PizzaOps(p: Pizza) {
```
In the above code, we define the different methods on pizzas as methods in an _implicit class_.
With `implicit class PizzaOps(p: Pizza)` then wherever `PizzaOps` is imported its methods will be available on
instances of `Pizza`. The reciever in this case is `p`.
instances of `Pizza`. The receiver in this case is `p`.

{% endtab %}
{% tab 'Scala 3' for=module_7 %}
Expand Down