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
I think we should be able to provide a Traverse instance for Eff[S, A], given that all of the members of S have Traverse instances; by this I mean that all of them are possible to run without detach.
The text was updated successfully, but these errors were encountered:
implicitdefeffTraverse[R:TraverseFx]:Traverse[Eff[R, ?]] =newTraverse[Eff[R, ?]] {
deftraverse[G[_]:Applicative, A, B](fa: Eff[R, A])(f: A=>G[B]):G[Eff[R, B]] =???
}
/** * can we get the Traverse instances for individual effects like that?*/traitTraverseFx[R<:Fx] {
typeH[_] <:FxtypeT<:Fxdeftraverse:Traverse[H]
deftraverseFx:TraverseFx[T]
}
I think we should be able to provide a
Traverse
instance forEff[S, A]
, given that all of the members ofS
haveTraverse
instances; by this I mean that all of them are possible torun
withoutdetach
.The text was updated successfully, but these errors were encountered: