Skip to content
  • David Feuer's avatar
    Expose the StableName constructor · 768cc53d
    David Feuer authored
    * Move the definition of `StableName` from `System.Mem.StableName`
      to a new `GHC.StableName` module.
    
    * Expose the `StableName` data constructor from `GHC.StableName`.
      Once we have `UnliftedArray#`, this will enable `StableName`s to
      be stored in `UnliftedArray`s (from `primitive`) without unsafe
      coercions.
    
    Reviewers: hvr, bgamari, andrewthad, osa1
    
    Reviewed By: osa1
    
    Subscribers: osa1, rwbarton, carter
    
    GHC Trac Issues: #15535
    
    Differential Revision: https://phabricator.haskell.org/D5078
    
    (cherry picked from commit 9c4e6c6b)
    768cc53d