Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance Show a => Show (Tree a) where
- show (Leaf a) = show a
- show (Branch l r) = "(" ++ (show l) ++ ";" ++ (show r) ++ ")"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement