[commit: ghc] master: Mention addModFinalizer changes in release notes. (56f47d4)

git at git.haskell.org git at git.haskell.org
Wed Jul 6 14:17:21 UTC 2016


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

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

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

commit 56f47d4a4e418235285d8b8cfe23bde6473f17fc
Author: Facundo Domínguez <facundo.dominguez at tweag.io>
Date:   Wed Jul 6 11:18:58 2016 -0300

    Mention addModFinalizer changes in release notes.


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

56f47d4a4e418235285d8b8cfe23bde6473f17fc
 docs/users_guide/8.2.1-notes.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst
index 0a9963f..7b271cd 100644
--- a/docs/users_guide/8.2.1-notes.rst
+++ b/docs/users_guide/8.2.1-notes.rst
@@ -44,6 +44,13 @@ Template Haskell
 
 -  TODO FIXME.
 
+- ``addModFinalizer`` now exposes the local typing environment at the splice
+  point. This allows ``reify`` to see local and top-level definitions in the
+  current declaration group when used as in
+
+  .. code-block:: none
+  f x = $(addModFinalizer (reify 'x >>= runIO . print) >> [| x |])
+
 Runtime system
 ~~~~~~~~~~~~~~
 



More information about the ghc-commits mailing list