elynx-tools-0.1.0: Tools for ELynx

Copyright(c) Dominik Schrempf 2019
LicenseGPL-3
Maintainerdominik.schrempf@gmail.com
Stabilityunstable
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

ELynx.Tools.Reproduction

Description

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

Documentation

class Reproducible a where Source #

Reproducible commands have a set of input files that have to be checked for consistency.

Methods

inFiles :: a -> [FilePath] Source #

parser :: a -> Parser a Source #

data Reproduction a Source #

Necessary information for a reproducible run. Notably, the input files are checked for consistency!

Constructors

Reproduction 

Fields

Instances
Generic (Reproduction a) Source # 
Instance details

Defined in ELynx.Tools.Reproduction

Associated Types

type Rep (Reproduction a) :: Type -> Type #

Methods

from :: Reproduction a -> Rep (Reproduction a) x #

to :: Rep (Reproduction a) x -> Reproduction a #

ToJSON a => ToJSON (Reproduction a) Source # 
Instance details

Defined in ELynx.Tools.Reproduction

FromJSON a => FromJSON (Reproduction a) Source # 
Instance details

Defined in ELynx.Tools.Reproduction

type Rep (Reproduction a) Source # 
Instance details

Defined in ELynx.Tools.Reproduction

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.

writeR :: (Eq a, Show a, Reproducible a, ToJSON a) => FilePath -> a -> IO () Source #

Write an ELynx reproduction file. Check arguments.