Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data KnuthForest a
- = Fork {
- node :: a
- children :: KnuthForest a
- siblings :: KnuthForest a
- | Nil
- = Fork {
- appendSibling :: KnuthForest a -> KnuthForest a -> KnuthForest a
- newtype KnuthTree a = KnuthTree {
- unKnuthTree :: (a, KnuthForest a)
Documentation
data KnuthForest a Source
Fork | |
| |
Nil |
Functor KnuthForest | |
Foldable KnuthForest | |
RoseTree KnuthForest Identity Identity | |
Eq a => Eq (KnuthForest a) | |
Show a => Show (KnuthForest a) | |
Monoid (KnuthForest a) |
appendSibling :: KnuthForest a -> KnuthForest a -> KnuthForest a Source