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 <simo...@microsoft.com> 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> _______________________________________________ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc