<div dir="ltr"><div class="gmail_default" style="color:rgb(68,68,68)"><font face="arial, helvetica, sans-serif">+1 for filterMap(_:)</font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 8, 2017 at 7:35 PM, Johannes Weiß via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1 and agree with Stephen on why<br>
<br>
> On 8 Nov 2017, at 8:17 am, Stephen Celis via swift-evolution <<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a>> wrote:<br>
><br>
> +1<br>
><br>
>> On Nov 7, 2017, at 6:23 PM, John McCall <<a href="mailto:rjmccall@apple.com">rjmccall@apple.com</a>> wrote:<br>
>><br>
>> • What is your evaluation of the proposal?<br>
><br>
> BJ summarized my thoughts nicely. I think “flatMap” in its current form is confusing to both newcomers and functional programmers familiar with the nomenclature. I’ve been aware of this disparity and thought about it for awhile. I typically redefine “flatMap” as “mapOptional” in my projects for clarity.<br>
><br>
>> • Is the problem being addressed significant enough to warrant a change to Swift?<br>
><br>
> I think so! It improves the user experience in a significant way to those that encounter the function in the wild.<br>
><br>
>> • Does this proposal fit well with the feel and direction of Swift?<br>
><br>
> Yes.<br>
><br>
>> • If you have used other languages or libraries with a similar feature, how do you feel that this proposal compares to those?<br>
><br>
> It fits in well. Swift’s current extra implementation of “flatMap” is the anomaly.<br>
><br>
>> • How much effort did you put into your review? A glance, a quick reading, or an in-depth study?<br>
><br>
> Gave a quick reading to the proposal.<br>
> ______________________________<wbr>_________________<br>
> swift-evolution mailing list<br>
> <a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution</a><br>
<br>
______________________________<wbr>_________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Logan<div><a href="http://loganmoseley.com" target="_blank">loganmoseley.com</a></div></div>
</div>