[swift-evolution] Bridging the gap between protocols and protocol extensions

Howard Lovatt howard.lovatt at gmail.com
Wed Jan 13 01:24:49 CST 2016


@Brent,

I don't want to derail this thread either.

If you want to post on the other thread your concerns I am happy to take a
look.

Cheers,

 -- Howard.

On 13 January 2016 at 17:42, Brent Royal-Gordon <brent at architechies.com>
wrote:

> > I have put a proposal in for generic protocols and covariant generics:
> >
> >       [swift-evolution] Make generics covariant and add generics to
>  protocols
> >
> > This proposal requires that protocol functions are dynamically
> dispatched, i.e. it would require this change.
>
> What you propose is a fairly serious redesign of how protocols handle
> related types; I'm trying to focus on changes that hopefully are relatively
> uncontroversial and mostly straightforwardly extend what currently exists.
>
> (Frankly, I'm also not in favor of replacing associated types, because I
> think they're a far better fit for the task than generics. But I don't want
> to derail this thread into a critique of your proposal.)
>
> --
> Brent Royal-Gordon
> Architechies
>
>


-- 
  -- Howard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160113/f1f63591/attachment.html>


More information about the swift-evolution mailing list