[Git][ghc/ghc][master] Fix typo in 8.8.1 notes related to traceBinaryEvent
Marge Bot
gitlab at gitlab.haskell.org
Sat May 4 22:00:25 UTC 2019
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
63150b9e by iustin at 2019-05-04T21:54:23Z
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.
- - - - -
1 changed file:
- docs/users_guide/8.8.1-notes.rst
Changes:
=====================================
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
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/63150b9e5583c5fc3252f242981b0d26f11348b2
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/commit/63150b9e5583c5fc3252f242981b0d26f11348b2
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20190504/42c517df/attachment.html>
More information about the ghc-commits
mailing list