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

tailRec instances aren't visible by default #4652

Open
kubukoz opened this issue Sep 12, 2024 · 0 comments
Open

tailRec instances aren't visible by default #4652

kubukoz opened this issue Sep 12, 2024 · 0 comments

Comments

@kubukoz
Copy link
Member

kubukoz commented Sep 12, 2024

As far as I know, import cats.syntax.all.* is now the recommended mega-import. However, it doesn't bring the instances for scala.util.control.TailCalls.TailRec - those still require import cats.instances.tailRec.*.

These instances should probably be included in the companion objects of the typeclasses themselves so that they're auto-discoverable like most other instances.

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

1 participant