twentefp-eventloop-trees-0.1.2.1: Tree type and show functions for lab assignment of University of Twente. Contains RoseTree and RedBlackTree

Safe HaskellNone
LanguageHaskell2010

FPPrac.Trees

Documentation

data RoseTree :: *

Constructors

RoseNode String [RoseTree] 

Instances

data RBTree :: *

Constructors

RBNode NodeColor String [RBTree] 

Instances

data NodeColor :: *

Constructors

NodeRed 
NodeBlack 
NodeGrey 

showTree :: GeneralizeTree a => a -> IO () Source

showTreeList :: GeneralizeTree a => [a] -> IO () Source