question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scala 3: What should be done

See original GitHub issue

Looking at Scala 3, the enumerations built into the language look pretty good.

The questions are

  1. 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:20 (14 by maintainers)

github_iconTop GitHub Comments

8reactions
catostrophecommented, Feb 3, 2021

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.

3reactions
lloydmetacommented, Nov 3, 2022

There’s a PR open (https://github.com/lloydmeta/enumeratum/pull/349) that I’ve slowly been reviewing over iterations.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found