Safe Haskell | None |
---|---|
Language | Haskell2010 |
Replacement of Yampa's reactimate function with recod-and-replay capabilities.
Documentation
:: (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 # | |
Defined in FRP.Titan.Record.Yampa (==) :: RecordMode -> RecordMode -> Bool # (/=) :: RecordMode -> RecordMode -> Bool # | |
Show RecordMode Source # | |
Defined in FRP.Titan.Record.Yampa showsPrec :: Int -> RecordMode -> ShowS # show :: RecordMode -> String # showList :: [RecordMode] -> ShowS # |