[swift-evolution] Proposal: pattern match based on associated value(s) only

Andrey Tarantsov andrey at tarantsov.com
Wed Mar 2 01:00:25 CST 2016


And regarding:

> What would that be for this example? Many cases?
>
>> 3. Can you talk about a non-toy example you've encountered where it
>>    would have made your code better?

A non-toy example is something that's likely to be found in a real app.

A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160302/35b4325c/attachment.html>


More information about the swift-evolution mailing list