[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal: count

This page is part of the web mail archives of SRFI 101 from before July 7th, 2015. The new archives for SRFI 101 contain all messages, not just those from before July 7th, 2015.



Alexey Radul wrote:
My only worry is that the name 'count' clashes with a traditional name
for a procedure that counts the number of elements of a collection
that satisfy some predicate (and could therefore be confusing, in
addition to causing actual name collisions).  I do not, however, have
a concrete suggestion for doing better.

Yep -- it clashes with SRFI 1's `count', for example. I am really only worried about the confusion part. The library system lets me not worry too much about name clashes (hence my use of cons, car, cdr, ...).

If anyone has a better name, I'd like to hear it.

David