BTree

Documentation

data BTree a Source

Constructors

Empty 
Node a (BTree a) (BTree a) 

Instances

Eq a => Eq (BTree a) 
Read a => Read (BTree a) 
Show a => Show (BTree a) 

size :: BTree a -> IntegerSource

height :: BTree a -> IntegerSource

fromList :: [a] -> BTree aSource

make :: [a] -> BTree aSource

searchTree :: Ord a => [a] -> BTree aSource

flatten :: BTree a -> [a]Source