Add `MonadPlus IO` and `Alternative IO` instances
#9588:
Cloned and adapted fromThe following 2 instances are currently Orphans in transformers
but shall be defined in base
instead:
instance MonadPlus IO
instance Alternative IO
This proposal by SPJ already passed the CLC back in April and only needs implementing. I'll submit a patch shortly to Phab
This needs coordination w/ Ross as transformers
must not define the same instances for new enough base
versions.
Trac metadata
Trac field | Value |
---|---|
Version | |
Type | Task |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Core Libraries |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | core-libraries-committee@haskell.org, ekmett, hvr, simonpj |
Operating system | |
Architecture |