<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
.MsoPapDefault
        {mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:0cm;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:517699411;
        mso-list-template-ids:58609608;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:"Courier New";
        mso-bidi-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:36.0pt">
Before we accept the proposal I think we should have a precise description of the changes to the syntax. For example, we don't address the question of whether a field name can be an operator or not. We explicitly left these questions until later; wouldn't now
 be the right time to address them?<o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Yes I put that under “What happens next”.   You are right about operators – I’ve added that.  Anything else to add?
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:36.0pt">
Also worth bringing up at this point, since we landed on C2a: Note 5 says <o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Yes this is why I argued for (C6) which avoids all this difficulty
</span><span style="font-family:"Segoe UI Emoji",sans-serif;mso-fareast-language:EN-US">😊</span><span style="mso-fareast-language:EN-US">.   But the consensus was otherwise.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I think the right thing is to ask the authors to elaborate this point.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Simon<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Simon Marlow <marlowsd@gmail.com>
<br>
<b>Sent:</b> 31 March 2020 11:41<br>
<b>To:</b> Simon Peyton Jones <simonpj@microsoft.com><br>
<b>Cc:</b> Joachim Breitner <mail@joachim-breitner.de>; ghc-steering-committee <ghc-steering-committee@haskell.org>; Neil Mitchell <ndmitchell@gmail.com>; Shayne Fletcher <shayne.fletcher@daml.com><br>
<b>Subject:</b> Re: [ghc-steering-committee] Record dot syntax: vote results<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
On Tue, 31 Mar 2020 at 11:08, Simon Peyton Jones via ghc-steering-committee <<a href="mailto:ghc-steering-committee@haskell.org">ghc-steering-committee@haskell.org</a>> wrote:<o:p></o:p></p>
</div>
<div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Thanks Joachim. <br>
<br>
Everyone: I have extended our choices document with a draft post to the Github thread.<br>
<a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.google.com%2Fdocument%2Fd%2F1MgovHRUUNjbuM4nM8qEe308MfbAYRh2Q8PxFHl7iY74%2Fedit%3Fusp%3Dsharing&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725127579&sdata=7qbW8kQDOgQ4l%2BYt8SG4aLpZWtZuZGFAql4nZsHda6w%3D&reserved=0" target="_blank">https://docs.google.com/document/d/1MgovHRUUNjbuM4nM8qEe308MfbAYRh2Q8PxFHl7iY74/edit?usp=sharing</a><br>
<br>
Can you review it, for both tone and content?  You have edit permission, so by all means improve the wording.  Look for omissions.  I want to bring the discussion to a close, not re-ignite further debate, but be respectful of those who disagree.<o:p></o:p></p>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Before we accept the proposal I think we should have a precise description of the changes to the syntax. For example, we don't address the question of whether a field name can be an operator or not. We explicitly left these questions until later; wouldn't now
 be the right time to address them?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
Also worth bringing up at this point, since we landed on C2a: Note 5 says <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<o:p> </o:p></p>
</div>
<div style="margin-left:30.0pt">
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<span style="font-family:"Arial",sans-serif;color:black">One mechanism for handling this is
</span><a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fshayne-fletcher-da%2Fghc-proposals%2Fblob%2Frecord-dot-syntax%2Fproposals%2F0000-record-dot-syntax.md%232322-parsing-of-field-selections&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725137574&sdata=Oi8HNd1uPpmvFwdHkOjOqREjYzq%2FAXvPMuatyxtsNk0%3D&reserved=0"><span style="font-family:"Arial",sans-serif;color:#1155CC">given
 in the proposal</span></a><span style="font-family:"Arial",sans-serif;color:black">.  It involves no changes to the lexer, but instead an adjacency test one production of the parser.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
I'm not sure about this as a language design. (1) it's an ad-hoc side-condition that can't be expressed in the lexical or context-free grammar (however there's precedent for this kind of thing in the form of the layout rule of course), and (2) it's quite a
 costly feature in terms of implementation effort to add to the language, because your AST needs complete and accurate source-span information. We can do it in GHC, and haskell-src-exts can do it nowadays, but earlier versions of haskell-src-exts before complete
 SrcSpanInfo was added wouldn't have been able to implement this rule. Arguably we're only accepting this as a GHC extension and not a Haskell extension in general, but as we know GHC is the testbed for future language extensions, so it's a good time to consider
 these issues.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
