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

I’ve been doing some swift for a while, it’s a great language.

This is the first time I’ve heard you could do recursive enum cases. Very neat! I wonder if that’s recent or not.



Been there since 2.0. You can combine it with pattern matching to do some fun stuff: https://gist.github.com/airspeedswift/6e0c037ad5dd1b763d353f...




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

Search: