Data update

This commit is contained in:
Ingy döt Net 2023-10-02 18:11:16 -07:00
parent 796d366b97
commit 35bcdeebf8
504 changed files with 7045 additions and 610 deletions

View file

@ -22,5 +22,5 @@ toList :: Ord a => Tree a -> [a]
toList Nil = []
toList (Node x l r) = x : toList (merge l r)
mergeSort :: Ord a => [a] -> [a]
mergeSort = toList . fromList
heapSort :: Ord a => [a] -> [a]
heapSort = toList . fromList