uulib-0.9.15: Haskell Utrecht Tools Library

Safe HaskellSafe-Inferred

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