Skip to content
Snippets Groups Projects
Commit 18c5409f authored by Ben Gamari's avatar Ben Gamari Committed by Marge Bot
Browse files

users guide: Release notes for exception backtrace work

parent 3886a205
No related branches found
No related tags found
No related merge requests found
......@@ -228,6 +228,17 @@ Runtime system
- ``Data.Tuple`` now exports ``getSolo :: Solo a -> a``.
- Exceptions can now carry arbitrary user-defined annotations via the new
:base-ref:`GHC.Exception.Type.ExceptionContext` implicit parameter of
``SomeException``. These annotations are intended to be used to carry
context describing the provenance of an exception.
- GHC now collects backtraces for synchronous exceptions. These are carried by
the exception via the ``ExceptionContext`` mechanism described above.
GHC supports several mechanisms by which backtraces can be collected which
can be individually enabled and disabled via
:base-ref:`GHC.Exception.Backtrace.setEnabledBacktraceMechanisms`.
``ghc-prim`` library
~~~~~~~~~~~~~~~~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment