<div dir="ltr"><div dir="ltr">Dear all,</div><div dir="ltr"><br></div><div dir="ltr">I struggle to have an opinion on these proposals on whether we should unify Nat/Natural, Symbol/String etc…</div><div dir="ltr"><br></div><div>But in this particular case, and as I've written in the proposal's thread, I fail to see how the proposed change addresses its motivations. So I'm leaning toward rejection right now.</div><div><br></div><div>/Arnaud<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 19 Jan 2023 at 21:36, Adam Gundry <<a href="mailto:adam@well-typed.com">adam@well-typed.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">Thanks for reviving this proposal, Chris. I support acceptance (and am <br>
happy to set aside the alternative of `type Symbol = String`, which is <br>
distinctly less compelling than `type Nat = Natural`).<br>
<br>
Adam<br>
<br>
<br>
On 19/01/2023 16:07, Chris Dornan wrote:<br>
> And I have replied -- anybody with views on how we do this should <br>
> checkout out the discussions at <br>
> <a href="https://github.com/ghc-proposals/ghc-proposals/pull/562#issuecomment-1397214914" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/pull/562#issuecomment-1397214914</a> <<a href="https://github.com/ghc-proposals/ghc-proposals/pull/562#issuecomment-1397214914" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/pull/562#issuecomment-1397214914</a>><br>
> <br>
>> On 2023-01-19, at 15:46, Simon Peyton Jones <br>
>> <<a href="mailto:simon.peytonjones@gmail.com" target="_blank">simon.peytonjones@gmail.com</a> <mailto:<a href="mailto:simon.peytonjones@gmail.com" target="_blank">simon.peytonjones@gmail.com</a>>> wrote:<br>
>><br>
>> > Oleg has proposed that we do essentially the same trick Richard <br>
>> proposed to unify Nat and Natural, but with Symbol and String.<br>
>><br>
>> Well... not quite. I have commented on the proposal<br>
>> <a href="https://github.com/ghc-proposals/ghc-proposals/pull/562" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/pull/562</a> <br>
>> <<a href="https://github.com/ghc-proposals/ghc-proposals/pull/562" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/pull/562</a>><br>
>><br>
>> Simon<br>
>><br>
>> On Thu, 19 Jan 2023 at 15:28, Chris Dornan <<a href="mailto:chris@chrisdornan.com" target="_blank">chris@chrisdornan.com</a> <br>
>> <mailto:<a href="mailto:chris@chrisdornan.com" target="_blank">chris@chrisdornan.com</a>>> wrote:<br>
>><br>
>>     While we are at it, here is another proposal that I think should<br>
>>     be straightforward.<br>
>><br>
>>     Oleg has proposed that we do essentially the same trick Richard<br>
>>     proposed to unify Nat and Natural, but with Symbol and String.<br>
>><br>
>>     Specifically, he is proposing that we replace @data Symbol@ with<br>
>>     @newtype Symbol = MkSymbol String@. I won't try and encapsulate<br>
>>     any further -- the original is concise and clear.<br>
>><br>
>>       * Oleg's "Make Symbol a newtype over String" proposal:<br>
>>     <a href="https://github.com/ghc-proposals/ghc-proposals/blob/symbol-type/proposals/0000-symbol-newtype-string.rst" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/blob/symbol-type/proposals/0000-symbol-newtype-string.rst</a> <<a href="https://github.com/ghc-proposals/ghc-proposals/blob/symbol-type/proposals/0000-symbol-newtype-string.rst" rel="noreferrer" target="_blank">https://github.com/ghc-proposals/ghc-proposals/blob/symbol-type/proposals/0000-symbol-newtype-string.rst</a>><br>
>>       * For comparison, Richard's accepted "Unify Nat and Natural"<br>
>>     proposal:<br>
>>     <a href="https://github.com/goldfirere/ghc-proposals/blob/natural/proposals/0000-unify-natural.rst" rel="noreferrer" target="_blank">https://github.com/goldfirere/ghc-proposals/blob/natural/proposals/0000-unify-natural.rst</a> <<a href="https://github.com/goldfirere/ghc-proposals/blob/natural/proposals/0000-unify-natural.rst" rel="noreferrer" target="_blank">https://github.com/goldfirere/ghc-proposals/blob/natural/proposals/0000-unify-natural.rst</a>><br>
>><br>
>>     I suggest we allow the usual two weeks to speak or forever hold<br>
>>     your peace.<br>
>><br>
>>     Chris<br>
<br>
-- <br>
Adam Gundry, Haskell Consultant<br>
Well-Typed LLP, <a href="https://www.well-typed.com/" rel="noreferrer" target="_blank">https://www.well-typed.com/</a><br>
<br>
Registered in England & Wales, OC335890<br>
27 Old Gloucester Street, London WC1N 3AX, England<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>