timeless-0.9.0.1: An Arrow based Functional Reactive Programming library

Copyright(c) 2013 Ertugrul Soeylemez (c) 2015 Rongcui Dong
LicenseBSD3
MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellSafe
LanguageHaskell2010

FRP.Timeless.Run

Contents

Description

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.