Change the tree constructor to make the metadata node (color + value) close by
left, right, color to the beginning of the module
rotateR :: Tree a -> Tree a
rotateL :: Tree a -> Tree a
No recoloring just yet
reverting to keeping l then v then r
Simplify doc
no rotation but a rebalance function which will be in charge of rotations
and recoloring
rebalance :: Tree a -> Tree a
Fix
insert :: Ord a => Tree a -> a -> Tree a
fromList :: Ord a => [a] -> Tree a
toList :: Tree a -> [a]
toSortedList :: Tree a -> [a]
Improve
Remove useless parens
Adding quickCheck tests
contains :: Tree a -> a -> Bool
Testing the no-duplicate properties and the length of the list built
from the tree
Improve properties readability
update deps
convert comments into tests