module Test.TLT.Options where
data TLTopts = TLTopts {
TLTopts -> Bool
optShowPasses :: Bool,
TLTopts -> Bool
optQuitAfterFailReport :: Bool
}
defaultOpts :: TLTopts
defaultOpts = Bool -> Bool -> TLTopts
TLTopts Bool
False Bool
True
withShowPasses :: TLTopts -> Bool -> TLTopts
withShowPasses :: TLTopts -> Bool -> TLTopts
withShowPasses (TLTopts Bool
_ Bool
f) Bool
b = Bool -> Bool -> TLTopts
TLTopts Bool
b Bool
f
withExitAfterFail :: TLTopts -> Bool -> TLTopts
withExitAfterFail :: TLTopts -> Bool -> TLTopts
withExitAfterFail (TLTopts Bool
p Bool
_) Bool
b = Bool -> Bool -> TLTopts
TLTopts Bool
p Bool
b