Safe Haskell | None |
---|
- type EnvIO = IO
- runEnvIO :: IO a -> IO a
- defaultBackend :: Backend EnvIO
- defaultResult :: Execution m -> FilePath -> Result EnvIO
- defaultLog :: Execution m -> LogHandler EnvIO
- liftIO :: MonadIO m => forall a. IO a -> m a
Documentation
Default monad for defaultBackend
.
EnvIO carries a DynEnv
in a state and allows you to perform IO actions.
defaultBackend :: Backend EnvIOSource
Default backend for the EnvIO
monad. This backend uses the filesystem
as storage and UUIDs for scenario instances (supposes that UUID collision
cannot happen).
Parameters, logfiles, and result data all are stored in a unique directory named .<scenario-name>uuid
Results are individual files in this directory. There is no namespacing hence avoid the following names: 'execution.json', 'execution-log.txt', and 'execution-log.xml'. These three files are the scenario execution metadata and logs.
defaultResult :: Execution m -> FilePath -> Result EnvIOSource
Default result handler for the EnvIO
monad (see defaultBackend
).
defaultLog :: Execution m -> LogHandler EnvIOSource
Default logger for the EnvIO
monad (see defaultBackend
).