[commit: ghc] master: Docs: `-XTypeOperators` (#10175) (b07dccc)

git at git.haskell.org git at git.haskell.org
Fri Jun 12 18:52:57 UTC 2015


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

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

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

commit b07dcccd2219eb2d08868bc6144f289b4e0aadf1
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date:   Fri Jun 12 20:06:31 2015 +0200

    Docs: `-XTypeOperators` (#10175)
    
    [skip ci]


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

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

diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index 08208d4..f5e04e0 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -2922,7 +2922,7 @@ if you write <literal>import M( (+) )</literal> do you mean the
 <emphasis>function</emphasis> <literal>(+)</literal> or the
 <emphasis>type constructor</emphasis> <literal>(+)</literal>?
 The default is the former, but with <option>-XExplicitNamespaces</option> (which is implied
-by <option>-XExplicitTypeOperators</option>) GHC allows you to specify the latter
+by <option>-XTypeOperators</option>) GHC allows you to specify the latter
 by preceding it with the keyword <literal>type</literal>, thus:
 <programlisting>
 import M( type (+) )



More information about the ghc-commits mailing list