<div dir="ltr">On Sat, Apr 1, 2017 at 3:40 AM, David Hart via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><br></div><div>On 1 Apr 2017, at 09:50, Brandon Trussell <<a href="mailto:brandon2k3@gmail.com" target="_blank">brandon2k3@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">I agree that based on the method name, I thought a collection would be returned. </div></div></blockquote><div><br></div></span><div>Now that I think more about it, I think you're right. It is confusing. Perhaps:</div><div><br></div><div>allAre(equalTo: )</div><div>allAre(matching: )</div></div></blockquote><div><br></div><div>Well, if we're going to go full stdlib naming guidelines, shouldn't they be--</div><div><br></div><div>```</div><div>areAll(equalTo:)</div><div>areAll(matching:)</div><div>```</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><blockquote type="cite"><div><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 1, 2017 at 12:36 AM, David Hart 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"><span><br>
<br>
> On 1 Apr 2017, at 06:02, Will Stanton via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br>
><br>
> +1 to adding, but the name `all` suggests (to me) the return of another sequence, not a Bool.<br>
<br>
</span>I'm not too concerned because the mandatory labels makes it clear.<br>
<div class="m_-2897905055517052418HOEnZb"><div class="m_-2897905055517052418h5"><br>
> Perhaps the function name should be question-like?<br>
><br>
> Suggesting: `membersSatisfy(condition:)` or `allSatisfy(condition:)` or maybe even just `satisfies(condition:)`<br>
> The question-like modifier/verb is necessary to suggest a Bool and IMO not a needless word.<br>
><br>
> Regards,<br>
> Will Stanton<br>
><br>
>> On Mar 31, 2017, at 11:28, Ben Cohen via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:<br>
>><br>
>> Hopefully non-controversial, aside from the naming of the method and arguments, about which controversy abounds<br>
><br>
> ______________________________<wbr>_________________<br>
> swift-evolution mailing list<br>
> <a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
> <a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailma<wbr>n/listinfo/swift-evolution</a><br>
<br>
______________________________<wbr>_________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailma<wbr>n/listinfo/swift-evolution</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_-2897905055517052418gmail_signature" data-smartmail="gmail_signature">Brandon</div>
</div>
</div></blockquote></span></div><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></blockquote></div><br></div></div>