[r6rs-discuss] Incorrect sample code for vector-sort!
Michael Sperber
sperber at deinprogramm.de
Tue Dec 4 13:04:18 EST 2007
"Llewellyn Pritchard" <leppie at wdsl.co.za> writes:
> (define v (vector 3 5 2 1))
> (vector-sort! v) =) unspecified
> v =) #(1 2 3 5)
>
> According to the definition, vector-sort! should take a procedure as the
> first argument.
> Is the proc argument perhaps optional?
No, this is a typo. (Will go on the errata list.) Thanks for catching
it!
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the r6rs-discuss
mailing list