titan-record-yampa-1.0.1: Testing Infrastructure for Temporal AbstractioNs - Yampa record-and-replay layer

Safe HaskellNone
LanguageHaskell2010

FRP.Titan.Record.Yampa

Description

Replacement of Yampa's reactimate function with recod-and-replay capabilities.

Synopsis

Documentation

reactimateRecord Source #

Arguments

:: (Read a, Show a) 
=> Maybe (FilePath, RecordMode)

Debug: File onto which the result should be recorded and recording mode

-> IO a

FRP: Initial sensing action

-> (Bool -> IO (DTime, Maybe a))

FRP: Continued sensing action

-> (Bool -> b -> IO Bool)

FRP: Rendering/consumption action

-> SF a b

FRP: Signal Function that defines the program

-> IO () 

data RecordMode Source #

How to treat the given trace: read (replay) but not write to it, write (record) but not replay it, and readwrite (replay until the end and the continue recording to it).

Instances
Eq RecordMode Source # 
Instance details

Defined in FRP.Titan.Record.Yampa

Show RecordMode Source # 
Instance details

Defined in FRP.Titan.Record.Yampa