splaytree-0.1.5: Provides an annotated splay tree
Data.SplayTree.Seq
Synopsis
data Seq a Source
Instances
cons :: a -> Seq a -> Seq aSource
toList :: Seq a -> [a]Source
fromList :: [a] -> Seq aSource
empty :: Seq aSource
length :: Seq a -> IntSource
lookupAt :: Seq a -> Int -> (Maybe a, Seq a)Source
Look up a value at the given index. Returns that value if it exists, and the appropriately splayed Seq.
init :: Seq a -> Seq aSource