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
When I changed instances of typeclasses to be shared in #67
e.g.
/** Global instance for `cats.CommutativeApplicative`*/implicitdefcommutativeApplicative[E]:CommutativeApplicative[BIO.Par[E, ?]] =
commutativeApplicativeAny.asInstanceOf[CommutativeApplicative[BIO.Par[E, ?]]]
private[this] finallazyvalcommutativeApplicativeAny:CommutativeApplicative[BIO.Par[Any, ?]] =
catsParallelAny.applicative
I had to do lazy val instead of a val, even if this val was unused. Otherwise BIO couldn't be initialized. It works for some of the instances though, e.g.
When I changed instances of typeclasses to be shared in #67
e.g.
I had to do
lazy val
instead of aval
, even if thisval
was unused. OtherwiseBIO
couldn't be initialized. It works for some of the instances though, e.g.I feel like the only difference is that the instance is created in the same file but I don't know why does it cause a difference.
The text was updated successfully, but these errors were encountered: