[GHC] #9588: Add `MonadPlus (Either e)` and `Alternative (Either e)` instances (was: Add `MonadPlus {IO, Either e}` and `Alternative (Either e)` instances)
GHC
ghc-devs at haskell.org
Fri Aug 7 15:39:16 UTC 2015
#9588: Add `MonadPlus (Either e)` and `Alternative (Either e)` instances
-------------------------------------+-------------------------------------
Reporter: hvr | Owner: hvr
Type: task | Status: new
Priority: normal | Milestone: ⊥
Component: Core Libraries | Version:
Resolution: | Keywords: report-
| impact
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #10755 | Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by hvr):
* related: => #10755
* milestone: 7.12.1 => ⊥
Old description:
> The following 3 instances are currently Orphans in `transformers` but
> shall be defined in `base` instead:
>
> {{{#!hs
> instance MonadPlus IO
> instance MonadPlus (Either e)
> instance Alterantive (Either e)
> }}}
>
> This proposal by SPJ already passed the CLC back in April and only needs
> implementing. I'll submit a patch shortly to Phab
New description:
The following 2 instances are currently Orphans in `transformers` but
shall be defined in `base` instead:
{{{#!hs
instance MonadPlus (Either e)
instance Alterantive (Either e)
}}}
This proposal by SPJ already passed the CLC back in April and only needs
implementing. I'll submit a patch shortly to Phab
--
Comment:
I've split off the easy doable part into #10755
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9588#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list