gore-and-ash-1.1.0.1: Core of FRP game engine called Gore&Ash

Copyright(c) 2013 Ertugrul Soeylemez
LicenseBSD3
MaintainerErtugrul Soeylemez <es@ertes.de>
Safe HaskellNone
LanguageHaskell2010

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 c Source

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 c Source

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.