[GHC] #11471: Kind polymorphism and unboxed types: bad things are happening

GHC ghc-devs at haskell.org
Wed Feb 24 19:49:13 UTC 2016


#11471: Kind polymorphism and unboxed types: bad things are happening
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  goldfire
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  7.10.3
  checker)                           |             Keywords:  TypeInType,
      Resolution:                    |  LevityPolymorphism
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D1891
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Richard Eisenberg <eir@…>):

 In [changeset:"d8c64e86361f6766ebe26a262bb229fb8301a42a/ghc"
 d8c64e86/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="d8c64e86361f6766ebe26a262bb229fb8301a42a"
 Address #11471 by putting RuntimeRep in kinds.

 See Note [TYPE] in TysPrim. There are still some outstanding
 pieces in #11471 though, so this doesn't actually nail the bug.

 This commit also contains a few performance improvements:

 * Short-cut equality checking of nullary type syns

 * Compare types before kinds in eqType

 * INLINE coreViewOneStarKind

 * Store tycon binders separately from kinds.

 This resulted in a ~10% performance improvement in compiling
 the Cabal package. No change in functionality other than
 performance. (This affects the interface file format, though.)

 This commit updates the haddock submodule.
 }}}

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


More information about the ghc-tickets mailing list