[commit: ghc] master: Minor fix to example GHC plugin in the documentation (ceb600d)

git at git.haskell.org git at git.haskell.org
Fri Nov 29 18:44:37 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ceb600de2e1892ee642de2df3f5892febe19b2bb/ghc

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

commit ceb600de2e1892ee642de2df3f5892febe19b2bb
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Fri Nov 29 18:44:31 2013 +0000

    Minor fix to example GHC plugin in the documentation


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

ceb600de2e1892ee642de2df3f5892febe19b2bb
 docs/users_guide/extending_ghc.xml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/users_guide/extending_ghc.xml b/docs/users_guide/extending_ghc.xml
index 5c9109c..1b5bbfa 100644
--- a/docs/users_guide/extending_ghc.xml
+++ b/docs/users_guide/extending_ghc.xml
@@ -245,7 +245,7 @@ pass = do dflags <- getDynFlags
 
 <programlisting>
 {-# LANGUAGE DeriveDataTypeable #-}
-module SayAnnNames.Plugin (plugin, SomeAnn) where
+module SayAnnNames.Plugin (plugin, SomeAnn(..)) where
 import GhcPlugins
 import Control.Monad (unless)
 import Data.Data



More information about the ghc-commits mailing list