Skip to content

Commit

Permalink
mark dependent function types as Scala 3 only
Browse files Browse the repository at this point in the history
  • Loading branch information
bishabosha authored and julienrf committed Jul 17, 2023
1 parent 1d5a680 commit ab04353
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions _overviews/scala3-book/types-dependent-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ languages: [ru, zh-cn]
num: 57
previous-page: types-structural
next-page: types-others
scala3: true
versionSpecific: true
---

A *dependent function type* describes function types, where the result type may depend on the function’s parameter values.
Expand Down
4 changes: 3 additions & 1 deletion _overviews/scala3-book/types-others.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ languages: [ru, zh-cn]
num: 58
previous-page: types-dependent-function
next-page: ca-contextual-abstractions-intro
scala3: true
versionSpecific: true
---


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

For more details on these types, see the [Reference documentation][reference].
For more details on these types, see the [Scala 3 Reference documentation][reference].



Expand Down

0 comments on commit ab04353

Please sign in to comment.