Skip to content

Commit ab04353

Browse files
bishaboshajulienrf
authored andcommitted
mark dependent function types as Scala 3 only
1 parent 1d5a680 commit ab04353

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Diff for: _overviews/scala3-book/types-dependent-function.md

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ languages: [ru, zh-cn]
66
num: 57
77
previous-page: types-structural
88
next-page: types-others
9+
scala3: true
10+
versionSpecific: true
911
---
1012

1113
A *dependent function type* describes function types, where the result type may depend on the function’s parameter values.

Diff for: _overviews/scala3-book/types-others.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ languages: [ru, zh-cn]
66
num: 58
77
previous-page: types-dependent-function
88
next-page: ca-contextual-abstractions-intro
9+
scala3: true
10+
versionSpecific: true
911
---
1012

1113

@@ -19,7 +21,7 @@ Scala has several other advanced types that are not shown in this book, includin
1921
- Refinement types
2022
- Kind polymorphism
2123

22-
For more details on these types, see the [Reference documentation][reference].
24+
For more details on these types, see the [Scala 3 Reference documentation][reference].
2325

2426

2527

0 commit comments

Comments
 (0)