Data.LTree
- data LTree v a
- type LForest v a = v (LTree v a)
- unfoldLTree :: Functor v => (b -> Either a (v b)) -> b -> LTree v a
- unfoldLTreeM :: (Monad m, Traversable v) => (b -> m (Either a (v b))) -> b -> m (LTree v a)
Documentation
Multary (Rose) Tree, with data solely in leaves
unfoldLTree :: Functor v => (b -> Either a (v b)) -> b -> LTree v aSource
unfoldLTreeM :: (Monad m, Traversable v) => (b -> m (Either a (v b))) -> b -> m (LTree v a)Source