From 6ecb89fe88573fe16b2ae4c4c43d11b20ac4492e Mon Sep 17 00:00:00 2001 From: Austin Seipp <austin@well-typed.com> Date: Mon, 7 Apr 2014 10:15:05 -0500 Subject: [PATCH] users_guide: note -XPatternSynonyms is required for use sites Signed-off-by: Austin Seipp <austin@well-typed.com> (cherry picked from commit 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 cd798ca26389..f56bb892ae3f 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> -- GitLab