search for: sortfn

Displaying 1 result from an estimated 1 matches for "sortfn".

2010 Feb 06
4
Sorting
Hi, I have a list of vectors (of varying lengths). I'd like to sort this list by applying a function to each pair of vectors in the list and returning information to sorting routine that let's it know which one is larger. To solve problems like this in Common Lisp, the sort function accepts a function as an argument. The arguments to this function are two elements of the list which is