Proposal: count David Van Horn (20 Sep 2009 22:58 UTC)
Re: Proposal: count Alexey Radul (21 Sep 2009 00:00 UTC)
Re: Proposal: count David Van Horn (21 Sep 2009 00:04 UTC)
Re: Proposal: count Alexey Radul (21 Sep 2009 00:44 UTC)
Re: Proposal: count David Van Horn (21 Sep 2009 15:24 UTC)
Re: Proposal: count Taylor R Campbell (21 Sep 2009 00:51 UTC)
Re: Proposal: count David Van Horn (21 Sep 2009 14:56 UTC)

Re: Proposal: count Alexey Radul 21 Sep 2009 00:44 UTC

improper-length ?  Or some variation on that?  For that matter, why
not specify length to accept improper lists, and invent a name for the
thing that signals an error if the list is improper?

~Alexey

On Sun, Sep 20, 2009 at 8:04 PM, David Van Horn <xxxxxx@ccs.neu.edu> wrote:
> 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
>