Copyright | (c) Dominik Schrempf 2019 |
---|---|
License | GPL-3 |
Maintainer | dominik.schrempf@gmail.com |
Stability | unstable |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Creation date: Tue Nov 19 15:07:09 2019.
XXX: This module is actively developed. It is not yet used by slynx nor tlynx.
Synopsis
- class Reproducible a where
- data Reproduction a = Reproduction {}
- readR :: forall a. (Eq a, Show a, Reproducible a, FromJSON a) => FilePath -> IO (Reproduction a)
- writeR :: (Eq a, Show a, Reproducible a, ToJSON a) => FilePath -> a -> IO ()
Documentation
class Reproducible a where Source #
Reproducible commands have a set of input files that have to be checked for consistency.
data Reproduction a Source #
Necessary information for a reproducible run. Notably, the input files are checked for consistency!
Instances
readR :: forall a. (Eq a, Show a, Reproducible a, FromJSON a) => FilePath -> IO (Reproduction a) Source #
Read an ELynx reproduction file. Check consistency of arguments and input files.