summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authoriustin <iustin@k1024.org>2019-04-26 09:07:33 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-04 17:54:23 -0400
commit63150b9e5583c5fc3252f242981b0d26f11348b2 (patch)
treea5d315729dfa3ae17d9fbcdb40e95b760183cd3e /docs
parent0a3e4db325ed2d073c9664f6ce1f9165181116b0 (diff)
downloadhaskell-63150b9e5583c5fc3252f242981b0d26f11348b2.tar.gz
Fix typo in 8.8.1 notes related to traceBinaryEvent
- fixes double mention of `traceBinaryEvent#` (the second one should be `traceEvent#`, I think) - fixes note about `traceEvent#` taking a `String` - the docs say it takes a zero-terminated ByteString.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/8.8.1-notes.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/users_guide/8.8.1-notes.rst b/docs/users_guide/8.8.1-notes.rst
index c39a721ae7..486c47c1b3 100644
--- a/docs/users_guide/8.8.1-notes.rst
+++ b/docs/users_guide/8.8.1-notes.rst
@@ -149,8 +149,9 @@ Template Haskell
~~~~~~~~~~~~~~~~~~~~
- GHC now exposes a new primop, ``traceBinaryEvent#``. This primop writes
- eventlog events similar to ``traceBinaryEvent#`` but allows the user to pass
- the event payload as a binary blob instead of a ``String``.
+ eventlog events similar to ``traceEvent#`` but allows the user to pass
+ the event payload as a binary blob instead of a zero-terminated
+ ``ByteString``.
- The ``StableName#`` type parameter now has a phantom role instead of
a representational one. There is really no reason to care about the