rsagl-0.2.1: The RogueStar Animation and Graphics LibrarySource codeContentsIndex
RSAGL.StatefulArrow
Documentation
data StatefulArrow a i o Source
Constructors
StatefulArrow
runStatefulArrow :: a i (o, StatefulArrow a i o)
show/hide Instances
type StatefulFunction = StatefulArrow (->)Source
stateContext :: Arrow a => StateArrow s a i o -> s -> StatefulArrow a i oSource
withState :: (Arrow a, ArrowApply a) => StatefulArrow (StateArrow s a) i o -> s -> StatefulArrow a i oSource
withExposedState :: (Arrow a, ArrowApply a) => StatefulArrow (StateArrow s a) i o -> StatefulArrow a (i, s) (o, s)Source
statefulTransform :: (Arrow a, Arrow b) => (forall j p. a j p -> b j p) -> StatefulArrow a i o -> StatefulArrow b i oSource
runStateMachine :: (ArrowChoice a, ArrowApply a) => StatefulArrow a i o -> a [i] [o]Source
Produced by Haddock version 2.1.0