Sync instance built for EitherT[Eval, Throwable, ?]
.
Sync instance built for EitherT[Eval, Throwable, ?]
.
The cats.Eval
data type does not have a MonadError
implementation,
because it's a Comonad
and in this case it cannot describe partial
functions that can throw errors, because its Comonad#value
needs
to be a pure and total function.
But by wrapping it in EitherT
, it's then possible to use in pieces
of logic requiring Sync
.
Sync instance built for cats.data.EitherT
values initialized
with any F
data type that also implements Sync
.
Sync instance built for cats.data.OptionT
values initialized
with any F
data type that also implements Sync
.
Sync instance built for cats.data.StateT
values initialized
with any F
data type that also implements Sync
.
Sync instance built for cats.data.WriterT
values initialized
with any F
data type that also implements Sync
.