[commit: ghc] master: users_guide: note -XPatternSynonyms is required for use sites (b059dcc)
git at git.haskell.org
git at git.haskell.org
Mon Apr 7 16:07:52 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b059dcc81e9c4097b5f04f85e1ac33586c494110/ghc
>---------------------------------------------------------------
commit b059dcc81e9c4097b5f04f85e1ac33586c494110
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>
>---------------------------------------------------------------
b059dcc81e9c4097b5f04f85e1ac33586c494110
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 44f0d98..c5ecbe3 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