GeomAlg-0.2.3: Library of geometric algorithms in HaskellSource codeContentsIndex
GeomAlg.Spec.StatusStructureSpec
Description
The specification of the status structure. This implementation is done with lists. So do not expect good performance.
Documentation
data Ord a => SS a b Source
show/hide Instances
(Ord a, Show a, Show b) => Show (SS a b)
empty :: Ord a => SS a bSource
isEmpty :: Ord a => SS a b -> BoolSource
fromList :: Ord a => [(a, b)] -> SS a bSource
toList :: Ord a => SS a b -> [(a, b)]Source
key :: (a, b) -> aSource
value :: (a, b) -> bSource
lookup :: Ord a => SS a b -> a -> Maybe bSource
insert :: Ord a => SS a b -> (a, b) -> SS a bSource
insertBy :: Ord a => OrderRel (a, b) -> SS a b -> (a, b) -> SS a bSource
insertMany :: Ord a => SS a b -> [(a, b)] -> SS a bSource
delete :: Ord a => SS a b -> a -> SS a bSource
deleteBy :: Ord a => OrderRel a -> SS a b -> a -> SS a bSource
deleteMany :: Ord a => SS a b -> [a] -> SS a bSource
pred :: Ord a => SS a b -> a -> Maybe (a, b)Source
predBy :: Ord a => OrderRel (a, b) -> SS a b -> a -> Maybe (a, b)Source
succ :: Ord a => SS a b -> a -> Maybe (a, b)Source
succBy :: Ord a => OrderRel a -> SS a b -> a -> Maybe (a, b)Source
swap :: Ord a => SS a b -> a -> a -> SS a bSource
Produced by Haddock version 2.4.2