[GHC] #15743: Nail down the Required/Inferred/Specified story

GHC ghc-devs at haskell.org
Fri Oct 26 14:40:22 UTC 2018


#15743: Nail down the Required/Inferred/Specified story
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.6.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 simonpj):

 Yikes.  See
 {{{
 Note [Kind variable ordering for associated types]
 }}}
 in `TcHsType`.  I think that for
 {{{
   class C (a :: Type) where
     type T (x :: f a)
 }}}
 it'd be much more straightforard to say that `f` comes before `a` in `T`'s
 kind, contrary to that Note.

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


More information about the ghc-tickets mailing list