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

MonadError not reexported #444

Open
karamellpelle opened this issue Sep 18, 2023 · 1 comment
Open

MonadError not reexported #444

karamellpelle opened this issue Sep 18, 2023 · 1 comment

Comments

@karamellpelle
Copy link

Relude reexport the ExceptT monad transformer (together with runExceptT). But that's all. The typeclasses MonadReader, MonadState, MonadIO and MonadTrans are all included in Relude, but not MonadError.

How are we supposed to use ExceptT when its corresponding interface is not included?

PS: The typeclass MonadFail is something else that is not related to ExceptT.

@ildar-shaymukhametov
Copy link

Agree, I had to include mtl to use throwError

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