[commit: ghc] master: Clarify documentation of [~] syntax on RULE activations (d3e2912)

Simon Peyton Jones <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/d3e2912ac2048346828539e0dfef6c0cefef0d38

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

commit d3e2912ac2048346828539e0dfef6c0cefef0d38
Author: Simon Peyton Jones <[email protected]>
Date:   Fri Dec 21 13:17:26 2012 +0000

    Clarify documentation of [~] syntax on RULE activations

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

 docs/users_guide/glasgow_exts.xml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 49b6ea3..4eb39c4 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -9471,6 +9471,9 @@ Phase 2.
 </para>
 <para>
 Rules support the special phase-control notation "[~]", which means the rule is never active.
+This feature supports plugins (see <xref linkend="compiler-plugins"/>), by making it possible
+to define a RULE that is never run by GHC, but is nevertheless parsed, typechecked etc, so that
+it is available to the plugin.
 </para>
 </listitem>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.