Advertisement
Guest User

Untitled

a guest
Jan 21st, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. instance Show a => Show (Tree a) where
  2. show (Leaf a) = show a
  3. show (Branch l r) = "(" ++ (show l) ++ ";" ++ (show r) ++ ")"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement