Expose the StableName constructor

Authored by dfeuer on Aug 20 2018, 7:08 PM.

Description

Expose the StableName constructor

  • 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 StableNames to be stored in UnliftedArrays (from primitive) without unsafe coercions.

Reviewers: hvr, bgamari, andrewthad, osa1

Reviewed By: osa1

Subscribers: osa1, rwbarton, carter

GHC Trac Issues: Trac #15535

Differential Revision: https://phabricator.haskell.org/D5078