timeless-0.8.0.0: Timeless is a Arrow based Functional Reactive Programming library

CopyrightOriginal work (c) 2013 Ertugrul Soeylemez
Safe HaskellSafe
LanguageHaskell2010

FRP.Timeless.Run

Contents

Description

Copyright: Derived work (c) 2015 Rongcui Dong License: BSD3 Maintainer: Ertugrul Soeylemez es@ertes.de Maintainer: Rongcui Dong karl_1702@188.com

Synopsis

Testing signal network

testSignal :: (MonadIO m, Show b) => Session m s -> (forall a. Signal s Identity a b) -> m c Source

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

Running a network

runBox :: Monad m => Session m s -> Signal s m () () -> m () Source

This command drives a black box of signal network. The driver knows nothing about the internals of the network, only stops when the network is inhibited.