I have defined
type 'a tree =
| Tree of 'a tree * 'a * 'a tree
| Leaf of 'a
| Null;;
Now I have to define a function that will change the whole 'a tree in to an 'b tree.
I have searched on google and tried to solve it myself but I'm stucked. Any tips?