GeomAlg-0.2.3: Library of geometric algorithms in HaskellSource codeContentsIndex
GeomAlg.Spec.EventStructureSpec
Description
The specification of the event structure. This implementation is done with lists. So do not expect good performance.
Documentation
data Event t a Source
Constructors
Event
time :: t
event :: a
show/hide Instances
Eq t => Eq (Event t a)
Ord t => Ord (Event t a)
(Show t, Show a) => Show (Event t a)
newtype ES t a Source
Constructors
ES [Event t a]
empty :: ES t aSource
isEmpty :: ES t a -> BoolSource
fromList :: Ord t => [Event t a] -> ES t aSource
toList :: Ord t => ES t a -> [Event t a]Source
size :: ES t a -> IntSource
insert :: Ord t => ES t a -> Event t a -> ES t aSource
insertMany :: Ord t => ES t a -> [Event t a] -> ES t aSource
insertC :: Ord t => (a -> a -> a) -> ES t a -> Event t a -> ES t aSource
insertManyC :: Ord t => (a -> a -> a) -> ES t a -> [Event t a] -> ES t aSource
delete :: Ord t => ES t a -> t -> ES t aSource
deleteMany :: Ord t => ES t a -> [t] -> ES t aSource
head :: ES t a -> Event t aSource
tail :: ES t a -> ES t aSource
Produced by Haddock version 2.4.2