Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- traverseTree :: (Tree a -> mem -> mem) -> (mem -> Maybe (Tree a, mem)) -> mem -> [a]
- depthFirst :: Tree a -> [a]
- breadthFirst :: Tree a -> [a]
- module Data.Tree
Documentation
depthFirst :: Tree a -> [a] Source #
breadthFirst :: Tree a -> [a] Source #
Breadth-first toList
.
module Data.Tree