| hxt-7.3: A collection of tools for processing XML with Haskell. | Contents | Index |
|
Data.Tree.NTree.TypeDefs | Portability | portable | Stability | experimental | Maintainer | Uwe Schmidt (uwe\@fh-wedel.de) |
|
|
|
|
|
Description |
Version : $Id: TypeDefs.hs,v 1.6 20050902 17:09:39 hxml Exp $
Interface definition for trees
n-ary tree structure (rose trees)
|
|
Synopsis |
|
|
|
Documentation |
|
module Data.Tree.Class |
|
data NTree a |
n-ary ordered tree (rose trees)
a tree consists of a node and a possible empty list of children.
If the list of children is empty, the node is a leaf, else it's
an inner node.
NTree implements Eq, Ord, Show and Read
| Constructors | | Instances | |
|
|
type NTrees a = [NTree a] |
shortcut for a sequence of n-ary trees
|
|
formatNTreeF :: (node -> String) -> (String -> String) -> (String -> String) -> NTree node -> String -> String |
convert a tree into a pseudo graphical string reprsentation
|
|
Produced by Haddock version 0.8 |