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

Why can't you already do this with an enum?

Rust isn't go. You don't have to break out of the type system because it doesn't have generics.



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

Search: