From ebce7755c8716f62909126f2391da34565c04449 Mon Sep 17 00:00:00 2001 From: Jamie Thompson Date: Fri, 14 Jul 2023 20:37:17 +0200 Subject: [PATCH] mark dependent function types as Scala 3 only --- _overviews/scala3-book/types-dependent-function.md | 2 ++ _overviews/scala3-book/types-others.md | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/_overviews/scala3-book/types-dependent-function.md b/_overviews/scala3-book/types-dependent-function.md index 92bae2d227..f5b5cf2d37 100644 --- a/_overviews/scala3-book/types-dependent-function.md +++ b/_overviews/scala3-book/types-dependent-function.md @@ -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. diff --git a/_overviews/scala3-book/types-others.md b/_overviews/scala3-book/types-others.md index 13ac06ed60..a5ae730b1e 100644 --- a/_overviews/scala3-book/types-others.md +++ b/_overviews/scala3-book/types-others.md @@ -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 --- @@ -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].