[swift-corelibs-dev] Equality, etc in Foundation

Philippe Hausler phausler at apple.com
Mon Jan 4 14:59:10 CST 2016


Actually I think we already got this one integrated.

> On Jan 4, 2016, at 12:58 PM, Tony Parker via swift-corelibs-dev <swift-corelibs-dev at swift.org> wrote:
> 
> Hi Luke,
> 
> Your proposed fix seems reasonable to me. Did you submit it as a PR too?
> 
> Thanks,
> - Tony
> 
>> On Dec 29, 2015, at 11:28 PM, Luke Howard via swift-corelibs-dev <swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>> wrote:
>> 
>> Proposed fix:
>> 
>> https://github.com/lhoward/swift-corelibs-foundation/commit/fe5dcce6ccf06d2f5b8e85c792012dbaee8f59f7 <https://github.com/lhoward/swift-corelibs-foundation/commit/fe5dcce6ccf06d2f5b8e85c792012dbaee8f59f7>
>> 
>> Also tracking in [SR-414].
>> 
>>> On 30 Dec 2015, at 6:15 PM, Luke Howard via swift-corelibs-dev <swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>> wrote:
>>> 
>>>     import SwiftFoundation
>>>     
>>>     let url1 = NSURL(string: "foo.xml", relativeToURL:NSURL(string: "https://www.example.com <https://www.example.com/>"))!
>>>     let url2 = NSURL(string: "foo.xml", relativeToURL:NSURL(string: "https://www.example.com <https://www.example.com/>"))!
>>>     
>>>     print("\(url1.isEqual(url2))")
>>>     print("\(url1 == url2)")
>>> 
>> 
>> --
>> www.lukehoward.com <http://www.lukehoward.com/>
>> soundcloud.com/lukehoward <http://soundcloud.com/lukehoward>
>> 
>> _______________________________________________
>> swift-corelibs-dev mailing list
>> swift-corelibs-dev at swift.org <mailto:swift-corelibs-dev at swift.org>
>> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
> 
> 
> _______________________________________________
> swift-corelibs-dev mailing list
> swift-corelibs-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160104/ab1b0c49/attachment.html>


More information about the swift-corelibs-dev mailing list