Yampa-0.9.1.2: Library for programming hybrid systems.Source codeContentsIndex
AFRPTask
Portabilitynon-portable (uses GHC extensions)
Stabilityprovisional
Maintainerantony@apocalypse.org
Description
Task abstraction on top of signal transformers.
Documentation
data Task a b c Source
show/hide Instances
Monad (Task a b)
mkTask :: SF a (b, Event c) -> Task a b cSource
runTask :: Task a b c -> SF a (Either b c)Source
runTask_ :: Task a b c -> SF a bSource
taskToSF :: Task a b c -> SF a (b, Event c)Source
constT :: b -> Task a b cSource
sleepT :: Time -> b -> Task a b ()Source
snapT :: Task a b aSource
timeOut :: Task a b c -> Time -> Task a b (Maybe c)Source
abortWhen :: Task a b c -> SF a (Event d) -> Task a b (Either c d)Source
repeatUntil :: Monad m => m a -> (a -> Bool) -> m aSource
for :: Monad m => a -> (a -> a) -> (a -> Bool) -> m b -> m ()Source
forAll :: Monad m => [a] -> (a -> m b) -> m ()Source
forEver :: Monad m => m a -> m bSource
Produced by Haddock version 2.3.0