2 ms·
A collection is non-empty if and only if it has a first element. Therefore checking for non-emptiness is the same as checking for the existence of a first eleme
by kccqzy 5y ago
A collection is non-empty if and only if it has a first element. Therefore checking for non-emptiness is the same as checking for the existence of a first element.