summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFacundo Domínguez <facundo.dominguez@tweag.io>2016-07-06 11:18:58 -0300
committerFacundo Domínguez <facundo.dominguez@tweag.io>2016-07-06 11:18:58 -0300
commit56f47d4a4e418235285d8b8cfe23bde6473f17fc (patch)
treea783cf5111f44a144d20900d4588d2035a029b32 /docs
parent567dbd9bcb602accf3184b83050f2982cbb7758b (diff)
downloadhaskell-56f47d4a4e418235285d8b8cfe23bde6473f17fc.tar.gz
Mention addModFinalizer changes in release notes.
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/8.2.1-notes.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/users_guide/8.2.1-notes.rst b/docs/users_guide/8.2.1-notes.rst
index 0a9963fafa..7b271cd054 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
~~~~~~~~~~~~~~