[GHC] #14004: G
GHC
ghc-devs at haskell.org
Fri Jul 21 02:23:58 UTC 2017
#14004: G
-------------------------------------+-------------------------------------
Reporter: zaoqi | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 7.10.3
Resolution: invalid | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by bgamari):
* status: new => closed
* resolution: => invalid
Comment:
In general it's appreciated if you can provide at very least a title for
new tickets.
In this particular case I think the error message pretty much explains
what's going on here: there are two instances which may match your
request. GHC in general refuses to choose arbitrarily. If you want to
force GHC to choose arbitrarily then you can use `IncoherentInstances`,
but you get to keep both pieces if your program breaks.
Closing as invalid but feel free to reopen if I have misunderstood your
request.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14004#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list