[commit: ghc] master: Typo in manual (1192df4)

git at git.haskell.org git at git.haskell.org
Tue Oct 15 17:28:47 UTC 2013


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

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

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

commit 1192df4e0ab31874cc560c37c826f38ac2bbcac5
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Tue Oct 15 18:42:52 2013 +0200

    Typo in manual
    
    Remove remains of old role syntax


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

1192df4e0ab31874cc560c37c826f38ac2bbcac5
 docs/users_guide/glasgow_exts.xml |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 2a6c818..b0a4820 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -11131,13 +11131,13 @@ Here are some examples:</para>
   data T3 a b = MkT3 a     -- OK: nominal is higher than necessary, but safe
 
   type role T4 nominal
-  data T4 a = MkT4 (a Int)    -- OK, but N is higher than necessary
+  data T4 a = MkT4 (a Int) -- OK, but N is higher than necessary
 
   type role C representational _
   class C a b where ...    -- OK
 
   type role X nominal
-  type X a at N = ...           -- ERROR: role annotations not allowed for type synonyms
+  type X a = ...           -- ERROR: role annotations not allowed for type synonyms
 </programlisting>
 
 </sect2>



More information about the ghc-commits mailing list