Y
Hacker News
new
|
ask
|
show
|
jobs
by
austinz
3528 days ago
Swift has "if case let" for that use case. (Admittedly, the syntax is a bit esoteric.)