| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Data.Forest.StructuredPaired
Description
A semi-specialized forest structure with the following atomic elements:
(i) unstructured regions of type a, (ii) binary paired regions of type
(b,b) with a recursing tree (or insertion between the two b's), (iii)
juxtaposition of two elements, and (iv) an empty structure.
Documentation
A structured forest.
Constructors
| SPR r | An (unstructured) region with the structured forest. In case |
| SPT t (SPForest r t) t | A tree within the forest brackets the forest on the left and right side
with elements of type |
| SPJ [SPForest r t] | Juxtaposition of two forests. This allows for simple concatenation of
forests. In particular, there is no particular position, while lists
prefer |
| SPE | An empty forest. |
Instances
toStaticForest :: SPForest r t -> Forest p v a Source #
Structured Forests can be transformed into static forests.
TODO types involved!