[Haskell-cafe] library sort
J. Garrett Morris
trevion at gmail.com
Thu Feb 16 11:27:09 EST 2006
sort :: Ord a => [a] -> [a]
sortBy :: (a -> a -> Ordering) -> [a] -> [a]
I believe they're currently implemented using merge sort, at least in GHC.
On 2/16/06, Radu Grigore <radugrigore at gmail.com> wrote:
> Is there a sort function in the libraries that come with GHC (6.4)? My search at
> has failed, but I can't believe there is none.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
We have lingered in the chambers of the sea
By sea-girls wreathed with seaweed red and brown
Till human voices wake us, and we drown.
More information about the Haskell-Cafe