[GHC] #14826: Flatten data types extending other data types in STG

GHC ghc-devs at haskell.org
Wed Feb 21 03:04:02 UTC 2018


#14826: Flatten data types extending other data types in STG
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  feature request   |               Status:  new
        Priority:  low               |            Milestone:
       Component:  Compiler          |              Version:  8.5
      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 nomeata):

 A real-life example where people use horrible unsafe tricks to achieve
 essentially this:

 https://github.com/gregorycollins/hashtables/blob/fd385db6c81e157e2922e74664384980a651160e/src/Data/HashTable/Internal/UnsafeTricks.hs#L72

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


More information about the ghc-tickets mailing list