<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">And I have replied -- anybody with views on how we do this should checkout out the discussions at <a href="https://github.com/ghc-proposals/ghc-proposals/pull/562#issuecomment-1397214914" class="">https://github.com/ghc-proposals/ghc-proposals/pull/562#issuecomment-1397214914</a><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 2023-01-19, at 15:46, Simon Peyton Jones <<a href="mailto:simon.peytonjones@gmail.com" class="">simon.peytonjones@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:tahoma,sans-serif">> 

Oleg has proposed that we do essentially the same trick Richard proposed to unify Nat and Natural, but with Symbol and String. <br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Well... not quite. I have commented on the proposal</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><a href="https://github.com/ghc-proposals/ghc-proposals/pull/562" class="">https://github.com/ghc-proposals/ghc-proposals/pull/562</a></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br class=""></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Simon<br class=""></div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 19 Jan 2023 at 15:28, Chris Dornan <<a href="mailto:chris@chrisdornan.com" class="">chris@chrisdornan.com</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">While we are at it, here is another proposal that I think should be straightforward.<br class="">
<br class="">
Oleg has proposed that we do essentially the same trick Richard proposed to unify Nat and Natural, but with Symbol and String.<br class="">
<br class="">
Specifically, he is proposing that we replace @data Symbol@ with @newtype Symbol = MkSymbol String@. I won't try and encapsulate any further -- the original is concise and clear.<br class="">
<br class="">
  * Oleg's "Make Symbol a newtype over String" proposal: <a href="https://github.com/ghc-proposals/ghc-proposals/blob/symbol-type/proposals/0000-symbol-newtype-string.rst" rel="noreferrer" target="_blank" class="">https://github.com/ghc-proposals/ghc-proposals/blob/symbol-type/proposals/0000-symbol-newtype-string.rst</a><br class="">
  * For comparison, Richard's accepted "Unify Nat and Natural" proposal: <a href="https://github.com/goldfirere/ghc-proposals/blob/natural/proposals/0000-unify-natural.rst" rel="noreferrer" target="_blank" class="">https://github.com/goldfirere/ghc-proposals/blob/natural/proposals/0000-unify-natural.rst</a><br class="">
<br class="">
I suggest we allow the usual two weeks to speak or forever hold your peace.<br class="">
<br class="">
Chris<br class="">
_______________________________________________<br class="">
ghc-steering-committee mailing list<br class="">
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank" class="">ghc-steering-committee@haskell.org</a><br class="">
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank" class="">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br class="">
</blockquote></div>
</div></blockquote></div><br class=""></body></html>