[commit: ghc] ghc-7.8: Tweak documentation of monomorphism restriction (be6d9df)

git at git.haskell.org git at git.haskell.org
Mon Feb 17 09:14:44 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/be6d9df23794372e9ec83b5526be27d15ed5b10a/ghc

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

commit be6d9df23794372e9ec83b5526be27d15ed5b10a
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
    
    (cherry picked from commit 41cfc96b55a4a44953fc20aa72ef50789ba6ceab)


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

be6d9df23794372e9ec83b5526be27d15ed5b10a
 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