rsagl-0.2.1: The RogueStar Animation and Graphics LibrarySource codeContentsIndex
RSAGL.ThreadedArrow
Documentation
type ThreadIdentity t = forall i x o. i -> [(t, x)] -> [(t, (o, x))] -> [x]Source
nullaryThreadIdentity :: ThreadIdentity ()Source
maybeThreadIdentity :: ThreadIdentity t -> ThreadIdentity (Maybe t)Source
unionThreadIdentity :: (t -> t -> Bool) -> ThreadIdentity tSource
type ThreadedFunction i o j p = ThreadedArrow () i o (->) j pSource
data ThreadedArrow t i o a j p Source
show/hide Instances
switchContinue :: (Arrow a, ArrowChoice a, ArrowApply a) => ThreadedArrow t i o a (Maybe (ThreadedArrow t i o a i o), i) iSource
switchTerminate :: (Arrow a, ArrowChoice a) => ThreadedArrow t i o a (Maybe (ThreadedArrow t i o a i o), o) oSource
spawnThreads :: (Arrow a, ArrowChoice a) => ThreadedArrow t i o a [(t, ThreadedArrow t i o a i o)] ()Source
killThreadIf :: (Arrow a, ArrowChoice a, ArrowApply a) => ThreadedArrow t i o a Bool ()Source
threadIdentity :: ArrowChoice a => ThreadedArrow t i o a () tSource
statefulForm :: (ArrowChoice a, ArrowApply a) => (forall x. i -> [(t, x)] -> [(t, (o, x))] -> [x]) -> [(t, ThreadedArrow t i o a i o)] -> StatefulArrow a i [(t, o)]Source
Produced by Haddock version 2.1.0