[swift-users] StringProtocol - Do not declare new conformances?

Braden Scothern bradenscothern at gmail.com
Tue Sep 19 17:27:19 CDT 2017

After digging around more I feel this is the wrong email list. Sorry for
the spam. I will move it to Swift-Evolution.

On Tue, Sep 19, 2017 at 4:18 PM, Braden Scothern via swift-users <
swift-users at swift.org> wrote:

> I am new to the Swift email lists so if this is in the wrong email list I
> am sorry and please redirect me...
> Where I work we are writing a C library for cross platform development on
> iOS, Android, and Ubuntu. Part of what I do with this library is wrap it in
> Swift. We have a string type that should conform to StringProtocol, we only
> need to implement a few more pieces and it will have that functionality.
> The issue is that the StringProtocol has this statement for its
> documentation overview:
> "Do not declare new conformances to StringProtocol. Only the String and
> Substring types of the standard library are valid conforming types."
> So which email list should I be pushing back on to have this statement on
> StringProtocol reconsidered and should we just conform to it anyways once
> we finish having all of the support required?
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170919/4309ec4f/attachment.html>

More information about the swift-users mailing list