stojan
03/29/2020, 8:29 AMIO<A> to IO<Nothing, A> which was the simplest transformation. However it would be nice to convert to IO<AccountServiceException, A>
When I update the dependency in AccountServiceInterpreter to
me: MonadError<F, AccountServiceException>
(from Throwable to AccountServiceException ) the main program no longer compiles (even after updating
IO.monadError<AccountServiceException>()
from Nothing to AccountServiceException
The error I get: Type mismatch: inferred type is IOMonadError<AccountServiceException> but Monad<IOPartialOf<Nothing> /* = Kind<ForIO, Nothing> */> was expected
can IO<E, A> work with MonadError where E is not Throwable ?