2 ms·
It's tree sort. It does the same comparisons as quicksort, but organizes its data differently. It's nifty, but not an especially beautiful use of Haskell. Ok
by eru 11y ago
It's tree sort. It does the same comparisons as quicksort, but organizes its data differently.
It's nifty, but not an especially beautiful use of Haskell.
Okasaki's Red-Black Trees rendered in Haskell are nicer, for example.