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 · May be fixed by #460
Open

MonadError not reexported #444

karamellpelle opened this issue Sep 18, 2023 · 1 comment · May be fixed by #460

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

@alexbiehl alexbiehl linked a pull request Oct 6, 2024 that will close this issue
10 tasks
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

Successfully merging a pull request may close this issue.

2 participants