kowainik / relude

🌀 Safe, performant, user-friendly and lightweight Haskell standard library
https://kowainik.github.io/projects/relude
MIT License
701 stars 80 forks source link

MonadError not reexported #444

Open karamellpelle opened 1 year ago

karamellpelle commented 1 year ago

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 commented 5 months ago

Agree, I had to include mtl to use throwError