|
TerraHS.Algebras.Base.Tree |
|
|
|
|
Documentation |
|
class SimpleTree t where |
| Methods | leaf :: a -> t a | | tnull :: t a | | branch :: a -> t a -> t a -> t a | | getData :: t a -> a | | setData :: t a -> a -> t a | | left :: t a -> t a | | right :: t a -> t a | | allLeaves :: t a -> [t a] | | allBranches :: t a -> [t a] | | allObjects :: t a -> [t a] | | isLeaf :: t a -> Bool |
| | Instances | |
|
|
data Tree a |
Constructors | | Instances | |
|
|
fringe :: Tree a -> [a] |
|
Produced by Haddock version 2.3.0 |