Re: general function for sorting a matrix

2007-09-10 Thread Xah Lee
hi, just a quick reply. You are right, the python version i have is really terrible. I'll look at your solution and possibly reply later. Thanks for your code. It's great! Xah On Aug 29, 9:40 am, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > On Wed, 29 Aug 2007 08:47:27 -0700,XahLeewr

Re: general function for sorting a matrix

2007-08-29 Thread Neil Cerutti
On 2007-08-29, Xah Lee <[EMAIL PROTECTED]> wrote: > A couple years ago, i posted a programing problem, about > writing a function that will sort a arbitrarily dimentioned > matrix in any possible way to sort it. > > Such a function, is rather typical in functional programing > languages. I wrote a

Re: general function for sorting a matrix

2007-08-29 Thread Stefan Behnel
Xah Lee wrote: [undermotivated blah stripped] don't feed the troll. Stefan -- http://mail.python.org/mailman/listinfo/python-list

Re: general function for sorting a matrix

2007-08-29 Thread Marc 'BlackJack' Rintsch
On Wed, 29 Aug 2007 08:47:27 -0700, Xah Lee wrote: > While reviewing this code, there's something interesting of note. > > Namely, in my perl solution, the approach is drastically different > than the python version. Instead of sorting by looping thru the > sorting directives, it parses the direc

general function for sorting a matrix

2007-08-29 Thread Xah Lee
A couple years ago, i posted a programing problem, about writing a function that will sort a arbitrarily dimentioned matrix in any possible way to sort it. Such a function, is rather typical in functional programing languages. I wrote a version in 1999 in perl for practical purposes, since sortin