<div dir="ltr">+1, but we should hear from Simon about the existential point.<br><div class="gmail_extra"><br><div class="gmail_quote">On 1 June 2018 at 08:30, Manuel M T Chakravarty <span dir="ltr"><<a href="mailto:chak@justtesting.org" target="_blank">chak@justtesting.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">We now have a revised version of the ”Or pattern” proposal #43 to consider:<div><br></div><div> (formatted) <a href="https://github.com/osa1/ghc-proposals/blob/or_patterns/proposals/0000-or-" target="_blank">https://github.co<wbr>m/osa1/ghc-proposals/blob/or_<wbr>patterns/proposals/0000-or-</a>pat<wbr>terns.rst<br> (PR thread) <a href="https://github.com/ghc-proposals/ghc-proposals/pull/43" target="_blank">https://github.com/ghc<wbr>-proposals/ghc-proposals/pull/<wbr>43</a></div><div><br></div><div>You may remember that we discuss this a while back</div><div><br></div><div>  <a href="https://mail.haskell.org/pipermail/ghc-steering-committee/2017-November/000231.html" target="_blank">https://mail.haskell.org/pip<wbr>ermail/ghc-steering-committee/<wbr>2017-November/000231.html</a></div><div><br></div><div>and finally decided to bounce it back to the authors with the following recommendation:</div><div><br></div><div>  <a href="https://github.com/ghc-proposals/ghc-proposals/pull/43#issuecomment-358189327" target="_blank">https://github.com/ghc-propo<wbr>sals/ghc-proposals/pull/43#<wbr>issuecomment-358189327</a></div><div><br></div><div>We previously decided that we are inclined to accept this proposal if the authors change the points that we highlighted. Judging from the conversation of SimonPJ and Richard with the author on the GitHub thread, it appears to me that most of the issues have been addressed. However, Simon’s point </div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div><span class="m_-8081657056359257599m_-912137396318016785Apple-tab-span" style="white-space:pre-wrap"> </span>• "Patterns that bind existentials, dictionaries, or equalities are rejected by the type checker". I disagree. Earlier I suggested "no variable bound by an or-pattern can have a type that mentions an existential variable bound by the or-pattern". That is much more friendly because you can still match against an existential constructor; you just can’t bind an existential variable.</div></div><div><br></div></blockquote>from <<a href="https://github.com/ghc-proposals/ghc-proposals/pull/43#issuecomment-368933401" target="_blank">https://github.com/ghc-propos<wbr>als/ghc-proposals/pull/43#<wbr>issuecomment-368933401</a>> still doesn’t seem to be addressed, or am I misunderstanding?<div><br></div><div>Overall, I propose to accept the proposal, possibly requiring that the above point be addressed.<br><div><br></div><div>What do you all think?</div><div><br></div><div>Cheers,</div><div>Manuel</div><div><br></div></div></div><br>______________________________<wbr>_________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell<wbr>.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-b<wbr>in/mailman/listinfo/ghc-steeri<wbr>ng-committee</a><br>
<br></blockquote></div><br></div></div>