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

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@git.haskell.org
Repository : ssh://git@git.haskell.org/ghc
On branch : master Link : http://ghc.haskell.org/trac/ghc/changeset/5bda0d08d8fec86433917b65a93836d237...
---------------------------------------------------------------
commit 5bda0d08d8fec86433917b65a93836d2372a5b5c Author: Krzysztof Gogolewski
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@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits

I agree. It was unclear to me first what "it" referred to. /Arash On 2014-02-06 12:41, Gabor Greif wrote:
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@git.haskell.org
wrote: Repository : ssh://git@git.haskell.org/ghc
On branch : master Link : http://ghc.haskell.org/trac/ghc/changeset/5bda0d08d8fec86433917b65a93836d237...
--------------------------------------------------------------- commit 5bda0d08d8fec86433917b65a93836d2372a5b5c Author: Krzysztof Gogolewski
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@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

+1
Also: Good news! I was unaware. :-)
-Corey O'Connor
coreyoconnor@gmail.com
http://corebotllc.com/
On Thu, Feb 6, 2014 at 3:41 AM, Gabor Greif
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@git.haskell.org
wrote: Repository : ssh://git@git.haskell.org/ghc
On branch : master Link :
http://ghc.haskell.org/trac/ghc/changeset/5bda0d08d8fec86433917b65a93836d237...
---------------------------------------------------------------
commit 5bda0d08d8fec86433917b65a93836d2372a5b5c Author: Krzysztof Gogolewski
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@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Done, thanks for the suggestion.
On Thu, Feb 6, 2014 at 9:22 PM, Corey O'Connor
+1
Also: Good news! I was unaware. :-)
-Corey O'Connor coreyoconnor@gmail.com http://corebotllc.com/
On Thu, Feb 6, 2014 at 3:41 AM, Gabor Greif
wrote: 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@git.haskell.org
wrote: Repository : ssh://git@git.haskell.org/ghc
On branch : master Link :
http://ghc.haskell.org/trac/ghc/changeset/5bda0d08d8fec86433917b65a93836d237...
---------------------------------------------------------------
commit 5bda0d08d8fec86433917b65a93836d2372a5b5c Author: Krzysztof Gogolewski
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@haskell.org http://www.haskell.org/mailman/listinfo/ghc-commits
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
participants (4)
-
Arash Rouhani
-
Corey O'Connor
-
Gabor Greif
-
Krzysztof Gogolewski