Skip to content

Commit 29c0b72

Browse files
authored
Link to specific sections of the spec for literal and refined types
1 parent 509ce7a commit 29c0b72

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

_overviews/scala3-book/types-others.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ Scala has several other advanced types that are not shown in this book, includin
2121
- Refinement types
2222
- Kind polymorphism
2323

24-
For more details on most of these types, see the [Scala 3 Reference documentation][reference].
25-
For more details on singleton types and refinement types, see the Scala 3 [specification of types](https://scala-lang.org/files/archive/spec/3.4/03-types.html).
24+
For more details on most of these types, refer to the [Scala 3 Reference documentation][reference].
25+
For singleton types see the [literal types](https://scala-lang.org/files/archive/spec/3.4/03-types.html#literal-types) section of the Scala 3 spec,
26+
and for refinement types, see the [refined types](https://scala-lang.org/files/archive/spec/3.4/03-types.html) section.
2627

2728

2829

0 commit comments

Comments
 (0)