[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the discussion so far



Thomas Bushnell BSG scripsit:

> Cannot the few cases where people want this specific thing simply
> define an order themselves on the strings they share support for?

The only portable approach would be to split the strings into chars,
and map the chars using char->integer, and sort them according to
what you want.

It can't be done portably at all in R5RS, because there is no knowing what
mapping integer->char provides.

-- 
John Cowan                                jcowan@xxxxxxxxxxxxxxxxx
At times of peril or dubitation,          http://www.ccil.org/~cowan
Perform swift circular ambulation,        http://www.reutershealth.com
With loud and high-pitched ululation.