[commit: ghc] ghc-7.8: users_guide: note -XPatternSynonyms is required for use sites (6ecb89f)
git at git.haskell.org
git at git.haskell.org
Mon Apr 7 16:08:27 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-7.8
Link : http://ghc.haskell.org/trac/ghc/changeset/6ecb89fe88573fe16b2ae4c4c43d11b20ac4492e/ghc
>---------------------------------------------------------------
commit 6ecb89fe88573fe16b2ae4c4c43d11b20ac4492e
Author: Austin Seipp <austin at well-typed.com>
Date: Mon Apr 7 10:15:05 2014 -0500
users_guide: note -XPatternSynonyms is required for use sites
Signed-off-by: Austin Seipp <austin at well-typed.com>
(cherry picked from commit b059dcc81e9c4097b5f04f85e1ac33586c494110)
>---------------------------------------------------------------
6ecb89fe88573fe16b2ae4c4c43d11b20ac4492e
docs/users_guide/glasgow_exts.xml | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index cd798ca..f56bb89 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -856,9 +856,11 @@ y)</literal> will not be coalesced.
</title>
<para>
-Pattern synonyms are enabled by the flag <literal>-XPatternSynonyms</literal>.
-More information and examples of view patterns can be found on the
-<ulink url="http://ghc.haskell.org/trac/ghc/wiki/PatternSynonyms">Wiki
+Pattern synonyms are enabled by the flag
+<literal>-XPatternSynonyms</literal>, which is required for both
+defining them <emphasis>and</emphasis> using them. More information
+and examples of view patterns can be found on the <ulink
+url="http://ghc.haskell.org/trac/ghc/wiki/PatternSynonyms">Wiki
page</ulink>.
</para>
More information about the ghc-commits
mailing list