netwire-5.0.0: Functional reactive programming library

MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone

Control.Wire.Run

Contents

Description

 

Synopsis

Testing wires

testWire :: (MonadIO m, Show b, Show e) => Session m s -> (forall a. Wire s e Identity a b) -> m cSource

This function runs the given wire using the given state delta generator. It constantly shows the output of the wire on one line on stdout. Press Ctrl-C to abort.

testWireM :: (Monad m', MonadIO m, Show b, Show e) => (forall a. m' a -> m a) -> Session m s -> (forall a. Wire s e m' a b) -> m cSource

This function runs the given wire using the given state delta generator. It constantly shows the output of the wire on one line on stdout. Press Ctrl-C to abort.