You want your map to apply the function to any label carried by your tree. This means that any event amust be changed to occur before busing the function specified as the transform function.
, Stree. Null - a . Trickier - Fork. Fork a Stree, , a -> b Stree a -> Stree b. mapStree , mapStree f ( !).
foldStree b a , b a b, , , , Fork : , , Stree, , a , b, . b foldStree , .
, foldStree : Null, Fork, Stree .
, , : ( ) , , , , .