logoalt Hacker News

zahlmanyesterday at 7:59 PM0 repliesview on HN

When I see "countof" I expect an operation that lets me filter the container and tell me the count of things that meet some condition (probably described with a unary predicate, but perhaps just an element to check for equality).