Copyright | (c) Simon Archipoff, David Janin, 2016 |
---|---|
License | see the LICENSE file in the distribution |
Maintainer | janin@labri.fr |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
- eventsToDelayedEvents :: (Ord d, Num d, Ord v, Ord iv) => [(RDuration d iv, Event v)] -> [DelayedEvents d v]
- delayEventsToEvents :: (Ord d, Num d, Ord v, Ord iv) => [DelayedEvents d v] -> [(RDuration d iv, Event v)]
- loopQState :: (Num d, Ord d, Ord iv, Ord v, POrd v, Show d, Show v, Show iv) => DelayedEvents d iv -> StateT (QState d iv v, WakeUpOrder d) (Writer [DelayedEvents d v]) ()
- runFunOnQList :: (Num d, Ord iv, Ord v, Ord d, POrd iv, POrd v, Show d, Show iv, Show v) => (RTile d iv iv -> RTile d iv v) -> RQList d iv iv -> RQList d iv v
- runFunOnBundles :: (Num d, Ord v, Ord d, Ord iv, Show iv, Show d, Show v, POrd v) => (Tile (RDuration d iv) iv iv -> Tile (RDuration d iv) iv v) -> [DelayedEvents d iv] -> [DelayedEvents d v]
- runFunOnTile :: (Num d, Ord iv, Ord v, Ord d, POrd iv, POrd v, Show d, Show iv, Show v) => (RTile d iv iv -> RTile d iv v) -> RTile d iv iv -> RTile d iv v
- t1 :: RTile Integer Char Char
- ft1 :: Duration Integer (ID Char) -> RTile Integer Char Char
- fun :: RTile Integer Char Char -> RTile Integer Char Char
Documentation
eventsToDelayedEvents :: (Ord d, Num d, Ord v, Ord iv) => [(RDuration d iv, Event v)] -> [DelayedEvents d v] Source #
Transforms a timed event list into a list of timed events
delayEventsToEvents :: (Ord d, Num d, Ord v, Ord iv) => [DelayedEvents d v] -> [(RDuration d iv, Event v)] Source #
Transforms a list of timed events into a timed event list
loopQState :: (Num d, Ord d, Ord iv, Ord v, POrd v, Show d, Show v, Show iv) => DelayedEvents d iv -> StateT (QState d iv v, WakeUpOrder d) (Writer [DelayedEvents d v]) () Source #
Loops qState (testing purposes)
runFunOnQList :: (Num d, Ord iv, Ord v, Ord d, POrd iv, POrd v, Show d, Show iv, Show v) => (RTile d iv iv -> RTile d iv v) -> RQList d iv iv -> RQList d iv v Source #
Runs a function over qlist through events exchanges (testing purposes)
runFunOnBundles :: (Num d, Ord v, Ord d, Ord iv, Show iv, Show d, Show v, POrd v) => (Tile (RDuration d iv) iv iv -> Tile (RDuration d iv) iv v) -> [DelayedEvents d iv] -> [DelayedEvents d v] Source #
runFunOnTile :: (Num d, Ord iv, Ord v, Ord d, POrd iv, POrd v, Show d, Show iv, Show v) => (RTile d iv iv -> RTile d iv v) -> RTile d iv iv -> RTile d iv v Source #
Runs a function over tiles through events exchanges (testing purposes)