Skip to content

add code tab in types-adts-gadts.md #2755

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

Closed

Conversation

benluo
Copy link
Contributor

@benluo benluo commented Mar 21, 2023

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this file also deserves a comment at the top to explain that it will use a new feature of Scala 3, and that in Scala 2 you have to manually use the “desugared” style (shown at the bottom)

@julienrf
Copy link
Contributor

I went ahead and updated this file in #2768 as well, so I am closing this PR. I appreciate your help, I should have clarified earlier the style to use when a page's content is specific to a Scala version.

@julienrf julienrf closed this Apr 13, 2023
@benluo benluo deleted the overviews/scala3-book/types-adts-gadts branch May 26, 2023 00:00
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

Successfully merging this pull request may close these issues.

2 participants