diff --git a/docs/users_guide/9.12.1-notes.rst b/docs/users_guide/9.12.1-notes.rst index 549f3c9746331edd0e4844b148f86c3614356dae..79b4095eaf44c8661a47f8c336dbf831a7c2f290 100644 --- a/docs/users_guide/9.12.1-notes.rst +++ b/docs/users_guide/9.12.1-notes.rst @@ -191,6 +191,16 @@ Cmm - The `deprecation process of GHC.Pack <https://gitlab.haskell.org/ghc/ghc/-/issues/21461>` has come its term. The module has now been removed from ``base``. +- Annotate re-thrown exceptions with the backtrace as per `CLC proposal #202 <https://github.com/haskell/core-libraries-committee/issues/202>` + +- Introduced ``catchNoPropagate``, ``rethrowIO`` and ``tryWithContext`` as part of + `CLC proposal #202 <https://github.com/haskell/core-libraries-committee/issues/202>` to + facilitate rethrowing exceptions without adding a ``WhileHandling`` + context -- if rethrowing ``e``, you don't want to add ``WhileHandling e`` to + the context since it will be redundant. These functions are mostly useful + for libraries that define exception-handling combinators like ``catch`` and + ``onException``, such as ``base``, or the ``exceptions`` package. + ``ghc-prim`` library ~~~~~~~~~~~~~~~~~~~~