labeled-tree-1.0.0.0: Labeled tree structure

Data.LabeledTree

Synopsis

Documentation

data Tree k a Source

Constructors

Node 

Fields

rootLabel :: a

label value

subForest :: Forest k a

zero or more child trees

Instances

Functor (Tree k) 
Foldable (Tree k) 
Traversable (Tree k) 
(Eq k, Eq a) => Eq (Tree k a) 
(Read k, Read a) => Read (Tree k a) 
(Show k, Show a) => Show (Tree k a) 

data k ::> a Source

label + value pair

Constructors

k ::> a 

Instances

Functor (::> k) 
Foldable (::> k) 
Traversable (::> k) 
(Eq k, Eq a) => Eq (::> k a) 
(Read k, Read a) => Read (::> k a) 
(Show k, Show a) => Show (::> k a) 

type Forest k a = [k ::> Tree k a]Source