[GHC] #15009: Float equalities past local equalities

GHC ghc-devs at haskell.org
Mon May 7 01:47:38 UTC 2018


#15009: Float equalities past local equalities
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:  8.4.3
       Component:  Compiler          |              Version:  8.2.2
      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 goldfire):

 So I suppose I'm precisely after `Note [Let-bound skolems]`. But it
 doesn't seem to be working in the cases above (I haven't yet explored why,
 but I will).

 You're right that my (%) is wrong. Of course a purely local equality (as
 defined above) should not affect floating, but also a let-bind-like
 equality should, too.

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


More information about the ghc-tickets mailing list