Documentation
data BinSearchTree av Source
Node (BinSearchTree av) av (BinSearchTree av) | |
Nil |
tab2tree :: [av] -> BinSearchTree avSource
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