[GHC] #12390: List rules for `Coercible` instances

GHC ghc-devs at haskell.org
Thu Jul 14 03:22:03 UTC 2016


#12390: List rules for `Coercible` instances
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             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:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 The Coercible class is special in other ways too, there is also
 [https://phabricator.haskell.org/diffusion/GHC/browse/master/libraries
 /ghc-prim/GHC/Types.hs;54c95ffcb2cf392df33d2ec397e2301c005ca406$84 no
 syntax for ~#R]

 {{{#!hs
 class a ~R# b => Coercible (a :: k) (b :: k)
 }}}

 making it difficult to get more information about `~R#`. (#12023)

 Some of this might be worth noting in `:info`.

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


More information about the ghc-tickets mailing list