-
Notifications
You must be signed in to change notification settings - Fork 87
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
implicitly[Recursive[Fix[Option]]] ambiguity between recursiveTRecursive and birecursiveTBirecursive #58
Comments
Thanks, @klaeufer. Currently, this isn’t much of a problem in practice, because it’s rare that you can actually resolve This is still a problem, though, and will be worse once we get the type class hierarchy working as intended. Prioritizing the implicits should fix it. I’ll do that soon. |
Thanks, @sellout, I'll keep using the workaround until the prioritized implicits are in place. |
@sellout This problem went away after I upgraded to Scala 2.12.1 and enabled -Ypartial-unification. |
I just ran into this, which reminded me of this issue, and so I’ll actually fix it now 😆 (Although I hope it’s not gotten in your way in the mean time.) |
Symptoms
cata
and other recursion patterns unavailable forFix
and related types.Causes
Ambiguity between
recursiveTRecursive
andbirecursiveTBirecursive
, apparently in top-level package object.How to reproduce
Same problem for
Mu
andNu
.Workaround
The text was updated successfully, but these errors were encountered: