[commit: ghc] master: Tweak documentation of monomorphism restriction (41cfc96)

git at git.haskell.org git at git.haskell.org
Thu Feb 6 22:17:27 UTC 2014


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

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

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

commit 41cfc96b55a4a44953fc20aa72ef50789ba6ceab
Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
Date:   Thu Feb 6 23:15:50 2014 +0100

    Tweak documentation of monomorphism restriction
    
    Suggested by Gabor Greif on ghc-devs


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

41cfc96b55a4a44953fc20aa72ef50789ba6ceab
 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 1564f38..fb3eb48 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -7862,8 +7862,8 @@ scope over the methods defined in the <literal>where</literal> part.  For exampl
 4.5.5</ulink>
 of the Haskell Report)
 can be completely switched off by
-<option>-XNoMonomorphismRestriction</option>. Since GHC 7.8.1, it is
-switched off by default in GHCi.
+<option>-XNoMonomorphismRestriction</option>. Since GHC 7.8.1, the monomorphism
+restriction is switched off by default in GHCi.
 </para>
 </sect3>
 



More information about the ghc-commits mailing list