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

Ordering is specifically a property (useful or not) that a set doesn't have. You need a poset for it to be ordered.

I would expect to use a different data structure if I needed an ordered set.





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

Search: