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

Re-think error monad instances #26

Open
georgefst opened this issue May 9, 2023 · 0 comments
Open

Re-think error monad instances #26

georgefst opened this issue May 9, 2023 · 0 comments

Comments

@georgefst
Copy link
Owner

I'm unsure about eee4e31. It works nicely when m is IO, which is the common case. But, because of the way Haskell's type classes work, this presumably rules out instances where m doesn't have MonadError instance, even though we'd ideally have instance MonadError LifxError (LifxT m), i.e. the newtype-derivable one.

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

1 participant