orium / rpds

Rust persistent data structures
Mozilla Public License 2.0
1.24k stars 58 forks source link

Non-empty containers #78

Open purefunctor opened 1 year ago

purefunctor commented 1 year ago

This is an awesome library for porting over functional-oriented algorithms :smile:

I think non-empty containers would be a good addition, as they allow certain algorithms to encode invariants at the type level that are currently runtime panics.

orium commented 1 year ago

I agree. I might get down to it soon.