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

A Collections grouping of common data structures and macros would be useful.

There are so many different idiomatic ways to instantiate a type in rust that a crate with a common calling convention for most data structures would be very useful.




Sibling nailed it but I can’t reply on that post. There are variations such as Vec!, map! Macros collect_vec, collect_map etc.

It would be great to have a unified interface that exposes a common set of instantiation mechanisms and apis. Other lib authors should be able to implement this api and get the same calling conventions.


I think they want something like a ‘map!()’ macro.




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

Search: