Safe Haskell | None |
---|---|
Language | Haskell98 |
At each node, extra information (attributes) can be stored.
Documentation
data DoublyLinkedTree attributes Source
DoublyLinkedTree | |
|
root :: a -> [DoublyLinkedTree a] -> DoublyLinkedTree a Source
node :: DoublyLinkedTree a -> a -> [DoublyLinkedTree a] -> DoublyLinkedTree a Source
selectChild :: Int -> DoublyLinkedTree a -> DoublyLinkedTree a Source
selectRoot :: DoublyLinkedTree a -> DoublyLinkedTree a Source