apart-0.1.3: Get all your structure and rip it apart.

Safe HaskellSafe
LanguageHaskell2010

Data.Apart.Structures.Tree.Binary.Splay

Synopsis

Documentation

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.