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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Gabor Greif-2
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 at 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
>

Reply | Threaded
Open this post in threaded view
|

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

Arash Rouhani
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 at git.haskell.org <git at git.haskell.org> wrote:
>> Repository : ssh://git at 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
>>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs


Reply | Threaded
Open this post in threaded view
|

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

Corey O'Connor
In reply to this post by Gabor Greif-2
+1

Also: Good news! I was unaware. :-)

-Corey O'Connor
coreyoconnor at gmail.com
http://corebotllc.com/


On Thu, Feb 6, 2014 at 3:41 AM, Gabor Greif <ggreif at gmail.com> 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 at git.haskell.org <git at git.haskell.org> wrote:
> > Repository : ssh://git at 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
> >
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140206/3ebd8c8c/attachment.html>

Reply | Threaded
Open this post in threaded view
|

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

Krzysztof Gogolewski
Done, thanks for the suggestion.


On Thu, Feb 6, 2014 at 9:22 PM, Corey O'Connor <coreyoconnor at gmail.com>wrote:

> +1
>
> Also: Good news! I was unaware. :-)
>
> -Corey O'Connor
> coreyoconnor at gmail.com
> http://corebotllc.com/
>
>
> On Thu, Feb 6, 2014 at 3:41 AM, Gabor Greif <ggreif at gmail.com> 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 at git.haskell.org <git at git.haskell.org> wrote:
>> > Repository : ssh://git at 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
>> >
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at haskell.org
>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140206/f449ba6c/attachment-0001.html>