[GHC] #9858: Typeable instances should be kind-aware

GHC ghc-devs at haskell.org
Fri Apr 17 16:14:11 UTC 2015


#9858: Typeable instances should be kind-aware
-------------------------------------+-------------------------------------
        Reporter:  dreixel           |                   Owner:
            Type:  bug               |                  Status:  merge
        Priority:  highest           |               Milestone:  7.10.2
       Component:  Compiler          |                 Version:  7.9
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |  typecheck/should_fail/T9858a,
                                     |  should_run/T9858b
                                     |                Blocking:
                                     |  Differential Revisions:  Phab:D652
-------------------------------------+-------------------------------------

Comment (by diatchki):

 Well, `=>` is not really a type-constructor, but rather a syntactic form.
 So I don't think it should ever appear alone, or partially applied, in a
 Haskell program.

 If we ever promoted it to an actual type-constructor status---which is an
 interesting idea---I think that we should assign it its own type-
 constructor and stop reusing the function-space constructor.

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


More information about the ghc-tickets mailing list