summaryrefslogtreecommitdiff
path: root/docs/users_guide/9.8.1-notes.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/9.8.1-notes.rst')
-rw-r--r--docs/users_guide/9.8.1-notes.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/users_guide/9.8.1-notes.rst b/docs/users_guide/9.8.1-notes.rst
index 503105472e..ad6f6f3709 100644
--- a/docs/users_guide/9.8.1-notes.rst
+++ b/docs/users_guide/9.8.1-notes.rst
@@ -44,6 +44,17 @@ Runtime system
``ghc-prim`` library
~~~~~~~~~~~~~~~~~~~~
+- Primitive pointer comparison functions are now levity-polymorphic, e.g. ::
+
+ sameArray# :: forall {l} (a :: TYPE (BoxedRep l)). Array# a -> Array# a -> Int#
+
+ This change affects the following functions:
+
+ - ``sameArray#``, ``sameMutableArray#``,
+ - ``sameSmallArray#``, ``sameSmallMutableArray#``,
+ - ``sameMutVar#``, ``sameTVar#``, ``sameMVar#``
+ - ``sameIOPort#``, ``eqStableName#``.
+
``ghc`` library
~~~~~~~~~~~~~~~