You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My motivation is that I need to have custom types for failures, but I'm never going to be Catching, so I don't want to bother with handling that in my code, and so Error is not very useful.
The text was updated successfully, but these errors were encountered:
Fail's not the right fit for that. Fail's purpose is to provide the MonadFail instance of Sem; nothing else.
However, I could consider the addition of a new effect:
Let's generalise
Fail
to beinstead.
My motivation is that I need to have custom types for failures, but I'm never going to be
Catch
ing, so I don't want to bother with handling that in my code, and soError
is not very useful.The text was updated successfully, but these errors were encountered: