Y
Hacker News
new
|
ask
|
show
|
jobs
by
ryangs
657 days ago
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.
1 comments
jerf
657 days ago
"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."
NonEmpty
always
has an element.
link
NonEmpty always has an element.