[commit: ghc] master: docs: Add changelog and release notes entry for traceBinaryEvent# (edb4714)

git at git.haskell.org git at git.haskell.org
Fri Aug 24 03:25:02 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/edb471498149b9aae841b1b1ff8d2f418002a829/ghc

>---------------------------------------------------------------

commit edb471498149b9aae841b1b1ff8d2f418002a829
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Aug 21 19:08:12 2018 -0400

    docs: Add changelog and release notes entry for traceBinaryEvent#


>---------------------------------------------------------------

edb471498149b9aae841b1b1ff8d2f418002a829
 docs/users_guide/8.8.1-notes.rst | 7 +++++++
 libraries/ghc-prim/changelog.md  | 7 +++++++
 2 files changed, 14 insertions(+)

diff --git a/docs/users_guide/8.8.1-notes.rst b/docs/users_guide/8.8.1-notes.rst
index 7ea2c87..7e54645 100644
--- a/docs/users_guide/8.8.1-notes.rst
+++ b/docs/users_guide/8.8.1-notes.rst
@@ -40,6 +40,13 @@ Template Haskell
 ~~~~~~~~~~~~~~~~
 
 
+``ghc-prim`` library
+~~~~~~~~~~~~~~~~~~~~
+
+- 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``.
+
 ``ghc`` library
 ~~~~~~~~~~~~~~~
 
diff --git a/libraries/ghc-prim/changelog.md b/libraries/ghc-prim/changelog.md
index 53e77a0..76da3e0 100644
--- a/libraries/ghc-prim/changelog.md
+++ b/libraries/ghc-prim/changelog.md
@@ -1,3 +1,10 @@
+## 0.6.0
+
+- Shipped with GHC 8.8.1
+
+- Added to `GHC.Prim`:
+        traveBinaryEvent# :: Addr# -> Int# -> State# s -> State# s
+
 ## 0.5.3 (edit as necessary)
 
 - Shipped with GHC 8.6.1



More information about the ghc-commits mailing list