Comment Comment by ryangs But the nonempty list never has an element, so we don't need to worry about the type mutation of removing an element from it. Filter just returns a nonempty list. parent ryangs 2 years ago