
18 Jul
2009
18 Jul
'09
12:13 p.m.
I cannot find a sort function for arrays in the standard library. Is there one? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e

18 Jul
18 Jul
3:35 p.m.
Jon Harrop wrote:
I cannot find a sort function for arrays in the standard library. Is there one?
No, there isn't. They are not mutable arrays, so no point for writing an algorithm like sort. There are several mutable array library implementations on Hackage, and some of them provide sorting algorithms in the library such as http://hackage.haskell.org/package/uvector-algorithms -- Ahn, Ki Yung
5831
Age (days ago)
5831
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ahn, Ki Yung
-
Jon Harrop