| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
FRP.Titan.Record.Yampa
Description
Replacement of Yampa's reactimate function with recod-and-replay capabilities.
Documentation
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).
Constructors
| RecordReadOnly | |
| RecordWriteOnly | |
| RecordReadWrite |
Instances
| Eq RecordMode Source # | |
Defined in FRP.Titan.Record.Yampa | |
| Show RecordMode Source # | |
Defined in FRP.Titan.Record.Yampa Methods showsPrec :: Int -> RecordMode -> ShowS # show :: RecordMode -> String # showList :: [RecordMode] -> ShowS # | |