[GHC] #15535: Expose the StableName constructor
GHC
ghc-devs at haskell.org
Fri Aug 17 21:27:02 UTC 2018
#15535: Expose the StableName constructor
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: (none)
Type: feature | Status: new
request |
Priority: normal | Milestone: 8.8.1
Component: Core | Version: 8.4.3
Libraries |
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
A `StableName` is just a wrapper around `StableName#`, but we don't reveal
that anywhere. That means that user code needs to use `unsafeCoerce` to
convert between `StableName` and `StableName#`, which seems terrible.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15535>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list