The alternative of course is to go with some variant of <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:6.0pt;margin-right:0cm;margin-bottom:6.0pt;margin-left:0cm">
<br>
<br>
<o:p></o:p></p>
<ol style="margin-top:0cm" start="1" type="1">
<ul style="margin-top:0cm" type="circle">
<li style="color:black;margin-top:0cm;margin-bottom:0cm;margin-bottom:.0001pt;mso-list:l0 level2 lfo1;vertical-align:baseline">
<span style="font-family:"Arial",sans-serif">Use the “tight infix” mechanism from
<a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fghc-proposals%2Fghc-proposals%2Fpull%2F229&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725137574&sdata=k7u9AQaqYTwKg4aYyCY2FpkqbleUI4vRe3cDjCeCB70%3D&reserved=0">
<span style="color:#1155CC">this (accepted) GHC proposal</span></a><o:p></o:p></span></li></ul>
</ol>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">which is also an ad-hoc side-condition sadly, but could be implemented in the lexer.  Nevertheless, all this needs to be nailed down before the proposal can be accepted, IMO.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Cheers<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Simon<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal"><br>
Could you do so this week, by end Friday?   I propose to leave the votes recorded there, but when posting I'll move the post from the document (deleting it from there) to GitHub.<br>
<br>
I'm cc'ing Neil and Shayne, the authors.  Neil, Shayne: I think (and desperately hope!) you'll be content with this outcome.  Can you review my draft post too?<br>
<br>
Simon<br>
<br>
|  -----Original Message-----<br>
|  From: ghc-steering-committee <<a href="mailto:ghc-steering-committee-bounces@haskell.org" target="_blank">ghc-steering-committee-bounces@haskell.org</a>><br>
|  On Behalf Of Joachim Breitner<br>
|  Sent: 30 March 2020 17:48<br>
|  To: ghc-steering-committee <<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a>><br>
|  Subject: Re: [ghc-steering-committee] Record dot syntax: vote results<br>
|  <br>
|  Dear Committe,<br>
|  <br>
|  thanks all for voting. The ranking of votes is now<br>
|  <br>
|        C2a > C2b > C4 > C1 > C7 > C6 > C3 > C5<br>
|  <br>
|  In particular C2a beats every other options by 7:4 or more, and is<br>
|  therefore the result of this poll.<br>
|  <br>
|  You can see more statistics at<br>
|  <a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cond" target="_blank">
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.cond</a><br>
|  <a href="https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Forcet.vote%2F&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725147571&sdata=f8WfZcvlMqcpblxUfvaT8%2BawbK6cH4210XkRCvFu6UY%3D&reserved=0" target="_blank">
orcet.vote</a>%2FVote%2FAB23CE70AC%2F&amp;data=02%7C01%7Csimonpj%40microsoft.c<br>
|  om%7Ce27e9c8f455b436e2bee08d7d4ca3538%7C72f988bf86f141af91ab2d7cd011db47%7<br>
|  C1%7C0%7C637211837260982595&amp;sdata=LLWCxVjXxyLqcJUZ9iMgB%2B5QYGMuHFzJga<br>
|  u9agTakiQ%3D&amp;reserved=0<br>
|  <br>
|  So, does this conclude this saga?<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>
|  <br>
|  <a href="https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.joach" target="_blank">
https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.joach</a><br>
|  im-<br>
|  <a href="https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fbreitner.de%2F&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725147571&sdata=fLDeA9p1vKtFcjTuILtNaCKvcp99pAiD9ETn2RMADp4%3D&reserved=0" target="_blank">
breitner.de</a>%2F&amp;data=02%7C01%7Csimonpj%<a href="https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2F40microsoft.com%2F&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725157562&sdata=kvvP%2FMLlPZ9KYbhiDysRi742vtthy7Xblhgi47ydig8%3D&reserved=0" target="_blank">40microsoft.com</a>%7Ce27e9c8f455b43<br>
|  6e2bee08d7d4ca3538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6372118372<br>
|  60982595&amp;sdata=GE%2BBYN7rA7zWgwuKlArv4PR%2Fm3IlmZ7PqWbGpgXUyms%3D&amp;<br>
|  reserved=0<br>
|  <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://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.has" target="_blank">
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.has</a><br>
|  <a href="https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2Fkell.org%2F&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725157562&sdata=VjbX%2FXp6vYXvKl48clU5WRaGPHVySY3oev7sdHB4Qjk%3D&reserved=0" target="_blank">
kell.org</a>%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-steering-<br>
|  committee&amp;data=02%7C01%7Csimonpj%<a href="https://nam06.safelinks.protection.outlook.com/?url=http%3A%2F%2F40microsoft.com%2F&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725157562&sdata=kvvP%2FMLlPZ9KYbhiDysRi742vtthy7Xblhgi47ydig8%3D&reserved=0" target="_blank">40microsoft.com</a>%7Ce27e9c8f455b436e2be<br>
|  e08d7d4ca3538%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637211837260982<br>
|  595&amp;sdata=nEx7qjYqnST1TA74HRkgK4O1zW3tvqpM4Dx4ECCig7I%3D&amp;reserved=<br>
|  0<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://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.haskell.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fghc-steering-committee&data=02%7C01%7Csimonpj%40microsoft.com%7Ca1b21c188d2540ed9d4108d7d560076c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637212480725167555&sdata=dtdX3frE5vODjryKcu2D2osa2kIEQzaXvDLCj4wxLgU%3D&reserved=0" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><o:p></o:p></p>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>