[GHC] #13650: Implement KPush in types

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[GHC] #13650: Implement KPush in types

GHC - devs mailing list
#13650: Implement KPush in types
-------------------------------------+-------------------------------------
           Reporter:  goldfire       |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  high           |         Milestone:  8.4.1
          Component:  Compiler       |           Version:
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 A recent commit contributed a
 [https://phabricator.haskell.org/diffusion/GHC/browse/master/compiler/types/Type.hs;a483e711da7834bc952367f554ac4e877b4e157a$1191
 Note] that explains why we need the dreaded KPush rule to be implemented
 in `splitTyConApp`. Without KPush there, it's possible that we can have
 two types t1 and t2 such that {{{t1 `eqType` t2}}} and yet they respond
 differently to `splitTyConApp`: t1 = `(T |> co1) (a |> co2)` and t2 = `T
 a`. Both t1 and t2 are well-kinded and can have the same kind. But one is
 a `TyConApp` and one is an `AppTy`. (Actually, looking at this, perhaps
 the magic will be in `mkAppTy`, not `splitTyConApp`.) But I have to look
 closer.

 This ticket serves as a reminder to do so.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #13650: Implement KPush in types

GHC - devs mailing list
#13650: Implement KPush in types
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  goldfire
            Type:  task              |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by goldfire):

 * owner:  (none) => goldfire


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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets
Reply | Threaded
Open this post in threaded view
|

Re: [GHC] #13650: Implement KPush in types

GHC - devs mailing list
In reply to this post by GHC - devs mailing list
#13650: Implement KPush in types
-------------------------------------+-------------------------------------
        Reporter:  goldfire          |                Owner:  goldfire
            Type:  task              |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       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):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 One wrinkle (at least until #11715 is fixed): which `eqType` do we wish to
 respect here? `eqType` or `tcEqType`? I think it might be best to wait
 until after #11715. Or it's possible that it doesn't matter which `eqType`
 we're thinking of.

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

_______________________________________________
ghc-tickets mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-tickets