Skip to content

Commit 6d56e7c

Browse files
authored
Fixed typos in "Dependent Function Types"
1 parent 135a3cd commit 6d56e7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_overviews/scala3-book/types-dependent-function.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ type DB = (k: Key) => Option[k.Value]
6969
```
7070
Given this definition of `DB` the above call to `user` type checks, as is.
7171

72-
You can read more about the interals of dependent function types in the [reference documentation][ref].
72+
You can read more about the internals of dependent function types in the [reference documentation][ref].
7373

7474
## Case Study: Numerical Expressions
7575
Let us assume we want to define a module that abstracts over the internal represention of numbers.
@@ -119,7 +119,7 @@ derivative(new Prog {
119119

120120
#### Combination with Context Functions
121121
The combination of extension methods, [context functions][ctx-fun], and dependent functions provides a powerful tool for library designers.
122-
For instance, we can refine our library from above as follows
122+
For instance, we can refine our library from above as follows:
123123
```scala
124124
trait NumsDSL extends Nums:
125125
extension (x: Num)

0 commit comments

Comments
 (0)