Skip to content

Commit 824a0ab

Browse files
authored
Fix typo
1 parent 4d0e5d3 commit 824a0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Pizza.price(pizza1)
259259
Grouping functionality this way has a few advantages:
260260

261261
- It associates functionality with data and makes it easier to find for programmers (and the compiler).
262-
- It creates a namespace and for instance let's use `price` as a method name without having to rely on overloading.
262+
- It creates a namespace and for instance lets us use `price` as a method name without having to rely on overloading.
263263
- The implementation of `Topping.price` can access enumeration values like `Cheese` without having to import them.
264264

265265
However, there are also a few tradeoffs that should be considered:

0 commit comments

Comments
 (0)