[swift-evolution] Pattern matching with Arrays

Joseph Newton jnewto32 at gmail.com
Tue Jan 17 10:10:29 CST 2017


+1

I've had many a use case for this and would benefit from it being added. 

> On Jan 17, 2017, at 10:39, Mathew Sanders via swift-evolution <swift-evolution at swift.org> wrote:
> 
> Great to hear that more pattern matching is likely in the Swift's future, and whatever form it takes I'm looking forward to it :)
> 
>> Do you think it would make sense to make this an official part of swift-evolution?  Perhaps an analog to the “commonly rejected” list?
>> https://github.com/apple/swift-evolution/blob/master/commonly_proposed.md
> 
> 
> +1 on that, I'd love to have a peek ahead to see the direction swift might be taking in the long-term... and I actually looked for something like this before I mailed the list.
> 
>> On 17 January 2017 at 01:21, Chris Lattner <sabre at nondot.org> wrote:
>> 
>>> On Jan 16, 2017, at 9:53 PM, Jay Abbott via swift-evolution <swift-evolution at swift.org> wrote:
>>> 
>>> Regarding the "some-day" list (or "deferred" proposals): It has been discussed many times before, and Chris also agreed that it would be useful[1], but nobody seems to have made it happen. So I have created a trello board:
>>> https://trello.com/b/dkVHvhGn/swift-deferred-proposals
>>> 
>>> Hopefully we can maintain it collectively, and it should be a handy quick reference to previous discussions about specific subjects. I've added a few lists/cards to get started, including a link to this discussion about pattern matching. There's a README on the board that contains a link to gain add/edit access to the board.
>> 
>> Hi Jay,
>> 
>> Do you think it would make sense to make this an official part of swift-evolution?  Perhaps an analog to the “commonly rejected” list?
>> https://github.com/apple/swift-evolution/blob/master/commonly_proposed.md
>> 
>> -Chris
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20170117/b09313b5/attachment.html>


More information about the swift-evolution mailing list