You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[E] ambiguous implicit values:
[E] both method catsDataCommutativeMonadForWriterT in class WriterTInstances of type [F[_], L](implicit F: cats.CommutativeMonad[F], implicit L: cats.kernel.CommutativeMonoid[L])cats.CommutativeMonad[[?$3$]cats.data.WriterT[F,L,?$3$]]
[E] and method catsDataTraverseForWriterTId in class WriterTInstances of type [L](implicit F: cats.Traverse[cats.Id])cats.Traverse[[?$5$]cats.data.WriterT[[A]A,L,?$5$]]
[E] match expected type cats.Functor[[?$0$]cats.data.WriterT[[A]A,Int,?$0$]]
[E] L9: Functor[Writer[Int, *]]
It's a silly type, but one that I actually wanted to use for real (in tests).
It seems the two aforementioned methods might need to be be in different "levels" of the WriterTInstances "tower"? To be honest, I'm quite a bit handwavy on how these work exactly, also I have not a single clue on the bincompat implications, so I'm not really able to suggest a fix in a more precise fashion.
Thank you for your consideration
The text was updated successfully, but these errors were encountered:
The following snippet:
fails to compile with
It's a silly type, but one that I actually wanted to use for real (in tests).
It seems the two aforementioned methods might need to be be in different "levels" of the WriterTInstances "tower"? To be honest, I'm quite a bit handwavy on how these work exactly, also I have not a single clue on the bincompat implications, so I'm not really able to suggest a fix in a more precise fashion.
Thank you for your consideration
The text was updated successfully, but these errors were encountered: