[GHC] #15192: Refactor of Coercion

GHC ghc-devs at haskell.org
Tue Jun 12 02:54:39 UTC 2018


#15192: Refactor of Coercion
-------------------------------------+-------------------------------------
        Reporter:  ningning          |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D4747
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 As a follow-on to comment:8: even with homogeneous equality, coercions
 will still be heterogeneous, and thus the need for a coherence coercion
 (of some form) will remain. The type of `~#` becomes homogeneous, but that
 affects only what coercions we can quantify over, not what ones we can
 form.

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


More information about the ghc-tickets mailing list