[GHC] #12160: MonadFail instance for (Either String)?
GHC
ghc-devs at haskell.org
Thu Aug 11 21:56:00 UTC 2016
#12160: MonadFail instance for (Either String)?
-------------------------------------+-------------------------------------
Reporter: lexi.lambda | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: libraries | Version: 8.0.1
(other) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: #9588 | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by hesiod):
* cc: ekmett (added)
Comment:
So if I understood you right, ekmett, you would be fine with
Iceland_jack's approach, i.e. `instance IsString str => MonadFail (Either
str)`? In that case, I'd be glad to assemble a patch provided there are no
other concerns remaining.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12160#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list