We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5134e98 + 12773ec commit 63343d2Copy full SHA for 63343d2
docs/docs/reference/new-types/dependent-function-types.md
@@ -17,7 +17,7 @@ val extractor: (e: Entry) => e.Key = extractKey // a dependent function value
17
```
18
Scala already has _dependent methods_, i.e. methods where the result
19
type refers to some of the parameters of the method. Method
20
-`extractKey` is an example. Its result type, `e.Key` refers its
+`extractKey` is an example. Its result type, `e.Key` refers to its
21
parameter `e` (we also say, `e.Key` _depends_ on `e`). But so far it
22
was not possible to turn such methods into function values, so that
23
they can be passed as parameters to other functions, or returned as
0 commit comments