[r6rs-discuss] [Formal] Add (sort) and (vector-sort!) procedures

From: John Cowan <cowan>
Date: Mon Oct 2 17:08:55 2006

Marcin 'Qrczak' Kowalczyk scripsit:
> "Jason Orendorff" <jason.orendorff_at_gmail.com> writes:
>
> > For the sake of putting forth a realistic proposal, I suggest adopting
> > (only) the non-stable functional list-sort and the non-stable
> > four-parameter in-place vector-sort! from SRFI-32.

+1

> If any sorting is adopted, I call for making Schwartzian transform
> available. People must not be advised to pass
> (lambda (x y) (< (car x) (car y)))
> as the comparison. They should pass
> car <
> as two separate arguments (or just car with < being the default).

If this is a convenience feature, I'm against it. If it supposedly
provides improved performance or function of some sort, I'd like to
see how.

-- 
Possession is said to be nine points of the law,                John Cowan
but that's not saying how many points the law might have.       cowan_at_ccil.org
        --Thomas A. Cowan (law professor and my father)
Received on Mon Oct 02 2006 - 17:08:49 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC