Last active
October 30, 2017 11:57
-
-
Save Abhiroop/baa9172329781ef99146d9f7c4912baa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delete :: (Ord a) => a -> Tree a -> Tree a | |
delete x t = makeBlack $ del x t | |
where makeBlack (T _ a y b) = T B a y b |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment