Add MonadFail instance for Either String
There seems to be the low hanging fruit of a MonadFail instance for Either String.
instance MonadFail (Either String) where
fail = Left
Trac metadata
Trac field | Value |
---|---|
Version | |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Core Libraries |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | ekmett |
Operating system | |
Architecture |