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

Re: the discussion so far

This page is part of the web mail archives of SRFI 75 from before July 7th, 2015. The new archives for SRFI 75 contain all messages, not just those from before July 7th, 2015.



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.