[commit: ghc] ghc-7.10: Pattern synonyms do work in GHCi now (see #9900) (1f59f9a)

git at git.haskell.org git at git.haskell.org
Fri Jan 9 15:22:04 UTC 2015


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/1f59f9a218d85ca1e8a13b3fdf6f4ed0d6fcb7e7/ghc

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

commit 1f59f9a218d85ca1e8a13b3fdf6f4ed0d6fcb7e7
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date:   Fri Jan 9 19:30:04 2015 +0800

    Pattern synonyms do work in GHCi now (see #9900)
    
    (cherry picked from commit 6f818e083c8390b0c039bcebb6ec21b336d4173b)


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

1f59f9a218d85ca1e8a13b3fdf6f4ed0d6fcb7e7
 docs/users_guide/glasgow_exts.xml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 96e3d28..c413edd 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -1025,8 +1025,7 @@ bidirectional. The syntax for unidirectional pattern synonyms is:
 <para>
   Pattern synonym declarations can only occur in the top level of a
   module. In particular, they are not allowed as local
-  definitions. Currently, they also don't work in GHCi, but that is a
-  technical restriction that will be lifted in later versions.
+  definitions.
 </para>
 <para>
   The variables in the left-hand side of the definition are bound by



More information about the ghc-commits mailing list