Scala 3: What should be done
See original GitHub issueLooking at Scala 3, the enumerations built into the language look pretty good.
The questions are
- What should
enumeratum
look like in a Scala 3 world?- What problems are we trying to solve? The problems with Scala 2 enums were pretty obvious, which led to the core of this lib
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:20 (14 by maintainers)
Top Results From Across the Web
New in Scala 3
The exciting new version of Scala 3 brings many improvements and new features. Here we provide you with a quick overview of the...
Read more >Introduction to the Scala 3 Programming Language
Scala 3 is a popular Functional and OOP language that runs on the Java Virtual Machine. It's most popular for use with the...
Read more >Scala 3: The _, They Are a'Changing | by Dean Wampler |
This means the language changes should be done. The discussion of import syntax changes below was the last major change. For a concise...
Read more >Scala 3 - Your First Scala Program with IntelliJ - YouTube
Your browser can 't play this video. Learn more. Switch camera.
Read more >Scala 3 & Functional Programming Essentials Course
Your browser can 't play this video. Learn more. Switch camera.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The first step towards Scala 3 for any real-world project is cross-compilation between Scala 2.13/Scala 3. Most of the OSS libs added Scala 3 to their cross-builds.
IMO, this will be a status quo for the next few years. Only then we’ll drop Scala 2 support and migrate to the new enums.
Thus, the Enumeratum macros should be ported.
There’s a PR open (https://github.com/lloydmeta/enumeratum/pull/349) that I’ve slowly been reviewing over iterations.