<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Rod,<div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 4, 2016, at 4:59 AM, Rod Brown <<a href="mailto:rodney.brown6@icloud.com" class="">rodney.brown6@icloud.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">Tony,</div><div class=""><br class=""></div><div class="">With regard to this proposal, is there any reason that this proposal did not include an OrderedSet value type? I suspect perhaps this is an oversight?</div><div class=""><br class=""></div><div class="">- Rod</div><br class=""></div></div></blockquote><div><br class=""></div><div>We considered it, but did not include it in this proposal for scoping reasons. It’s not quite as straightforward to bridge as the other types because it really should allow containment of “Any”, but NSOrderedSet would instead require “AnyObject.” This is fixable but involves a large amount of engineering work.</div><div><br class=""></div><div>- Tony</div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><blockquote type="cite" class=""><div class="">On 4 May 2016, at 1:50 PM, Rod Brown via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I believe this would fall in line with by Proposal SE-0069: Mutability and Foundation Value Types:</div><div class=""><br class=""></div><div class=""><a href="https://github.com/apple/swift-evolution/blob/master/proposals/0069-swift-mutability-for-foundation.md" class="">https://github.com/apple/swift-evolution/blob/master/proposals/0069-swift-mutability-for-foundation.md</a></div><div class=""><br class=""></div><div class="">I notice there is no OrderedSet in this proposal. I find it odd that it doesn’t yet include it.</div><div class=""><br class=""></div><div class="">- Rod</div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 4 May 2016, at 1:24 PM, Nicholas Maccharoli via swift-evolution <<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13">Hello Swift Community,</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13"><br class=""></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13">Recently I have noticed that there is a Set type but no OrderedSet type yet.</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13">If I want a set that preserves the original order I have to go with NSOrderedSet </div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13">but I think it would be nice to have a native implementation in the standard library. </div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13"><br class=""></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13">What are your thoughts on this?</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13"><br class=""></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13">Thanks!</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13"><br class=""></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif;color:#274e13">- Nick</div><div class=""><div class="gmail_signature"><div dir="ltr" class=""><div class=""><br class=""></div></div></div></div>
</div>
_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""></div></blockquote></div><br class=""></div>_______________________________________________<br class="">swift-evolution mailing list<br class=""><a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class=""></div></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></body></html>