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

[Scala 3] Roadmap to Scala 3 release #481

Closed
6 of 11 tasks
TimWSpence opened this issue May 27, 2022 · 4 comments
Closed
6 of 11 tasks

[Scala 3] Roadmap to Scala 3 release #481

TimWSpence opened this issue May 27, 2022 · 4 comments
Milestone

Comments

@TimWSpence
Copy link
Member

TimWSpence commented May 27, 2022

Required:

Optional/under discussion:

@joroKr21
Copy link
Member

IMO stack safety and sequence support are not blocking. One of the issues with stack safety (at least the way it was done with Eval in Scala 2) is that it comes at a cost even when you don't need it. And in theory it could apply to any nested derivation, not just Functor and Foldable.

@TimWSpence
Copy link
Member Author

IMO stack safety and sequence support are not blocking. One of the issues with stack safety (at least the way it was done with Eval in Scala 2) is that it comes at a cost even when you don't need it. And in theory it could apply to any nested derivation, not just Functor and Foldable.

Yeah definitely. Woops, I meant to update that ticket to say that it isn't an exhaustive list of derivations that aren't stacksafe 🤦 One option I was considering is if we offered a separate semiauto.stackSafeFunctor that goes through Eval? (So no auto or derives syntax) I think that would work but I guess we'd effectively be maintaining two derivations per typeclass which would suck

@joroKr21
Copy link
Member

Yeah it's not great to maintain two derivations. Also a derivation based on Eval is complex because we have to duplicate all method signatures and match on the runtime type of the type class.

@joroKr21 joroKr21 changed the title Roadmap to Scala 3 release [Scala 3] Roadmap to Scala 3 release Sep 12, 2022
@joroKr21 joroKr21 added this to the 3.0.0 milestone Sep 12, 2022
@joroKr21
Copy link
Member

I will close this now that 3.0 is out. We can tackle the remaining issues independently.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants