It would be nice if the library exposed some particular sort algorithm as the recommended choice for those that don't wish to know the details of the algorithms (perhaps insertionSort on small arrays and mergeSort on large arrays or something else). This sort function could then be exported by a Data.Vector.Algorithms module and would be the one to reach for if you didn't know any better.
It would be nice if the library exposed some particular
sortalgorithm as the recommended choice for those that don't wish to know the details of the algorithms (perhapsinsertionSorton small arrays andmergeSorton large arrays or something else). Thissortfunction could then be exported by aData.Vector.Algorithmsmodule and would be the one to reach for if you didn't know any better.