{- Setup DO NOT CHANGE -} {-# LANGUAGE CPP #-} module Exercise_8_Tree (Tree, delete, insert, update) where #ifdef Testing import Tree (Tree, modify) #else import Exercise_8 (Tree, modify) #endif {- End Setup -} insert :: Ord a => b -> a -> Tree (a,b) -> Tree (a,b) insert = undefined update :: Ord a => (b -> b) -> a -> Tree (a,b) -> Tree (a,b) update = undefined delete :: Ord a => a -> Tree (a,b) -> Tree (a,b) delete = undefined