[GHC] #12481: Add MonadFail instance for Either String

GHC ghc-devs at haskell.org
Thu Aug 11 17:33:50 UTC 2016


#12481: Add MonadFail instance for Either String
-------------------------------------+-------------------------------------
        Reporter:  hesiod            |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Core Libraries    |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by hesiod):

 I just realized that this instance has already been mentioned in
 https://prime.haskell.org/wiki/Libraries/Proposals/MonadFail, not in
 `base` however, but rather in `transformers`. I'm not quite sure why
 having that instance in `transformers` would be better, since it would
 make it an orphan.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12481#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list