Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Swift has "if case let" for that use case. (Admittedly, the syntax is a bit esoteric.)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: