Module
Data.Tree
- Package
- purescript-tree
- Repository
- dmbfm/purescript-tree
#scanTreeAccum Source
scanTreeAccum :: forall c b a. (a -> b -> Accum b c) -> b -> Tree a -> Tree c
Scan a Tree
, accumulating values of b
there are constant across Node
s
that have the same parent, and returning a Tree
of type c
.
#setNodeValue Source
setNodeValue :: forall a. a -> Tree a -> Tree a
Set the value of a node.
#modifyNodeValue Source
modifyNodeValue :: forall a. (a -> a) -> Tree a -> Tree a
Modify the value of a node.
- Modules
- Data.
Tree - Data.
Tree. Zipper