Re: How about allowing ideque-delete-duplicates to take comparator? John Cowan (11 Apr 2016 22:55 UTC)

Re: How about allowing ideque-delete-duplicates to take comparator? John Cowan 11 Apr 2016 22:55 UTC

Shiro Kawai scripsit:

> If, not only a equality predicate but also a comparator
> is allowed as the optional argument of ideque-delete-duplicates,
> it can construct efficient map internally if the passed comparator has
> ordering predicate and/or hash function.

On reflection, I think that delete-duplicates is really not that useful.
Most of the time we want delete-neighbor-duplicates (part of the sorting
SRFI).  So I'm going to remove it from the present SRFI again.

--
John Cowan          http://www.ccil.org/~cowan        xxxxxx@ccil.org
A rose by any other name may smell as sweet, but if you called it
an onion you'd get cooks very confused.          --RMS