>> Would it be possible to extend the sort function to allow for multiple
>> keys to facilitate sorting lists of lists or lists of structs.
The sort function should accommodate this by providing a custom
comparator as the second (optional) argument to it.
When building custom comparators, you mig
On Jun 9, 2012, at 10:56 AM, Harry Spier wrote:
> Would it be possible to extend the sort function to allow for multiple
> keys to facilitate sorting lists of lists or lists of structs.
It is possible to sort lists of lists and lists of structs:
Welcome to DrRacket, version 5.3.0.10--2012-06-0
Would it be possible to extend the sort function to allow for multiple
keys to facilitate sorting lists of lists or lists of structs.
Thanks,
Harry Spier
_
Racket Developers list:
http://lists.racket-lang.org/dev
3 matches
Mail list logo