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

Quinn "The Eskimo!" eskimo1 at apple.com
Thu Sep 1 03:59:51 CDT 2016


On 31 Aug 2016, at 19:09, Jens Alfke via swift-users <swift-users at swift.org> wrote:

> (Any doc writers listening? Or is there a procedure for requesting improvements to the book?)

If you file a Radar bug against the doc it will go to the right folks [1].

<https://developer.apple.com/bug-reporting/>

> I’m also bemused …

This is a linear progression in time:

1. `BooleanType` is the name in Swift 2.

2. `Boolean` is the post ‘great renaming’ name in Swift 3.

3. Currently it is unavailable per SE-0109.

Share and Enjoy
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

[1] Other stuff might works as well but Radar will definitely work.



More information about the swift-users mailing list