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 |
- timeStamperNS :: UISF () (TimeStamp Integer)
- timeStamper :: UISF BPM (TimeStamp Quarters)
- maybeListToList :: Maybe [t] -> [t]
- listToMaybeList :: [t] -> Maybe [t]
- wakeUpTimer :: UISF (TimeStamp Quarters, WakeUpOrder Quarters) (Maybe (TimeStamp Quarters))
- arrowizeTile :: (Ord iv, Ord v, Show v, Show iv) => (RTile Quarters iv iv -> RTile Quarters iv v) -> UISF (Maybe [Event iv], BPM) (Maybe [Event v])
- epsilon :: Quarters
- launchOnTime :: UISF (TimeStamp Quarters, [DelayedEvents Quarters t]) [DelayedEvents Quarters t]
- forceDE :: Foldable t => t (DelayedEvents t1 t2) -> t (DelayedEvents t1 t2)
Documentation
timeStamper :: UISF BPM (TimeStamp Quarters) Source #
Produces symbolic time stamps, uses SymbolicTime
maybeListToList :: Maybe [t] -> [t] Source #
Gets a list from a maybe list
listToMaybeList :: [t] -> Maybe [t] Source #
Gets a maybe list from a list
wakeUpTimer :: UISF (TimeStamp Quarters, WakeUpOrder Quarters) (Maybe (TimeStamp Quarters)) Source #
Generates Just ts when the current time stamp is greater or equal the ealierst wake up order (WakeUp ts); generates Nothing otherwise. wakeUpTimer :: (Ord d, Show d) => UISF (TimeStamp d, WakeUpOrder d) (Maybe (TimeStamp d))
arrowizeTile :: (Ord iv, Ord v, Show v, Show iv) => (RTile Quarters iv iv -> RTile Quarters iv v) -> UISF (Maybe [Event iv], BPM) (Maybe [Event v]) Source #
Arrowizes a tile function into a event arrow
launchOnTime :: UISF (TimeStamp Quarters, [DelayedEvents Quarters t]) [DelayedEvents Quarters t] Source #
Launch event on time
forceDE :: Foldable t => t (DelayedEvents t1 t2) -> t (DelayedEvents t1 t2) Source #