
18 Jul
2009
18 Jul
'09
8:13 a.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
11:35 a.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
5785
Age (days ago)
5785
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ahn, Ki Yung
-
Jon Harrop