[swift-evolution] [Proposal Draft] automatic protocol forwarding

Matthew Johnson matthew at anandabits.com
Wed Dec 30 17:56:52 CST 2015


> On Dec 30, 2015, at 11:33 AM, Patrick Gili <gili.patrick.r at gili-labs.com> wrote:
> 
> Just finished reading your write-up. It sounds similar to the Forwardable module supported by the Ruby standard library (http://ruby-doc.org/stdlib-2.0.0/libdoc/forwardable/rdoc/Forwardable.html). Is this the case?

It works somewhat differently, but it provides similar functionality.  As far as I can tell the only thing Forwardable does that this proposal does not do is support member renaming.  That is something that might make an interesting future enhancement to this proposal.

> 
> Cheers,
> -Patrick Gili



More information about the swift-evolution mailing list