Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What has happened to this ? #2

Open
Maatary opened this issue Mar 16, 2021 · 3 comments
Open

What has happened to this ? #2

Maatary opened this issue Mar 16, 2021 · 3 comments

Comments

@Maatary
Copy link

Maatary commented Mar 16, 2021

Hi,

what has happened to this ?

@LukaJCB
Copy link
Owner

LukaJCB commented Mar 16, 2021

I haven't touched it in a long time and probably won't too soon. I have something similar in cats-bi-io, which I've worked on more recently, but also not in a while.

@Maatary
Copy link
Author

Maatary commented Mar 18, 2021

Thanks for letting me know. I was wondering if you could let me know if the following statement is still true:

Another problem that might occur with IO is that when you're using an EitherT monad transformer over IO, you end up with two different instances of MonadError for the same type. I.e. you have both MonadError[EitherT[IO, E, ?], E] and MonadError[EitherT[IO, E, ?], Throwable], which can lead to some subtle bugs.

I am actually learning how to use cats IO and about to introduce it in my company. However i still feel uncertain about the management of Error in IO.

I have posted the following question in stackoverflow https://stackoverflow.com/questions/66663192/what-is-the-current-cats-effects-io-error-handling-state-of-arts
Where i meantion this project of yours.

I'm puzzled as to what is the way to go for handling Error in IO. Any advise ? So far i am leaning toward monad transformer.
Simply to mange IO[Either] which i mostly what we will be using.

Any advise ?

I will check your second project right away

@Maatary
Copy link
Author

Maatary commented Mar 18, 2021

Just checked your project ? Any reason why it is not added to cats 2 or cats 3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants