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
The Functor for a ValidatedNel is found just find. But for some reason trying to find the Functor for a Kleisli where the effect type is ValidatedNel doesn't work. I haven't yet tried to debug what's going wrong here.
> coreJVM/console
[info] Compiling4Scala sources to /Users/v751429/code/cats/core/.jvm/target/scala-2.11/classes...
[info] Compiling8Scala sources to /Users/v751429/code/cats/core/.jvm/target/scala-2.11/classes...
[info] Starting scala interpreter...
[info]
Welcome to Scala2.11.8 (JavaHotSpot(TM) 64-BitServerVM, Java1.8.0_45).
Type in expressions for evaluation. Ortry:help.
scala>importcats._, data._, implicits._importcats._importdata._importimplicits._
scala>Functor[ValidatedNel[String, ?]]
res0: cats.Functor[[β]cats.data.Validated[cats.data.OneAnd[[+A]List[A],String],β]] = cats.data.ValidatedInstances$$anon$1@688a8f50
scala>Functor[Kleisli[ValidatedNel[String, ?], Int, ?]]
<console>:21:error: could not find implicit value for parameter instance: cats.Functor[[γ]cats.data.Kleisli[[β]cats.data.Validated[cats.data.OneAnd[[+A]List[A],String],β],Int,γ]]
Functor[Kleisli[ValidatedNel[String, ?], Int, ?]]
The text was updated successfully, but these errors were encountered:
It appears that this isn't an issue in projects that use the SI-2712 fix plugin. I'm inclined to say that we should encourage people who are running into this sort of thing to use that plugin as opposed to pursuing too cumbersome of a workaround for this within cats.
The
Functor
for aValidatedNel
is found just find. But for some reason trying to find theFunctor
for aKleisli
where the effect type isValidatedNel
doesn't work. I haven't yet tried to debug what's going wrong here.The text was updated successfully, but these errors were encountered: