Name: Anonymous 2009-05-20 15:25
module TreeSort where
import Data.Set (toList, fromList)
treeSort :: Ord a => [a] -> [a]
treeSort = toList . fromList
module TreeSort where
import Data.Set (toList, fromList)
treeSort :: Ord a => [a] -> [a]
treeSort = toList . fromList