GeomAlg-0.2.3: Library of geometric algorithms in Haskell
Source code
Contents
Index
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
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 a
Source
isEmpty
::
ES
t a ->
Bool
Source
fromList
::
Ord
t => [
Event
t a] ->
ES
t a
Source
toList
::
Ord
t =>
ES
t a -> [
Event
t a]
Source
size
::
ES
t a ->
Int
Source
insert
::
Ord
t =>
ES
t a ->
Event
t a ->
ES
t a
Source
insertMany
::
Ord
t =>
ES
t a -> [
Event
t a] ->
ES
t a
Source
insertC
::
Ord
t => (a -> a -> a) ->
ES
t a ->
Event
t a ->
ES
t a
Source
insertManyC
::
Ord
t => (a -> a -> a) ->
ES
t a -> [
Event
t a] ->
ES
t a
Source
delete
::
Ord
t =>
ES
t a -> t ->
ES
t a
Source
deleteMany
::
Ord
t =>
ES
t a -> [t] ->
ES
t a
Source
head
::
ES
t a ->
Event
t a
Source
tail
::
ES
t a ->
ES
t a
Source
Produced by
Haddock
version 2.4.2