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

John Cowan cowan at ccil.org
Mon Oct 2 17:08:49 EDT 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)



More information about the r6rs-discuss mailing list