[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doco srfi-1 delete, delete-duplicates
From: |
Mikael Djurfeldt |
Subject: |
Re: doco srfi-1 delete, delete-duplicates |
Date: |
Tue, 13 May 2003 20:40:46 +0200 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) |
address@hidden writes:
> On Tue, May 13, 2003 at 01:52:03PM +0200, Mikael Djurfeldt wrote:
>> address@hidden writes:
>>
> [...]
>> > Cmp is good [...]
>
>> ...and I think "cmp" is cryptic, arbitrary and ugly, while "=" is
>> beautiful, and I don't think there is any risk of confusion. I think
>> the original "=" is good taste. :-)
>
> Hehe, design taste makes always for good discussions :-)
:-)
>> And if you guys anyway want to change it, please 1. give it a readable
>> name (e.g. equal-predicate?), and 2. make sure to put a `?' after it
>> (if it is a textual name) to indicate that it is a predicate.
>
> I was for cmp (or similar) since it's not really about equality
> (in fact, the example shows a meaningful use of < for it). I
> thoroughly agree with you on the ?, but I think equal-predicate?
> would be misleading (since it's not about any kind of equality
> here -- the < used in the example isn't even an equivalence relation).
>
> So how would be `compare?'
That's fine with me. (I guess there is an alternative naming scheme
along `delete?' etc.)
Finding names must be one of the most difficult problems in software
engineering---really.
M
- doco srfi-1 delete, delete-duplicates, Kevin Ryde, 2003/05/12
- Re: doco srfi-1 delete, delete-duplicates, Rob Browning, 2003/05/12
- Re: doco srfi-1 delete, delete-duplicates, tomas, 2003/05/13
- Re: doco srfi-1 delete, delete-duplicates, Mikael Djurfeldt, 2003/05/13
- Re: doco srfi-1 delete, delete-duplicates, tomas, 2003/05/13
- Re: doco srfi-1 delete, delete-duplicates,
Mikael Djurfeldt <=
- Re: doco srfi-1 delete, delete-duplicates, tomas, 2003/05/14
- Re: doco srfi-1 delete, delete-duplicates, Kevin Ryde, 2003/05/15
- Re: doco srfi-1 delete, delete-duplicates, Paul Jarc, 2003/05/15