apart-0.1.3: Get all your structure and rip it apart.
Data.Apart.Structures.Tree.Binary.Splay
search :: Eq a => a -> Binary a -> Segmented Binary a Source #
If needed element not in the root - it isn't found.
insert :: Ord a => a -> Binary a -> Segmented Binary a Source #
Splay tree after each insert.