[swift-evolution] Allowing enum extensions to also be able to expand case options

Dan Appel dan.appel00 at gmail.com
Fri Jul 1 12:41:42 CDT 2016


That makes sense, thanks for letting us know.

Dan
On Thu, Jun 30, 2016 at 11:32 PM Chris Lattner via swift-evolution <
swift-evolution at swift.org> wrote:

>
> > On Jun 30, 2016, at 12:58 PM, Edward Valentini via swift-evolution <
> swift-evolution at swift.org> wrote:
> >
> >
> > I am finding myself in a situation where the most elegant "swifty"
> solution would be to allow enum extensions to add to existing case
> options.  For example lets say I'm using a library that has the following
> enum defined:
>
> This is an additive proposal, so the core team would prefer you to wait
> until after Swift 3.0 to discuss this.  Thanks,
>
> -Chris
>
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
>
-- 
Dan Appel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160701/45466604/attachment.html>


More information about the swift-evolution mailing list