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

I mean, generics and associated types aren't equivalent, but they also are often exposed to the consumer. Eg, if you're accepting an Iterator, you'll want to populate the Item associated type.


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

Search: