<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
The General Rules outlined in <a href="https://github.com/ghc-proposals/ghc-proposals/pull/571#issuecomment-1729218305" target="_blank">https://github.com/ghc-proposals/ghc-proposals/pull/571#issuecomment-1729218305</a> can be a good first step. </blockquote><div><br></div><div>I think that articulating some General Rules like this would help us a lot.</div><div><br></div><div>If we had <a href="https://github.com/ghc-proposals/ghc-proposals/pull/601">#601 </a>in some form (it is back with the author for review), we would have a list of extensions designated "stable", which we might treat differently to extensions designated "experimental". That would help too.</div><div><br></div><div>I realise that (GR1) is stronger than I intended: I think we need to allow room to modify extensions designated "experimental" -- that's what "experimental" means! <br></div><div></div><div>
<ul><li>General rule (GR1): a GHC proposal should ensure that code that invokes only extensions designated "stable", and that compiles before the change, will continue compile
after the change, given the same compiler flags</li><ul><li>We exclude <code class="gmail-notranslate">-Werror</code> because otherwise (GR1) would be broken whenever we add a warning.</li><li>We exclude experimental extensions because those are (by definition) subject to change.</li><li>(GR1) is trivially satisfied if the change is gated behind an extension flag.</li><li>(GR1) is broken if, say, we turn a warning into an error</li></ul></ul><div>Is that acceptable? <br></div><div><br></div><div>PS: we should also agree that a "stable" extension should not require dependencies on ghc-experimental. To become stable, any library support for an extension must move into `base`.<br></div><div><br></div><div>Moritz quotes Simon M saying <br></div><div><br></div><div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">when considering the cost/benefit tradeoff adding a migration cycle doesn't reduce the cost, it just defers it.</blockquote><div><br></div><div>I understood that as saying "don't bother with a deprecation cycle". But I understand Moritz as saying "please give us a deprecation cycle". I don't have a strong view myself but it would be good to achieve consensus on this point. I <i>think </i>(but I am not sure) that the consensus is:</div><div><ul><li>Do have a deprecation cycle if possible.</li><li>Do not treat a deprecation cycle as an excuse. Costs are deferred but are as large as ever.</li></ul><div>Simon<br></div></div>
</div></div>
</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 22 Sept 2023 at 09:13, Moritz Angermann <<a href="mailto:moritz.angermann@gmail.com">moritz.angermann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default"></div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default"></div></div></blockquote><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;font-family:tahoma,sans-serif"><div dir="auto" style="font-family:tahoma,sans-serif">As there is supposedly a backwards compatible implementation for this, I’d like to ask for this to be considered in two steps:</div><div dir="auto" style="font-family:tahoma,sans-serif">- backwards compatible change first.</div><div dir="auto" style="font-family:tahoma,sans-serif">- deprecation and change of syntax second.</div></blockquote><div style="font-family:tahoma,sans-serif"><br></div><div style="font-family:tahoma,sans-serif">If that's possible, it sounds plausible. Perhaps you can make the suggestion on the main discussion thread, and Adam can respond? <br></div></div></div><div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default"><span></span></div></div></blockquote><div dir="auto"><br></div><div dir="auto">The proposal already contains this suggestion if my reading is correct. The breaking change is the reordering of parameters of setField. And lists under the section “Order of arguments to setField”, that this proposal can work without the reordering.</div><div dir="auto"><br></div><div dir="auto">I am feeling quit uneasy arguing for this, as this option only came up due to the proposal being written so thoroughly. The proposal also explicitly notes that OverloadedRecordUpdate has been marked as experimental. In the “Backward Compatibility” section. </div><div dir="auto"><br></div><div dir="auto">While I still disagree that there can be any experimental features in a stable release, I can see myself supporting this proposal if we collectively work towards preventing this going forward. The General Rules outlined in <div dir="auto"><a href="https://github.com/ghc-proposals/ghc-proposals/pull/571#issuecomment-1729218305" target="_blank">https://github.com/ghc-proposals/ghc-proposals/pull/571#issuecomment-1729218305</a> can be a good first step. </div><div dir="auto"><br></div><div dir="auto">I’d still like to hear Simon Marlow’s thoughts on this after his plea for a culture shift recently<div><a href="https://mail.haskell.org/pipermail/ghc-steering-committee/2023-September/003432.html" target="_blank">https://mail.haskell.org/pipermail/ghc-steering-committee/2023-September/003432.html</a></div></div></div><div dir="auto"><br></div><div dir="auto">Best,</div><div dir="auto"> Moritz</div><div dir="auto"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:tahoma,sans-serif" class="gmail_default" dir="auto"><span>On Fri, 22 Sept 2023 at 02:07, Moritz Angermann <</span><a href="mailto:moritz.angermann@gmail.com" target="_blank">moritz.angermann@gmail.com</a><span>> wrote:</span><br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I’m tempted to recuse myself as well on the technical merits of this proposal. As others might already expect, I am concerned about this breaking existing code. Do we have a rough estimate how much this will break?</div><div dir="auto"><br></div><div dir="auto">It also surfaces a topic we discussed just a short while ago. We have a feature in a stable compiler release, which we consider experimental, and thus reserve the right to break? I find this concept still fundamentally flawed. Anything that is part of stable compiler releases has to be considered stable by extension and thus needs to be treated with utmost care.</div><div dir="auto"><br></div><div dir="auto">I can see and fully support the wish to have a language reactor where things can be experimented with. But if we have this in our stable releases, it needs to be guarded in a way that users of those features have to actively opt in to it. I have people seen adopting this feature already, and I do not believe all of them are aware that this is a bleeding edge feature that can break without notice at any point in time.</div><div dir="auto"><br></div><div dir="auto">As there is supposedly a backwards compatible implementation for this, I’d like to ask for this to be considered in two steps:</div><div dir="auto">- backwards compatible change first.</div><div dir="auto">- deprecation and change of syntax second.</div><div dir="auto"><br></div><div dir="auto">Yes, this will be more work on behalf of the implementors. The burden of change is on the implementors, we can’t expect our users to cover the costs.</div><div dir="auto"><br></div><div dir="auto">For the second part, we should also have a thorough justification for the need to break. </div><div dir="auto"><br></div><div dir="auto">I’ll leave this with two links:</div><div dir="auto">Simon Marlow’s recent comment: <div><a href="https://mail.haskell.org/pipermail/ghc-steering-committee/2023-September/003432.html" target="_blank">https://mail.haskell.org/pipermail/ghc-steering-committee/2023-September/003432.html</a></div><div dir="auto">Dimitriis Tweet contrasting OCaml to Haskell: <div><a href="https://x.com/chshersh/status/1704886633856696831?s=46" target="_blank">https://x.com/chshersh/status/1704886633856696831?s=46</a></div></div></div><div dir="auto"><br></div><div dir="auto">Best</div><div dir="auto"> Moritz</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 22 Sep 2023 at 1:21 AM, Joachim Breitner <<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Am Donnerstag, dem 21.09.2023 um 09:37 +0200 schrieb Arnaud Spiwack:<br>
> Dear all.<br>
> <br>
> I submitted my recommendation 3 weeks ago, and only Simon has<br>
> commented yet. Please let me know your thoughts.<br>
<br>
I am essentially ignorant about anything related to records in Haskell,<br>
and will recuse myself, trusting y’all about this.<br>
<br>
Cheers,<br>
Joachim<br>
<br>
-- <br>
Joachim Breitner<br>
<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a><br>
<a href="http://www.joachim-breitner.de/" rel="noreferrer" target="_blank">http://www.joachim-breitner.de/</a><br>
<br>
_______________________________________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a><br>
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br>
</blockquote></div></div>
_______________________________________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a><br>
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br>
</blockquote></div>
</blockquote></div></div>
</blockquote></div>