* Sorting uniform vectors
@ 2011-07-23 14:17 Panicz Maciej Godek
2011-07-24 13:45 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Panicz Maciej Godek @ 2011-07-23 14:17 UTC (permalink / raw)
To: guile-user
Hey,
is there a way to use the guile's sort function to efficiently sort
uniform vectors?
To make it more tangible, I would the operation
(sort #u32(321 524 53 324 65 76 47 9288 56) <)
to return something of more value than (wrong-type-arg) ;]
regards
M.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Sorting uniform vectors
2011-07-23 14:17 Sorting uniform vectors Panicz Maciej Godek
@ 2011-07-24 13:45 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2011-07-24 13:45 UTC (permalink / raw)
To: guile-user
Hi,
Panicz Maciej Godek <godek.maciek@gmail.com> skribis:
> is there a way to use the guile's sort function to efficiently sort
> uniform vectors?
Guile has ‘stable-sort’, which operates on both lists and vectors, but
not on uniform vectors.
However, it could easily be changed to operate on generalized vectors,
and would thus cover uniform vectors, bytevectors, strings, qetc. in
addition to vectors.
Would you like to work on it?
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-24 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-23 14:17 Sorting uniform vectors Panicz Maciej Godek
2011-07-24 13:45 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).