[swift-users] How to extend a generic type with a Bool constraint?

Jens Alfke jens at mooseyard.com
Wed Aug 31 13:32:40 CDT 2016


> On Aug 31, 2016, at 11:09 AM, Jens Alfke <jens at mooseyard.com> wrote:
> 
> I’m also bemused that (as I said) there is a boolean protocol in Swift 2.2, and a different one in master (according to swiftdoc.org <http://swiftdoc.org/>), but none in Swift 3.0 (as of Xcode 8 beta 6). Is this just a glitch that snuck into the release? Or does the Swift in Xcode predate an API freeze?

To answer my own question: swiftdoc.org <http://swiftdoc.org/> is out of date; it hasn’t been updated since June 18 <https://github.com/SwiftDocOrg/SwiftDocOrg.github.io/commits/master> :( I have filed an issue <https://github.com/SwiftDocOrg/swiftdoc.org/issues/27>.

—Jens
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20160831/d2afdab9/attachment.html>


More information about the swift-users mailing list