[swift-evolution] [swift-users] pattern matching in if improvement?

David Sweeris davesweeris at mac.com
Sun Mar 27 17:04:29 CDT 2016


I'm not where I can check, but is "=~" taken?

Sent from my iPhone

> On Mar 26, 2016, at 22:19, Lukas Stabe via swift-users <swift-users at swift.org> wrote:
> 
> 
> An alternative may be to introduce a custom operator that just calls `~=` with the arguments reversed, but imho this should rather be fixed at the language level.
> 
> – Lukas


More information about the swift-evolution mailing list