Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing reference for "other advanced types" ? #2933

Open
2 tasks
vreuter opened this issue Dec 13, 2023 · 3 comments
Open
2 tasks

Missing reference for "other advanced types" ? #2933

vreuter opened this issue Dec 13, 2023 · 3 comments

Comments

@vreuter
Copy link
Contributor

vreuter commented Dec 13, 2023

The "other types" page of the Scala 3 book lists a variety of "other advanced types" and links to the reference documentation "for more details on these types." For most of the listed sorts of types, there is reference easily accessible on the linked page, but for 2 of them there's nothing apparent (at least not when Ctrl+F searching on the page for these sorts of types):

  • Singleton types
  • Refinement types

It seems that either reference should be added for these on the linked page, or that more specific link(s) should be provided on the Scala 3 book page. Did I miss something, though?

@vreuter
Copy link
Contributor Author

vreuter commented Dec 13, 2023

To show the symptom / search method:

Capture d’écran 2023-12-13 à 12 09 28 Capture d’écran 2023-12-13 à 12 09 38

@vreuter vreuter changed the title Missing reference for "other advanced types" Missing reference for "other advanced types" ? Dec 13, 2023
@bishabosha
Copy link
Member

Thanks for the feedback! that is indeed a missing information that is only visible in the spec

@vreuter
Copy link
Contributor Author

vreuter commented Dec 14, 2023

Thanks for the feedback! that is indeed a missing information that is only visible in the spec

Many thanks for the link @bishabosha

vreuter added a commit to vreuter/docs.scala-lang that referenced this issue Dec 14, 2023
bishabosha pushed a commit that referenced this issue Jan 19, 2024
* Add info pointer for singleton and refinement types, #2933

* Link to specific sections of the spec for literal and refined types
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants