[commit: ghc] master: Pattern synonyms do work in GHCi now (see #9900) (6f818e0)

git at git.haskell.org git at git.haskell.org
Fri Jan 9 11:33:00 UTC 2015


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/6f818e083c8390b0c039bcebb6ec21b336d4173b/ghc

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

commit 6f818e083c8390b0c039bcebb6ec21b336d4173b
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)


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

6f818e083c8390b0c039bcebb6ec21b336d4173b
 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 0503561..61ab799 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