summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid Feuer <david.feuer@gmail.com>2018-10-04 13:52:23 -0400
committerBen Gamari <ben@smart-cactus.org>2018-10-04 22:27:54 -0400
commit228725747c3e493c36d6b6ad1034ca56581cb758 (patch)
treee22ffb0f30a5955b4cf483c653ddaf5d1f8691b4 /docs
parente5013a567b230018b5d39b562ce21faf54740d04 (diff)
downloadhaskell-228725747c3e493c36d6b6ad1034ca56581cb758.tar.gz
Stable name type role
Make the `StableName#` parameter phantom: There is actually never any reason to care about the type of the underlying object of a `StableName#`. The underlying object type shouldn't really even *be* a parameter. But at least we can mark it as phantom. Reviewers: hvr, bgamari, erikd, simonmar Reviewed By: simonmar Subscribers: ekmett, rwbarton, carter Differential Revision: https://phabricator.haskell.org/D5117
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/8.8.1-notes.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/users_guide/8.8.1-notes.rst b/docs/users_guide/8.8.1-notes.rst
index 6bdde400bb..a27aee721e 100644
--- a/docs/users_guide/8.8.1-notes.rst
+++ b/docs/users_guide/8.8.1-notes.rst
@@ -104,6 +104,10 @@ Template Haskell
eventlog events similar to ``traceBinaryEvent#`` but allows the user to pass
the event payload as a binary blob instead of a ``String``.
+- The ``StableName#`` type parameter now has a phantom role instead of
+ a representational one. There is really no reason to care about the
+ type of the underlying object.
+
``ghc`` library
~~~~~~~~~~~~~~~
@@ -114,6 +118,10 @@ Template Haskell
- Support the characters from recent versions of Unicode (up to v. 12) in literals
(see :ghc-ticket:`5518`).
+- The ``StableName`` type parameter now has a phantom role instead of
+ a representational one. There is really no reason to care about the
+ type of the underlying object.
+
Build system
~~~~~~~~~~~~