terrahs-0.7: A library for GIS Programs in Haskell.ContentsIndex
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
show/hide Instances
data Tree a
Constructors
Leaf a
Branch a (Tree a) (Tree a)
NULL
show/hide Instances
SimpleTree Tree
Eq a => Eq (Tree a)
Show a => Show (Tree a)
fringe :: Tree a -> [a]
Produced by Haddock version 2.3.0