uulib-0.9.8: Haskell Utrecht Tools Library

UU.Util.BinaryTrees

Documentation

data BinSearchTree av Source

Constructors

Node (BinSearchTree av) av (BinSearchTree av) 
Nil 

btFind :: (a -> b -> Ordering) -> BinSearchTree (a, c) -> b -> Maybe cSource

btLocateIn :: (a -> b -> Ordering) -> BinSearchTree a -> b -> Maybe aSource

btLookup :: (a -> b) -> (a -> c) -> (b -> d -> Ordering) -> BinSearchTree a -> d -> Maybe cSource