`NonEmpty` collections support

To quote myself from the other thread:

I don't find the analogy to Optional that compelling, because roughly all you can do with an Optional is conditionally unwrap it. That's why I made the analogy to a non-zero number above, i.e. you're going to want to do a lot of Sequence/Collection operations on a non-empty collection but be thwarted or forced to drop the non-empty guarantee.

1 Like