[GHC] #15535: Expose the StableName constructor

GHC ghc-devs at haskell.org
Mon Aug 20 07:12:14 UTC 2018


#15535: Expose the StableName constructor
-------------------------------------+-------------------------------------
        Reporter:  dfeuer            |                Owner:  (none)
            Type:  feature request   |               Status:  patch
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Core Libraries    |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D5078
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 Out of curiosity, how do you coerce a `StableName` to a `StableName#`?
 `StableName` is a `data` so you'd have to first coerce it to constructor
 with one non-pointer field that is as large as a `StableName#`, and then
 read that field. Sounds tricky ...

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


More information about the ghc-tickets mailing list