[swift-evolution] [Manifesto] Completing Generics

Matt Whiteside mwhiteside.dev at gmail.com
Tue Mar 8 19:53:58 CST 2016


I’m really looking forward to the features on this list.

The following is one that I’ve come across the need for a couple times already, even with the limited amount of swift I have written:

> On Mar 2, 2016, at 17:22, Douglas Gregor via swift-evolution <swift-evolution at swift.org> wrote:
> 
> extension Array<String> {
>   func makeSentence() -> String {
>     // uppercase first string, concatenate with spaces, add a period, whatever
>   }
> }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160308/492418f2/attachment.html>


More information about the swift-evolution mailing list