question about a sort algorithm

Tom Pledger Tom.Pledger@peace.com
Thu, 26 Oct 2000 09:14:45 +1300 (NZDT)


Nossin, F. writes:
 > Is there a library available in Hugs with an implementation for
 > radix sort most significant???

I don't see one there.

Bucket sort (the one with an array of booleans, indexed by the values
you're sorting) can be implemented in 2-3 lines, if that helps...
Hint: use accumArray.

Regards,
Tom