| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Tree.Knuth
- 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
Constructors
| Fork | |
Fields
| |
| Nil | |
Instances
| 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