18 Jul
2009
18 Jul
'09
5:43 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
9:05 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
6025
Age (days ago)
6025
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ahn, Ki Yung -
Jon Harrop