Haskell Binary Tree Function (map)
- by Bizarro
How can i define a Haskell function which will apply a function to every value in a binary tree? So i know that it is similar to the map function - and that its type would be:
mapT :: (a - b) - Tree a - Tree b
but thats about it...