<div dir="ltr"><div style="font-size:12.8px">The review of &quot;SE-0187: Introduce Sequence.filterMap(_:)&quot; begins now and runs through November 14th, 2017.  The proposal is available here:</div><div style="font-size:12.8px"><br></div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><a href="https://github.com/apple/swift-evolution/blob/master/proposals/0187-introduce-filtermap.md" target="_blank">https://github.com/apple/<wbr>swift-evolution/blob/master/<wbr>proposals/0187-introduce-<wbr>filtermap.md</a><div id="gmail-fYNMHIKbmG" class="gmail-donut-container"><div class="gmail-donut gmail-donut_green"></div></div></blockquote><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><br></blockquote><div style="font-size:12.8px"><span class="gmail-m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• What is your evaluation of the proposal?<br></div><div style="font-size:12.8px">Worthwhile since there is a potential problem. However I am not convinced:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">  1. About the name, it sounds like it filters and then maps rather than what it really does which is map and then filter. Also, what does it filter? How about mapFilterOptional (which is similar to Haskel name where Maybe is equivalent of Optional).</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">  2. There is a more general problem of automatically wrapping a non-optional in an optional; which this is a symptom off. So rather than fix up the symptom, why not fix the problem. In particular; why not stop the automatic conversion of a value to an optional, instead provide a value to optional operator (the reverse of !). Say a trailing ~, used like 5~ to mean Optional.some(5). ~ chosen because it is like an S, for some, on it&#39;s side.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span class="gmail-m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• Is the problem being addressed significant enough to warrant a change to Swift?<br></div><div style="font-size:12.8px">Marginal</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span class="gmail-m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• Does this proposal fit well with the feel and direction of Swift?<br></div><div style="font-size:12.8px">Yes and no - see comments above. In particular automatic conversions are not common in Swift. The conversion of a value to an optional automatically therefore stands out.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span class="gmail-m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?<br></div><div style="font-size:12.8px">Yes Scala, Haskel, and Java</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><span class="gmail-m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• How much effort did you put into your review? A glance, a quick reading, or an in-depth study?<br></div><div>Participated in Swift Evolution discussion</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">  -- Howard.<br></div></div>
<br><div class="gmail_quote">On 8 November 2017 at 10:23, John McCall <span dir="ltr">&lt;<a href="mailto:rjmccall@apple.com" target="_blank">rjmccall@apple.com</a>&gt;</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">Hello, Swift community!<div><br></div><div>The review of &quot;SE-0187: Introduce Sequence.filterMap(_:)&quot; begins now and runs through November 14th, 2017.  The proposal is available here:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><a href="https://github.com/apple/swift-evolution/blob/master/proposals/0187-introduce-filtermap.md" target="_blank">https://github.com/apple/<wbr>swift-evolution/blob/master/<wbr>proposals/0187-introduce-<wbr>filtermap.md</a></div></blockquote><div><br></div><div>Reviews are an important part of the Swift evolution process.  All reviews should be sent to the swift-evolution mailing list at</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution</a></blockquote><br>or, if you would like to keep your feedback private, directly to me as the review manager.  When replying, please try to keep the proposal link at the top of the message:<br><br><blockquote style="box-sizing:border-box;margin:0px 0px 16px;padding:0px 1em;border-left-width:0.25em;border-left-style:solid;border-left-color:rgb(223,226,229);background-color:rgb(255,255,255)"><p style="color:rgb(106,115,125);font-family:-apple-system,BlinkMacSystemFont,&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;box-sizing:border-box;margin-top:0px;margin-bottom:16px">Proposal link:</p><blockquote style="box-sizing:border-box;margin:0px;padding:0px 1em;border-left-width:0.25em;border-left-style:solid;border-left-color:rgb(223,226,229)"><font size="3"><a href="https://github.com/apple/swift-evolution/blob/master/proposals/0187-introduce-filtermap.md" target="_blank">https://github.com/apple/<wbr>swift-evolution/blob/master/<wbr>proposals/0187-introduce-<wbr>filtermap.md</a></font></blockquote></blockquote><blockquote style="box-sizing:border-box;margin:0px 0px 16px;padding:0px 1em;color:rgb(106,115,125);border-left-width:0.25em;border-left-style:solid;border-left-color:rgb(223,226,229);font-family:-apple-system,BlinkMacSystemFont,&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)"><div style="box-sizing:border-box;margin-top:0px;margin-bottom:0px">Reply text</div></blockquote><blockquote style="box-sizing:border-box;margin:0px 0px 16px;padding:0px 1em;color:rgb(106,115,125);border-left-width:0.25em;border-left-style:solid;border-left-color:rgb(223,226,229);font-family:-apple-system,BlinkMacSystemFont,&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif,&#39;Apple Color Emoji&#39;,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:16px;background-color:rgb(255,255,255)"><blockquote style="box-sizing:border-box;margin:0px;padding:0px 1em;border-left-width:0.25em;border-left-style:solid;border-left-color:rgb(223,226,229)"><div style="box-sizing:border-box;margin-top:0px;margin-bottom:0px">Other replies</div></blockquote></blockquote><b>What goes into a review?</b><br><br>The goal of the review process is to improve the proposal under review through constructive criticism and, eventually, determine the direction of Swift.<div><br></div><div>When writing your review, here are some questions you might want to answer in your review:<br><br><div><span class="m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• What is your evaluation of the proposal?<br></div><div><span class="m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• Is the problem being addressed significant enough to warrant a change to Swift?<br></div><div><span class="m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• Does this proposal fit well with the feel and direction of Swift?<br></div><div><span class="m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?<br></div><div><span class="m_3285210766928272268Apple-tab-span" style="white-space:pre-wrap">        </span>• How much effort did you put into your review? A glance, a quick reading, or an in-depth study?<br></div><div><br></div>More information about the Swift evolution process is available at:<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><a href="https://github.com/apple/swift-evolution/blob/master/process.md" target="_blank">https://github.com/apple/<wbr>swift-evolution/blob/master/<wbr>process.md</a></div></blockquote><div><br>As always, thank you for contributing to the evolution of Swift.<span class="HOEnZb"><font color="#888888"><br><br>John McCall<br>Review Manager<br></font></span></div></div></div><br>______________________________<wbr>_________________<br>
swift-evolution-announce mailing list<br>
<a href="mailto:swift-evolution-announce@swift.org">swift-evolution-announce@<wbr>swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution-announce" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution-announce</a><br>
<br></blockquote></div><br></div>