[commit: ghc] master: Mention that MR is off by default in GHCi in documentation (5bda0d0)

Gabor Greif ggreif at gmail.com
Thu Feb 6 11:41:45 UTC 2014


It would be probably clearer to say

"Since GHC 7.8.1, the monomorphism restriction is switched off by
default in GHCi."

This makes the awkward double-negation feeling go away.
What do others think?

Cheers,

    Gabor

On 2/6/14, git at git.haskell.org <git at git.haskell.org> wrote:
> Repository : ssh://git@git.haskell.org/ghc
>
> On branch  : master
> Link       :
> http://ghc.haskell.org/trac/ghc/changeset/5bda0d08d8fec86433917b65a93836d2372a5b5c/ghc
>
>>---------------------------------------------------------------
>
> commit 5bda0d08d8fec86433917b65a93836d2372a5b5c
> Author: Krzysztof Gogolewski <krz.gogolewski at gmail.com>
> Date:   Wed Feb 5 20:40:13 2014 +0100
>
>     Mention that MR is off by default in GHCi in documentation
>
>
>>---------------------------------------------------------------
>
> 5bda0d08d8fec86433917b65a93836d2372a5b5c
>  docs/users_guide/glasgow_exts.xml |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/docs/users_guide/glasgow_exts.xml
> b/docs/users_guide/glasgow_exts.xml
> index a3913cc..1564f38 100644
> --- a/docs/users_guide/glasgow_exts.xml
> +++ b/docs/users_guide/glasgow_exts.xml
> @@ -7862,7 +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>.
> +<option>-XNoMonomorphismRestriction</option>. Since GHC 7.8.1, it is
> +switched off by default in GHCi.
>  </para>
>  </sect3>
>
>
> _______________________________________________
> ghc-commits mailing list
> ghc-commits at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-commits
>


More information about the ghc-devs mailing list