Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Tree sort in Haskell

Name: Anonymous 2009-05-20 15:25


module TreeSort where
import Data.Set (toList, fromList)

treeSort :: Ord a => [a] -> [a]
treeSort = toList . fromList

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List