如何定义一个Haskell函数,它将函数应用于二叉树中的每个值?所以我知道它与map函数类似- 它的类型是:
map
mapT :: (a -> b) -> Tree a -> Tree b
但那就是它......
algorithm binary-tree haskell
algorithm ×1
binary-tree ×1
haskell ×1