| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | stefan@cs.uu.nl |
| Safe Haskell | Safe-Inferred |
CCO.Tree
Contents
Description
A straightforward implementation of the ATerm format for exchanging tree-structured data; see
- Mark van den Brand, Hayco de Jong, Paul Klint, and Pieter A. Olivier. Efficient annotated terms. Software - Practice and Experience (SPE), 30(3):259-291, 2000.
The ATerm type
Terms.
The Tree class
The Tree class. Instances provide conversions between tree-structured
data and the ATerm format.
A minimal complete defintion must supply the methods fromTree and
toTree.
Methods
Instances
| Tree Bool | |
| Tree Char | |
| Tree Double | |
| Tree Float | |
| Tree Int | |
| Tree Integer | |
| Tree Ordering | |
| Tree () | |
| Tree SourcePos | |
| Tree Pos | |
| Tree Source | |
| Tree a => Tree [a] | |
| Tree a => Tree (Maybe a) | |
| (Tree a, Tree b) => Tree (Either a b) | |
| (Tree a, Tree b) => Tree (a, b) | |
| (Tree a, Tree b, Tree c) => Tree (a, b, c) | |
| (Tree a, Tree b, Tree c, Tree d) => Tree (a, b, c, d) | |
| (Tree a, Tree b, Tree c, Tree d, Tree e) => Tree (a, b, c, d, e) | |
| (Tree a, Tree b, Tree c, Tree d, Tree e, Tree f) => Tree (a, b, c, d, e, f) | |
| (Tree a, Tree b, Tree c, Tree d, Tree e, Tree f, Tree g) => Tree (a, b, c, d, e, f, g) |