4 ms·
If you have a structure whose only difference from a list is that it is guaranteed to have at least one element, why not call it a NonEmptyList?
by Peaker 13y ago
If you have a structure whose only difference from a list is that it is guaranteed to have at least one element, why not call it a NonEmptyList?