1725.72 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1725.72 s
[opt-env-conf-test] else do
1725.72 s
[opt-env-conf-test] for_ mDefault $ \d ->
1725.72 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Lint.hs:278:16-53
1725.72 s
[opt-env-conf-test] @@ -275,13 +275,8 @@
1725.72 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1725.72 s
[opt-env-conf-test] if null cs
1725.72 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1725.72 s
[opt-env-conf-test] else do
1725.72 s
[opt-env-conf-test] - for_ mDefault $ \d ->
1725.72 s
[opt-env-conf-test] - when (isNothing (find ((== d) . commandArg) cs)) $
1725.72 s
[opt-env-conf-test] - validationTFailure $
1725.72 s
[opt-env-conf-test] - LintError mLoc $
1725.72 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand d
1725.72 s
[opt-env-conf-test] and <$> traverse (go . commandParser) cs -- TODO is this right?
1725.72 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1725.72 s
[opt-env-conf-test] c1 <- go p1
1725.72 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1725.72 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:272:14-15
1725.72 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1725.72 s
[opt-env-conf-test] when (not c) $
1725.72 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1725.72 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1725.72 s
[opt-env-conf-test] - pure c
1725.72 s
[opt-env-conf-test] + pure n o t ( c )
1725.72 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1725.72 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1725.72 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1725.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:266:14-15
1725.72 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
1725.72 s
[opt-env-conf-test] when (not c) $
1725.72 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1725.72 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1725.72 s
[opt-env-conf-test] - pure c
1725.72 s
[opt-env-conf-test] + pure T r u e
1725.72 s
[opt-env-conf-test] ParserSome mLoc p -> do
1725.72 s
[opt-env-conf-test] c <- go p
1725.72 s
[opt-env-conf-test] when (not c) $
1725.72 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:259:14-24
1725.72 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1725.72 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1725.72 s
[opt-env-conf-test] c1 <- go p1
1731.91 s
[opt-env-conf-test] c2 <- go p2
1731.91 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
1731.94 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
1731.94 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1731.94 s
[opt-env-conf-test] ParserMany mLoc p -> do
1731.94 s
[opt-env-conf-test] c <- go p
1731.94 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:280:21-62
1731.94 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1731.94 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1731.94 s
[opt-env-conf-test] else do
1731.94 s
[opt-env-conf-test] for_ mDefault $ \d ->
1731.94 s
[opt-env-conf-test] - whe n (isNothing (find ((== d) . commandArg) cs)) $
1731.94 s
[opt-env-conf-test] + whe n ( n ot (isNothing (find ((== d) . commandArg) cs)) ) $
1731.94 s
[opt-env-conf-test] validationTFailure $
1731.94 s
[opt-env-conf-test] LintError mLoc $
1731.94 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1731.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1731.94 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.94 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.94 s
[opt-env-conf-test] c1 <- go p1
1731.94 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.94 s
[opt-env-conf-test] - pure $ c 1 || c2
1731.94 s
[opt-env-conf-test] + pure $ F a ls e || c2
1731.94 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.94 s
[opt-env-conf-test] case settingHelp of
1731.94 s
[opt-env-conf-test] Nothing ->
1731.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:259:14-24
1731.94 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
1731.94 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1731.94 s
[opt-env-conf-test] c1 <- go p1
1731.94 s
[opt-env-conf-test] c2 <- go p2
1731.94 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
1731.94 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
1731.94 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
1731.94 s
[opt-env-conf-test] ParserMany mLoc p -> do
1731.94 s
[opt-env-conf-test] c <- go p
1731.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:272:14-15
1731.94 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1731.95 s
[opt-env-conf-test] when (not c) $
1731.95 s
[opt-env-conf-test] mapValidationTFailure (LintError mLoc) $
1731.95 s
[opt-env-conf-test] validationTFailure LintErrorManyInfinite
1731.95 s
[opt-env-conf-test] - pure c
1731.95 s
[opt-env-conf-test] + pure T r u e
1731.95 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1731.95 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1731.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1731.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-18
1731.95 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.95 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.95 s
[opt-env-conf-test] c1 <- go p1
1731.95 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.95 s
[opt-env-conf-test] - pure $ c1 || c2
1731.95 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
1731.95 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.95 s
[opt-env-conf-test] case settingHelp of
1731.95 s
[opt-env-conf-test] Nothing ->
1731.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-18
1731.95 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.95 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.95 s
[opt-env-conf-test] c1 <- go p1
1731.95 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.95 s
[opt-env-conf-test] - pure $ c 1 || c2
1731.95 s
[opt-env-conf-test] + pure $ T ru e || c2
1731.95 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.95 s
[opt-env-conf-test] case settingHelp of
1731.95 s
[opt-env-conf-test] Nothing ->
1731.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:20-63
1731.95 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1731.95 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1731.95 s
[opt-env-conf-test] else do
1731.95 s
[opt-env-conf-test] for_ mDefault $ \d ->
1731.95 s
[opt-env-conf-test] - whe n ( isN oth i n g (find ((== d) . comman dA r g ) cs) ) $
1731.95 s
[opt-env-conf-test] + whe n T r ue $
1731.95 s
[opt-env-conf-test] validationTFailure $
1731.95 s
[opt-env-conf-test] LintError mLoc $
1731.95 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1731.95 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Lint.hs:255:29-33
1731.95 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
1731.95 s
[opt-env-conf-test] c1 <- go p1
1731.95 s
[opt-env-conf-test] c2 <- go p2
1731.95 s
[opt-env-conf-test] pure (c1 || c2) -- TODO: is this right?
1731.95 s
[opt-env-conf-test] - ParserEmpty _ -> pure Tr u e
1731.95 s
[opt-env-conf-test] + ParserEmpty _ -> pure F a ls e
1731.95 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1731.95 s
[opt-env-conf-test] c1 <- go p1
1731.95 s
[opt-env-conf-test] c2 <- go p2
1731.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:276:12-19
1731.95 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1731.95 s
[opt-env-conf-test] ParserAllOrNothing _ p -> go p
1731.95 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> go p
1731.95 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1731.95 s
[opt-env-conf-test] - if n u l l c s
1731.95 s
[opt-env-conf-test] + if F a l s e
1731.95 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1731.95 s
[opt-env-conf-test] else do
1731.95 s
[opt-env-conf-test] for_ mDefault $ \d ->
1731.95 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:288:16-24
1731.95 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.95 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.95 s
[opt-env-conf-test] c1 <- go p1
1731.95 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.95 s
[opt-env-conf-test] - pure $ c1 | | c2
1731.95 s
[opt-env-conf-test] + pure $ c1 & & c2
1731.95 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.95 s
[opt-env-conf-test] case settingHelp of
1731.95 s
[opt-env-conf-test] Nothing ->
1731.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:16-24
1731.95 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.95 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.95 s
[opt-env-conf-test] c1 <- go p1
1731.95 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.96 s
[opt-env-conf-test] - pure $ c1 || c2
1731.96 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
1731.96 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.96 s
[opt-env-conf-test] case settingHelp of
1731.96 s
[opt-env-conf-test] Nothing ->
1731.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1731.96 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.96 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.96 s
[opt-env-conf-test] c1 <- go p1
1731.96 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.96 s
[opt-env-conf-test] - pure $ c1 || c 2
1731.96 s
[opt-env-conf-test] + pure $ c1 || F a ls e
1731.96 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.96 s
[opt-env-conf-test] case settingHelp of
1731.96 s
[opt-env-conf-test] Nothing ->
1731.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1731.96 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1731.96 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1731.96 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1731.96 s
[opt-env-conf-test] and
1731.96 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
1731.96 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
1731.96 s
[opt-env-conf-test] null settingEnvVars,
1731.96 s
[opt-env-conf-test] null settingConfigVals
1731.96 s
[opt-env-conf-test] ]
1731.96 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1731.96 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.96 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.96 s
[opt-env-conf-test] c1 <- go p1
1731.96 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.96 s
[opt-env-conf-test] - pure $ c 1 || c 2
1731.96 s
[opt-env-conf-test] + pure $ T rue
1731.96 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.96 s
[opt-env-conf-test] case settingHelp of
1731.96 s
[opt-env-conf-test] Nothing ->
1731.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:288:22-24
1731.96 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1731.96 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1731.96 s
[opt-env-conf-test] c1 <- go p1
1731.96 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1731.96 s
[opt-env-conf-test] - pure $ c1 || c2
1731.96 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
1731.96 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1731.96 s
[opt-env-conf-test] case settingHelp of
1731.96 s
[opt-env-conf-test] Nothing ->
1731.96 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-33
1731.96 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.42 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.42 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.45 s
[opt-env-conf-test] and
1737.45 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1737.45 s
[opt-env-conf-test] + [ n o t ( settingTryArgument ) || settingTryOption || isJust settingSwitchValue,
1737.45 s
[opt-env-conf-test] null settingEnvVars,
1737.45 s
[opt-env-conf-test] null settingConfigVals
1737.45 s
[opt-env-conf-test] ]
1737.45 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:284:11-12
1737.45 s
[opt-env-conf-test] @@ -281,12 +281,11 @@
1737.45 s
[opt-env-conf-test] hidden
1737.45 s
[opt-env-conf-test] ]
1737.45 s
[opt-env-conf-test] <*> setting
1737.45 s
[opt-env-conf-test] - [ switch True,
1737.45 s
[opt-env-conf-test] long "completion-enriched",
1737.45 s
[opt-env-conf-test] value False,
1737.45 s
[opt-env-conf-test] hidden,
1737.45 s
[opt-env-conf-test] help "Whether to enable enriched completion"
1737.45 s
[opt-env-conf-test] ]
1737.45 s
[opt-env-conf-test] <*> setting
1737.45 s
[opt-env-conf-test] [ option,
1737.45 s
[opt-env-conf-test] reader auto,
1737.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:22-24
1737.45 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1737.45 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1737.45 s
[opt-env-conf-test] c1 <- go p1
1737.45 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1737.45 s
[opt-env-conf-test] - pure $ c1 || c 2
1737.45 s
[opt-env-conf-test] + pure $ c1 || T rue
1737.45 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1737.45 s
[opt-env-conf-test] case settingHelp of
1737.45 s
[opt-env-conf-test] Nothing ->
1737.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1737.46 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.46 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.46 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.46 s
[opt-env-conf-test] and
1737.46 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
1737.46 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
1737.46 s
[opt-env-conf-test] null settingEnvVars,
1737.46 s
[opt-env-conf-test] null settingConfigVals
1737.46 s
[opt-env-conf-test] ]
1737.46 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:57-82
1737.46 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.46 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.46 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.46 s
[opt-env-conf-test] and
1737.46 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1737.46 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || n o t ( isJust settingSwitchValue ) ,
1737.46 s
[opt-env-conf-test] null settingEnvVars,
1737.46 s
[opt-env-conf-test] null settingConfigVals
1737.46 s
[opt-env-conf-test] ]
1737.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:280:21-62
1737.46 s
[opt-env-conf-test] @@ -277,7 +277,7 @@
1737.46 s
[opt-env-conf-test] then validationTFailure $ LintError mLoc LintErrorNoCommands
1737.46 s
[opt-env-conf-test] else do
1737.46 s
[opt-env-conf-test] for_ mDefault $ \d ->
1737.46 s
[opt-env-conf-test] - whe n ( isN othin g ( fi n d ( ( = = d) . comman dA r g ) c s ) ) $
1737.46 s
[opt-env-conf-test] + whe n ( T r ue ) $
1737.46 s
[opt-env-conf-test] validationTFailure $
1737.46 s
[opt-env-conf-test] LintError mLoc $
1737.46 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand d
1737.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1737.46 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.46 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.46 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.46 s
[opt-env-conf-test] and
1737.46 s
[opt-env-conf-test] - [ settingTryArgume n t || setti n gTryOp t ion || i sJu st s ettin gSw i t chV al u e,
1737.46 s
[opt-env-conf-test] + [ settingTryArgume n t || F al s e,
1737.46 s
[opt-env-conf-test] null settingEnvVars,
1737.46 s
[opt-env-conf-test] null settingConfigVals
1737.46 s
[opt-env-conf-test] ]
1737.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1737.46 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.46 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.46 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.46 s
[opt-env-conf-test] and
1737.46 s
[opt-env-conf-test] - [ s e tt in g T r yA r g u m ent || s e ttin gTryOpti on || isJust set tingSwit chVa lu e ,
1737.46 s
[opt-env-conf-test] + [ T r u e ,
1737.46 s
[opt-env-conf-test] null settingEnvVars,
1737.46 s
[opt-env-conf-test] null settingConfigVals
1737.46 s
[opt-env-conf-test] ]
1737.46 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:37-82
1737.46 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.46 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.46 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.47 s
[opt-env-conf-test] and
1737.47 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption | | isJust settingSwitchValue,
1737.47 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption & & isJust settingSwitchValue,
1737.47 s
[opt-env-conf-test] null settingEnvVars,
1737.47 s
[opt-env-conf-test] null settingConfigVals
1737.47 s
[opt-env-conf-test] ]
1737.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1737.47 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.47 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.47 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.47 s
[opt-env-conf-test] and
1737.47 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
1737.47 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
1737.47 s
[opt-env-conf-test] null settingEnvVars,
1737.47 s
[opt-env-conf-test] null settingConfigVals
1737.47 s
[opt-env-conf-test] ]
1737.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-53
1737.47 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.47 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.47 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.47 s
[opt-env-conf-test] and
1737.47 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
1737.47 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
1737.47 s
[opt-env-conf-test] null settingEnvVars,
1737.47 s
[opt-env-conf-test] null settingConfigVals
1737.47 s
[opt-env-conf-test] ]
1737.47 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-82
1737.47 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.47 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.47 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.47 s
[opt-env-conf-test] and
1737.47 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1737.47 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption || isJust settingSwitchValue ) ,
1737.47 s
[opt-env-conf-test] null settingEnvVars,
1737.47 s
[opt-env-conf-test] null settingConfigVals
1737.47 s
[opt-env-conf-test] ]
1737.47 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:37-53
1737.47 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.47 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.47 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.47 s
[opt-env-conf-test] and
1737.47 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1737.47 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
1737.47 s
[opt-env-conf-test] null settingEnvVars,
1737.47 s
[opt-env-conf-test] null settingConfigVals
1737.47 s
[opt-env-conf-test] ]
1737.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-33
1737.47 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1737.47 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1737.47 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1737.48 s
[opt-env-conf-test] and
1737.48 s
[opt-env-conf-test] - [ se tt ingTr yArgu me n t || settingTryOption || isJust settingSwitchValue,
1743.50 s
[opt-env-conf-test] + [ F a l se || settingTryOption || isJust settingSwitchValue,
1743.53 s
[opt-env-conf-test] null settingEnvVars,
1743.53 s
[opt-env-conf-test] null settingConfigVals
1743.53 s
[opt-env-conf-test] ]
1743.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:37-82
1743.53 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1743.53 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1743.53 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1743.53 s
[opt-env-conf-test] and
1743.53 s
[opt-env-conf-test] - [ settingTryArgument || s e t tin g Tr y O pt ion || isJ u st setting Switc hVa l u e,
1743.53 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
1743.53 s
[opt-env-conf-test] null settingEnvVars,
1743.53 s
[opt-env-conf-test] null settingConfigVals
1743.53 s
[opt-env-conf-test] ]
1743.53 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:57-82
1743.53 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1743.53 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1743.54 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1743.54 s
[opt-env-conf-test] and
1743.54 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s Jus t s e tti ngSwit chV al u e,
1743.54 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || F al s e,
1743.54 s
[opt-env-conf-test] null settingEnvVars,
1743.54 s
[opt-env-conf-test] null settingConfigVals
1743.54 s
[opt-env-conf-test] ]
1743.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:340:15-82
1743.54 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1743.54 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1743.54 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1743.54 s
[opt-env-conf-test] and
1743.54 s
[opt-env-conf-test] - [ s e tt ingT ryArgume nt || settingTry Optio n | | isJust settingS witc hV al u e,
1743.54 s
[opt-env-conf-test] + [ F al s e,
1743.54 s
[opt-env-conf-test] null settingEnvVars,
1743.54 s
[opt-env-conf-test] null settingConfigVals
1743.54 s
[opt-env-conf-test] ]
1743.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:288:16-24
1743.54 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1743.54 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
1743.54 s
[opt-env-conf-test] c1 <- go p1
1743.54 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
1743.54 s
[opt-env-conf-test] - pure $ c 1 || c2
1743.54 s
[opt-env-conf-test] + pure $ F a ls e
1743.54 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
1743.54 s
[opt-env-conf-test] case settingHelp of
1743.54 s
[opt-env-conf-test] Nothing ->
1743.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1743.54 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1743.54 s
[opt-env-conf-test] " parses nothing."
1743.54 s
[opt-env-conf-test] ]
1743.54 s
[opt-env-conf-test] ],
1743.54 s
[opt-env-conf-test] - [ [ "Add an ",
1743.54 s
[opt-env-conf-test] functionChunk "argument",
1743.54 s
[opt-env-conf-test] ", ",
1743.54 s
[opt-env-conf-test] functionChunk "switch",
1743.54 s
[opt-env-conf-test] ", ",
1743.54 s
[opt-env-conf-test] functionChunk "option",
1743.54 s
[opt-env-conf-test] ", ",
1743.54 s
[opt-env-conf-test] functionChunk "env",
1743.54 s
[opt-env-conf-test] ", ",
1743.54 s
[opt-env-conf-test] functionChunk "conf",
1743.54 s
[opt-env-conf-test] ", or ",
1743.54 s
[opt-env-conf-test] functionChunk "value",
1743.54 s
[opt-env-conf-test] "."
1743.54 s
[opt-env-conf-test] ]
1743.54 s
[opt-env-conf-test] ]
1743.54 s
[opt-env-conf-test] ]
1743.54 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1743.55 s
[opt-env-conf-test] @@ -76,20 +76,19 @@
1743.55 s
[opt-env-conf-test] " parses nothing."
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] ],
1743.55 s
[opt-env-conf-test] [ [ "Add an ",
1743.55 s
[opt-env-conf-test] functionChunk "argument",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "switch",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "option",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "env",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "conf",
1743.55 s
[opt-env-conf-test] ", or ",
1743.55 s
[opt-env-conf-test] functionChunk "value",
1743.55 s
[opt-env-conf-test] - "."
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1743.55 s
[opt-env-conf-test] @@ -71,27 +71,7 @@
1743.55 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1743.55 s
[opt-env-conf-test] LintErrorEmptySetting ->
1743.55 s
[opt-env-conf-test] concat
1743.55 s
[opt-env-conf-test] - [ [ [ "This ",
1743.55 s
[opt-env-conf-test] - functionChunk "setting",
1743.55 s
[opt-env-conf-test] - " parses nothing."
1743.55 s
[opt-env-conf-test] - ]
1743.55 s
[opt-env-conf-test] - ],
1743.55 s
[opt-env-conf-test] - [ [ "Add an ",
1743.55 s
[opt-env-conf-test] - functionChunk "argument",
1743.55 s
[opt-env-conf-test] - ", ",
1743.55 s
[opt-env-conf-test] - functionChunk "switch",
1743.55 s
[opt-env-conf-test] - ", ",
1743.55 s
[opt-env-conf-test] - functionChunk "option",
1743.55 s
[opt-env-conf-test] - ", ",
1743.55 s
[opt-env-conf-test] - functionChunk "env",
1743.55 s
[opt-env-conf-test] - ", ",
1743.55 s
[opt-env-conf-test] - functionChunk "conf",
1743.55 s
[opt-env-conf-test] - ", or ",
1743.55 s
[opt-env-conf-test] - functionChunk "value",
1743.55 s
[opt-env-conf-test] - "."
1743.55 s
[opt-env-conf-test] - ]
1743.55 s
[opt-env-conf-test] - ]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.55 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1743.55 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1743.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:13-14
1743.55 s
[opt-env-conf-test] @@ -71,27 +71,22 @@
1743.55 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1743.55 s
[opt-env-conf-test] LintErrorEmptySetting ->
1743.55 s
[opt-env-conf-test] concat
1743.55 s
[opt-env-conf-test] - [ [ [ "This ",
1743.55 s
[opt-env-conf-test] - functionChunk "setting",
1743.55 s
[opt-env-conf-test] - " parses nothing."
1743.55 s
[opt-env-conf-test] - ]
1743.55 s
[opt-env-conf-test] - ],
1743.55 s
[opt-env-conf-test] [ [ "Add an ",
1743.55 s
[opt-env-conf-test] functionChunk "argument",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "switch",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "option",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "env",
1743.55 s
[opt-env-conf-test] ", ",
1743.55 s
[opt-env-conf-test] functionChunk "conf",
1743.55 s
[opt-env-conf-test] ", or ",
1743.55 s
[opt-env-conf-test] functionChunk "value",
1743.55 s
[opt-env-conf-test] "."
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.55 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1743.55 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1743.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1743.55 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.55 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1743.55 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInLong s ->
1743.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:13-63
1743.55 s
[opt-env-conf-test] @@ -93,7 +93,6 @@
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.55 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1743.55 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInLong s ->
1743.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1743.55 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.55 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1743.55 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1743.55 s
[opt-env-conf-test] ]
1743.55 s
[opt-env-conf-test] LintErrorDashInLong s ->
1743.55 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1743.55 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1743.56 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1743.56 s
[opt-env-conf-test] ]
1743.56 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.56 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1743.56 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1743.56 s
[opt-env-conf-test] ]
1743.56 s
[opt-env-conf-test] LintErrorDashInLong s ->
1743.56 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1743.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:97:13-55
1743.56 s
[opt-env-conf-test] @@ -94,7 +94,6 @@
1743.56 s
[opt-env-conf-test] ]
1743.56 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.56 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1743.56 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1743.56 s
[opt-env-conf-test] ]
1743.56 s
[opt-env-conf-test] LintErrorDashInLong s ->
1743.56 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1743.56 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1743.56 s
[opt-env-conf-test] @@ -93,9 +93,7 @@
1743.56 s
[opt-env-conf-test] ]
1743.56 s
[opt-env-conf-test] ]
1743.56 s
[opt-env-conf-test] LintErrorDashInShort ->
1743.56 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1750.76 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1750.76 s
[opt-env-conf-test] ]
1750.76 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.79 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.79 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:96:11-12
1750.79 s
[opt-env-conf-test] @@ -93,9 +93,8 @@
1750.79 s
[opt-env-conf-test] ]
1750.79 s
[opt-env-conf-test] ]
1750.79 s
[opt-env-conf-test] LintErrorDashInShort ->
1750.79 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1750.79 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1750.79 s
[opt-env-conf-test] ]
1750.79 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.79 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.79 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1750.79 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1750.79 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1750.79 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1750.79 s
[opt-env-conf-test] and
1750.79 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1750.79 s
[opt-env-conf-test] null settingEnvVars,
1750.79 s
[opt-env-conf-test] - null settingConfigVals
1750.79 s
[opt-env-conf-test] ]
1750.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1750.79 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1750.79 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1750.79 s
[opt-env-conf-test] ]
1750.79 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.79 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1750.79 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.79 s
[opt-env-conf-test] [ "Try ",
1750.79 s
[opt-env-conf-test] functionChunk "long",
1750.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:342:15-37
1750.79 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1750.79 s
[opt-env-conf-test] and
1750.79 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1750.79 s
[opt-env-conf-test] null settingEnvVars,
1750.79 s
[opt-env-conf-test] - null settingConfigVals
1750.79 s
[opt-env-conf-test] + n o t ( null settingConfigVals )
1750.79 s
[opt-env-conf-test] ]
1750.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:13-65
1750.79 s
[opt-env-conf-test] @@ -97,7 +97,6 @@
1750.79 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1750.79 s
[opt-env-conf-test] ]
1750.79 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.79 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1750.79 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.79 s
[opt-env-conf-test] [ "Try ",
1750.79 s
[opt-env-conf-test] functionChunk "long",
1750.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1750.80 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.80 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.80 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.80 s
[opt-env-conf-test] [ "Try ",
1750.80 s
[opt-env-conf-test] functionChunk "long",
1750.80 s
[opt-env-conf-test] " ",
1750.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:79:17-18
1750.80 s
[opt-env-conf-test] @@ -76,20 +76,7 @@
1750.80 s
[opt-env-conf-test] " parses nothing."
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] ],
1750.80 s
[opt-env-conf-test] - [ [ "Add an ",
1750.80 s
[opt-env-conf-test] - functionChunk "argument",
1750.80 s
[opt-env-conf-test] - ", ",
1750.80 s
[opt-env-conf-test] - functionChunk "switch",
1750.80 s
[opt-env-conf-test] - ", ",
1750.80 s
[opt-env-conf-test] - functionChunk "option",
1750.80 s
[opt-env-conf-test] - ", ",
1750.80 s
[opt-env-conf-test] - functionChunk "env",
1750.80 s
[opt-env-conf-test] - ", ",
1750.80 s
[opt-env-conf-test] - functionChunk "conf",
1750.80 s
[opt-env-conf-test] - ", or ",
1750.80 s
[opt-env-conf-test] - functionChunk "value",
1750.80 s
[opt-env-conf-test] - "."
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] LintErrorDashInShort ->
1750.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1750.80 s
[opt-env-conf-test] @@ -337,7 +337,4 @@
1750.80 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1750.80 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1750.80 s
[opt-env-conf-test] and
1750.80 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1750.80 s
[opt-env-conf-test] - null settingEnvVars,
1750.80 s
[opt-env-conf-test] - null settingConfigVals
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1750.80 s
[opt-env-conf-test] @@ -99,19 +99,7 @@
1750.80 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.80 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.80 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.80 s
[opt-env-conf-test] - [ "Try ",
1750.80 s
[opt-env-conf-test] - functionChunk "long",
1750.80 s
[opt-env-conf-test] - " ",
1750.80 s
[opt-env-conf-test] - chunk $
1750.80 s
[opt-env-conf-test] - T.pack $
1750.80 s
[opt-env-conf-test] - show $
1750.80 s
[opt-env-conf-test] - let go = \case
1750.80 s
[opt-env-conf-test] - [] -> []
1750.80 s
[opt-env-conf-test] - '-' : cs -> go cs
1750.80 s
[opt-env-conf-test] - c : cs -> c : cs
1750.80 s
[opt-env-conf-test] - in go $ NE.toList s,
1750.80 s
[opt-env-conf-test] - " instead."
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] ]
1750.80 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1750.80 s
[opt-env-conf-test] [ [ functionChunk "argument",
1750.80 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1750.80 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1750.81 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1750.81 s
[opt-env-conf-test] LintErrorEmptySetting ->
1750.81 s
[opt-env-conf-test] concat
1750.81 s
[opt-env-conf-test] [ [ [ "This ",
1750.81 s
[opt-env-conf-test] functionChunk "setting",
1750.81 s
[opt-env-conf-test] - " parses nothing."
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] ],
1750.81 s
[opt-env-conf-test] [ [ "Add an ",
1750.81 s
[opt-env-conf-test] functionChunk "argument",
1750.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1750.81 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1750.81 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.81 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.81 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.81 s
[opt-env-conf-test] - [ "Try ",
1750.81 s
[opt-env-conf-test] functionChunk "long",
1750.81 s
[opt-env-conf-test] " ",
1750.81 s
[opt-env-conf-test] chunk $
1750.81 s
[opt-env-conf-test] T.pack $
1750.81 s
[opt-env-conf-test] show $
1750.81 s
[opt-env-conf-test] let go = \case
1750.81 s
[opt-env-conf-test] [] -> []
1750.81 s
[opt-env-conf-test] '-' : cs -> go cs
1750.81 s
[opt-env-conf-test] c : cs -> c : cs
1750.81 s
[opt-env-conf-test] in go $ NE.toList s,
1750.81 s
[opt-env-conf-test] " instead."
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1750.81 s
[opt-env-conf-test] [ [ functionChunk "argument",
1750.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1750.81 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.81 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.81 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.81 s
[opt-env-conf-test] [ "Try ",
1750.81 s
[opt-env-conf-test] functionChunk "long",
1750.81 s
[opt-env-conf-test] " ",
1750.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:101:13-92
1750.81 s
[opt-env-conf-test] @@ -98,7 +98,6 @@
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.81 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.81 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.81 s
[opt-env-conf-test] [ "Try ",
1750.81 s
[opt-env-conf-test] functionChunk "long",
1750.81 s
[opt-env-conf-test] " ",
1750.81 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1750.81 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1750.81 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1750.81 s
[opt-env-conf-test] and
1750.81 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1750.81 s
[opt-env-conf-test] - n u l l se t ti ngEnv Va r s ,
1750.81 s
[opt-env-conf-test] + F a l se ,
1750.81 s
[opt-env-conf-test] null settingConfigVals
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:102:13-14
1750.81 s
[opt-env-conf-test] @@ -99,19 +99,18 @@
1750.81 s
[opt-env-conf-test] LintErrorDashInLong s ->
1750.81 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1750.81 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1750.81 s
[opt-env-conf-test] [ "Try ",
1750.81 s
[opt-env-conf-test] functionChunk "long",
1750.81 s
[opt-env-conf-test] " ",
1750.81 s
[opt-env-conf-test] chunk $
1750.81 s
[opt-env-conf-test] T.pack $
1750.81 s
[opt-env-conf-test] show $
1750.81 s
[opt-env-conf-test] let go = \case
1750.81 s
[opt-env-conf-test] [] -> []
1750.81 s
[opt-env-conf-test] '-' : cs -> go cs
1750.81 s
[opt-env-conf-test] c : cs -> c : cs
1750.81 s
[opt-env-conf-test] in go $ NE.toList s,
1750.81 s
[opt-env-conf-test] - " instead."
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] ]
1750.81 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1758.05 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.07 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:340:15-82
1758.07 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1758.07 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1758.07 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1758.07 s
[opt-env-conf-test] and
1758.07 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue ,
1758.07 s
[opt-env-conf-test] + [ n o t ( settingTryArgument || settingTryOption || isJust settingSwitchValue ) ,
1758.07 s
[opt-env-conf-test] null settingEnvVars,
1758.07 s
[opt-env-conf-test] null settingConfigVals
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1758.08 s
[opt-env-conf-test] @@ -97,22 +97,21 @@
1758.08 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] LintErrorDashInLong s ->
1758.08 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1758.08 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1758.08 s
[opt-env-conf-test] [ "Try ",
1758.08 s
[opt-env-conf-test] functionChunk "long",
1758.08 s
[opt-env-conf-test] " ",
1758.08 s
[opt-env-conf-test] chunk $
1758.08 s
[opt-env-conf-test] T.pack $
1758.08 s
[opt-env-conf-test] show $
1758.08 s
[opt-env-conf-test] let go = \case
1758.08 s
[opt-env-conf-test] [] -> []
1758.08 s
[opt-env-conf-test] '-' : cs -> go cs
1758.08 s
[opt-env-conf-test] c : cs -> c : cs
1758.08 s
[opt-env-conf-test] in go $ NE.toList s,
1758.08 s
[opt-env-conf-test] " instead."
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1758.08 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.08 s
[opt-env-conf-test] " has no ",
1758.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1758.08 s
[opt-env-conf-test] @@ -97,22 +97,9 @@
1758.08 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] LintErrorDashInLong s ->
1758.08 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1758.08 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1758.08 s
[opt-env-conf-test] - [ "Try ",
1758.08 s
[opt-env-conf-test] - functionChunk "long",
1758.08 s
[opt-env-conf-test] - " ",
1758.08 s
[opt-env-conf-test] - chunk $
1758.08 s
[opt-env-conf-test] - T.pack $
1758.08 s
[opt-env-conf-test] - show $
1758.08 s
[opt-env-conf-test] - let go = \case
1758.08 s
[opt-env-conf-test] - [] -> []
1758.08 s
[opt-env-conf-test] - '-' : cs -> go cs
1758.08 s
[opt-env-conf-test] - c : cs -> c : cs
1758.08 s
[opt-env-conf-test] - in go $ NE.toList s,
1758.08 s
[opt-env-conf-test] - " instead."
1758.08 s
[opt-env-conf-test] - ]
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1758.08 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.08 s
[opt-env-conf-test] " has no ",
1758.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1758.08 s
[opt-env-conf-test] @@ -114,11 +114,7 @@
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1758.08 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1758.08 s
[opt-env-conf-test] - " has no ",
1758.08 s
[opt-env-conf-test] - functionChunk "reader",
1758.08 s
[opt-env-conf-test] - "."
1758.08 s
[opt-env-conf-test] ]
1758.08 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1758.09 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1758.09 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] " has no ",
1758.09 s
[opt-env-conf-test] functionChunk "reader",
1758.09 s
[opt-env-conf-test] "."
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:117:13-14
1758.09 s
[opt-env-conf-test] @@ -114,11 +114,10 @@
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] " has no ",
1758.09 s
[opt-env-conf-test] functionChunk "reader",
1758.09 s
[opt-env-conf-test] - "."
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1758.09 s
[opt-env-conf-test] @@ -121,11 +121,7 @@
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1758.09 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] - " has no ",
1758.09 s
[opt-env-conf-test] - functionChunk "metavar",
1758.09 s
[opt-env-conf-test] - "."
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "option",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1758.09 s
[opt-env-conf-test] @@ -71,10 +71,9 @@
1758.09 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1758.09 s
[opt-env-conf-test] LintErrorEmptySetting ->
1758.09 s
[opt-env-conf-test] concat
1758.09 s
[opt-env-conf-test] - [ [ [ "This ",
1758.09 s
[opt-env-conf-test] functionChunk "setting",
1758.09 s
[opt-env-conf-test] " parses nothing."
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ],
1758.09 s
[opt-env-conf-test] [ [ "Add an ",
1758.09 s
[opt-env-conf-test] functionChunk "argument",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1758.09 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1758.09 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] " has no ",
1758.09 s
[opt-env-conf-test] functionChunk "metavar",
1758.09 s
[opt-env-conf-test] "."
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "option",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:124:13-14
1758.09 s
[opt-env-conf-test] @@ -121,11 +121,10 @@
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1758.09 s
[opt-env-conf-test] " has no ",
1758.09 s
[opt-env-conf-test] functionChunk "metavar",
1758.09 s
[opt-env-conf-test] - "."
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "option",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1758.09 s
[opt-env-conf-test] @@ -128,13 +128,7 @@
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1758.09 s
[opt-env-conf-test] - [ [ functionChunk "option",
1758.09 s
[opt-env-conf-test] - " or ",
1758.09 s
[opt-env-conf-test] - functionChunk "name",
1758.09 s
[opt-env-conf-test] - " has no ",
1758.09 s
[opt-env-conf-test] - functionChunk "reader",
1758.09 s
[opt-env-conf-test] - "."
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] ]
1758.09 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1758.09 s
[opt-env-conf-test] [ [ functionChunk "option",
1758.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1758.09 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1758.09 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1758.10 s
[opt-env-conf-test] - [ [ functionChunk "option",
1758.10 s
[opt-env-conf-test] " or ",
1758.10 s
[opt-env-conf-test] functionChunk "name",
1758.10 s
[opt-env-conf-test] " has no ",
1758.10 s
[opt-env-conf-test] functionChunk "reader",
1758.10 s
[opt-env-conf-test] "."
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1758.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1758.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:131:13-14
1758.10 s
[opt-env-conf-test] @@ -128,13 +128,12 @@
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1758.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1758.10 s
[opt-env-conf-test] " or ",
1758.10 s
[opt-env-conf-test] functionChunk "name",
1758.10 s
[opt-env-conf-test] " has no ",
1758.10 s
[opt-env-conf-test] functionChunk "reader",
1758.10 s
[opt-env-conf-test] - "."
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1758.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1758.10 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Lint.hs:340:15-82
1758.10 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1758.10 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1758.10 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1758.10 s
[opt-env-conf-test] and
1758.10 s
[opt-env-conf-test] - [ settingTryArgument | | settingTryOption || isJust settingSwitchValue,
1758.10 s
[opt-env-conf-test] + [ settingTryArgument & & settingTryOption || isJust settingSwitchValue,
1758.10 s
[opt-env-conf-test] null settingEnvVars,
1758.10 s
[opt-env-conf-test] null settingConfigVals
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:74:17-18
1758.10 s
[opt-env-conf-test] @@ -71,10 +71,7 @@
1758.10 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1758.10 s
[opt-env-conf-test] LintErrorEmptySetting ->
1758.10 s
[opt-env-conf-test] concat
1758.10 s
[opt-env-conf-test] - [ [ [ "This ",
1758.10 s
[opt-env-conf-test] - functionChunk "setting",
1758.10 s
[opt-env-conf-test] - " parses nothing."
1758.10 s
[opt-env-conf-test] ]
1758.10 s
[opt-env-conf-test] ],
1758.10 s
[opt-env-conf-test] [ [ "Add an ",
1758.10 s
[opt-env-conf-test] functionChunk "argument",
1758.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1758.10 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1758.10 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1758.10 s
[opt-env-conf-test] case lintErrorMessage of
1758.10 s
[opt-env-conf-test] LintErrorUndocumented ->
1758.10 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1758.10 s
[opt-env-conf-test] LintErrorEmptySetting ->
1758.10 s
[opt-env-conf-test] concat
1758.10 s
[opt-env-conf-test] [ [ [ "This ",
1764.85 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1764.85 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1764.85 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1764.87 s
[opt-env-conf-test] case lintErrorMessage of
1764.87 s
[opt-env-conf-test] LintErrorUndocumented ->
1764.87 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1764.87 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.87 s
[opt-env-conf-test] concat
1764.87 s
[opt-env-conf-test] [ [ [ "This ",
1764.88 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:71:12-51
1764.88 s
[opt-env-conf-test] @@ -68,7 +68,6 @@
1764.88 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1764.88 s
[opt-env-conf-test] case lintErrorMessage of
1764.88 s
[opt-env-conf-test] LintErrorUndocumented ->
1764.88 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1764.88 s
[opt-env-conf-test] LintErrorEmptySetting ->
1764.88 s
[opt-env-conf-test] concat
1764.88 s
[opt-env-conf-test] [ [ [ "This ",
1764.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1764.88 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1764.88 s
[opt-env-conf-test] and
1764.88 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.88 s
[opt-env-conf-test] null settingEnvVars,
1764.88 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
1764.88 s
[opt-env-conf-test] + T r u e
1764.88 s
[opt-env-conf-test] ]
1764.88 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1764.88 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1764.88 s
[opt-env-conf-test] pure $
1764.88 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1764.88 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.88 s
[opt-env-conf-test] - a n d
1764.88 s
[opt-env-conf-test] + F a lse
1764.88 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.88 s
[opt-env-conf-test] null settingEnvVars,
1764.88 s
[opt-env-conf-test] null settingConfigVals
1764.88 s
[opt-env-conf-test] ]
1764.88 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:100:11-12
1764.88 s
[opt-env-conf-test] @@ -97,22 +97,7 @@
1764.88 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1764.88 s
[opt-env-conf-test] ]
1764.88 s
[opt-env-conf-test] LintErrorDashInLong s ->
1764.88 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1764.88 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1764.88 s
[opt-env-conf-test] - [ "Try ",
1764.88 s
[opt-env-conf-test] - functionChunk "long",
1764.88 s
[opt-env-conf-test] - " ",
1764.88 s
[opt-env-conf-test] - chunk $
1764.88 s
[opt-env-conf-test] - T.pack $
1764.88 s
[opt-env-conf-test] - show $
1764.88 s
[opt-env-conf-test] - let go = \case
1764.88 s
[opt-env-conf-test] - [] -> []
1764.88 s
[opt-env-conf-test] - '-' : cs -> go cs
1764.89 s
[opt-env-conf-test] - c : cs -> c : cs
1764.89 s
[opt-env-conf-test] - in go $ NE.toList s,
1764.89 s
[opt-env-conf-test] - " instead."
1764.89 s
[opt-env-conf-test] - ]
1764.89 s
[opt-env-conf-test] ]
1764.89 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1764.89 s
[opt-env-conf-test] [ [ functionChunk "argument",
1764.89 s
[opt-env-conf-test] " has no ",
1764.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:339:11-14
1764.89 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1764.89 s
[opt-env-conf-test] pure $
1764.89 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1764.89 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.89 s
[opt-env-conf-test] - and
1764.89 s
[opt-env-conf-test] + n o t ( and
1764.89 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.89 s
[opt-env-conf-test] null settingEnvVars,
1764.89 s
[opt-env-conf-test] null settingConfigVals
1764.89 s
[opt-env-conf-test] - ]
1764.89 s
[opt-env-conf-test] + ] )
1764.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Lint.hs:341:15-34
1764.89 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1764.89 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.89 s
[opt-env-conf-test] and
1764.89 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.89 s
[opt-env-conf-test] - null settingEnvVars ,
1764.89 s
[opt-env-conf-test] + n o t ( null settingEnvVars ) ,
1764.89 s
[opt-env-conf-test] null settingConfigVals
1764.89 s
[opt-env-conf-test] ]
1764.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:342:15-37
1764.89 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
1764.89 s
[opt-env-conf-test] and
1764.89 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.89 s
[opt-env-conf-test] null settingEnvVars,
1764.89 s
[opt-env-conf-test] - n u l l se tting ConfigVals
1764.89 s
[opt-env-conf-test] + Fa l se
1764.89 s
[opt-env-conf-test] ]
1764.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:339:11-14
1764.89 s
[opt-env-conf-test] @@ -336,8 +336,8 @@
1764.89 s
[opt-env-conf-test] pure $
1764.89 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1764.89 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.89 s
[opt-env-conf-test] - and
1764.89 s
[opt-env-conf-test] + T r ue
1764.89 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.89 s
[opt-env-conf-test] null settingEnvVars,
1764.89 s
[opt-env-conf-test] null settingConfigVals
1764.89 s
[opt-env-conf-test] ]
1764.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Lint.hs:341:15-34
1764.89 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
1764.89 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.89 s
[opt-env-conf-test] and
1764.89 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.89 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
1764.89 s
[opt-env-conf-test] + T r u e ,
1764.89 s
[opt-env-conf-test] null settingConfigVals
1764.89 s
[opt-env-conf-test] ]
1764.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:340:13-14
1764.89 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
1764.89 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
1764.89 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
1764.90 s
[opt-env-conf-test] and
1764.90 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
1764.90 s
[opt-env-conf-test] null settingEnvVars,
1764.90 s
[opt-env-conf-test] null settingConfigVals
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:299:15-16
1764.90 s
[opt-env-conf-test] @@ -296,12 +296,11 @@
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] <*> many
1764.90 s
[opt-env-conf-test] ( setting
1764.90 s
[opt-env-conf-test] [ option,
1764.90 s
[opt-env-conf-test] reader str,
1764.90 s
[opt-env-conf-test] long "completion-word",
1764.90 s
[opt-env-conf-test] hidden,
1764.90 s
[opt-env-conf-test] - help "The words (arguments) that have already been typed"
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ),
1764.90 s
[opt-env-conf-test] ParsedNormally <$> p
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1764.90 s
[opt-env-conf-test] @@ -155,13 +155,7 @@
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1764.90 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1764.90 s
[opt-env-conf-test] - " has no ",
1764.90 s
[opt-env-conf-test] - functionChunk "long",
1764.90 s
[opt-env-conf-test] - " or ",
1764.90 s
[opt-env-conf-test] - functionChunk "short",
1764.90 s
[opt-env-conf-test] - "."
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1764.90 s
[opt-env-conf-test] [ [ functionChunk "long",
1764.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1764.90 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1764.90 s
[opt-env-conf-test] - [ [ functionChunk "option",
1764.90 s
[opt-env-conf-test] " or ",
1764.90 s
[opt-env-conf-test] functionChunk "name",
1764.90 s
[opt-env-conf-test] " has no ",
1764.90 s
[opt-env-conf-test] functionChunk "metavar",
1764.90 s
[opt-env-conf-test] "."
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1764.90 s
[opt-env-conf-test] [ [ functionChunk "switch",
1764.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1764.90 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1764.90 s
[opt-env-conf-test] - [ [ functionChunk "long",
1764.90 s
[opt-env-conf-test] " or ",
1764.90 s
[opt-env-conf-test] functionChunk "short",
1764.90 s
[opt-env-conf-test] " has no ",
1764.90 s
[opt-env-conf-test] functionChunk "option",
1764.90 s
[opt-env-conf-test] " or ",
1764.90 s
[opt-env-conf-test] functionChunk "switch",
1764.90 s
[opt-env-conf-test] "."
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1764.90 s
[opt-env-conf-test] [ [ functionChunk "env",
1764.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1764.90 s
[opt-env-conf-test] @@ -164,15 +164,14 @@
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1764.90 s
[opt-env-conf-test] [ [ functionChunk "long",
1764.90 s
[opt-env-conf-test] " or ",
1764.90 s
[opt-env-conf-test] functionChunk "short",
1764.90 s
[opt-env-conf-test] " has no ",
1764.90 s
[opt-env-conf-test] functionChunk "option",
1764.90 s
[opt-env-conf-test] " or ",
1764.90 s
[opt-env-conf-test] functionChunk "switch",
1764.90 s
[opt-env-conf-test] - "."
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] ]
1764.90 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1764.91 s
[opt-env-conf-test] [ [ functionChunk "env",
1764.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:167:13-14
1764.91 s
[opt-env-conf-test] @@ -164,15 +164,7 @@
1764.91 s
[opt-env-conf-test] ]
1764.91 s
[opt-env-conf-test] ]
1764.91 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1764.91 s
[opt-env-conf-test] - [ [ functionChunk "long",
1764.91 s
[opt-env-conf-test] - " or ",
1771.53 s
[opt-env-conf-test] - functionChunk "short",
1771.53 s
[opt-env-conf-test] - " has no ",
1771.57 s
[opt-env-conf-test] - functionChunk "option",
1771.57 s
[opt-env-conf-test] - " or ",
1771.57 s
[opt-env-conf-test] - functionChunk "switch",
1771.57 s
[opt-env-conf-test] - "."
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1771.57 s
[opt-env-conf-test] [ [ functionChunk "env",
1771.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1771.57 s
[opt-env-conf-test] @@ -137,13 +137,7 @@
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1771.57 s
[opt-env-conf-test] - [ [ functionChunk "option",
1771.57 s
[opt-env-conf-test] - " has no ",
1771.57 s
[opt-env-conf-test] - functionChunk "long",
1771.57 s
[opt-env-conf-test] - " or ",
1771.57 s
[opt-env-conf-test] - functionChunk "short",
1771.57 s
[opt-env-conf-test] - "."
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1771.57 s
[opt-env-conf-test] [ [ functionChunk "option",
1771.57 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1771.57 s
[opt-env-conf-test] @@ -146,13 +146,7 @@
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] ]
1771.57 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1771.57 s
[opt-env-conf-test] - [ [ functionChunk "option",
1771.57 s
[opt-env-conf-test] - " or ",
1771.58 s
[opt-env-conf-test] - functionChunk "name",
1771.58 s
[opt-env-conf-test] - " has no ",
1771.58 s
[opt-env-conf-test] - functionChunk "metavar",
1771.58 s
[opt-env-conf-test] - "."
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "switch",
1771.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:149:13-14
1771.58 s
[opt-env-conf-test] @@ -146,13 +146,12 @@
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "option",
1771.58 s
[opt-env-conf-test] " or ",
1771.58 s
[opt-env-conf-test] functionChunk "name",
1771.58 s
[opt-env-conf-test] " has no ",
1771.58 s
[opt-env-conf-test] functionChunk "metavar",
1771.58 s
[opt-env-conf-test] - "."
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "switch",
1771.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1771.58 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1771.58 s
[opt-env-conf-test] - [ [ functionChunk "option",
1771.58 s
[opt-env-conf-test] " has no ",
1771.58 s
[opt-env-conf-test] functionChunk "long",
1771.58 s
[opt-env-conf-test] " or ",
1771.58 s
[opt-env-conf-test] functionChunk "short",
1771.58 s
[opt-env-conf-test] "."
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "option",
1771.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:140:13-14
1771.58 s
[opt-env-conf-test] @@ -137,13 +137,12 @@
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "option",
1771.58 s
[opt-env-conf-test] " has no ",
1771.58 s
[opt-env-conf-test] functionChunk "long",
1771.58 s
[opt-env-conf-test] " or ",
1771.58 s
[opt-env-conf-test] functionChunk "short",
1771.58 s
[opt-env-conf-test] - "."
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "option",
1771.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1771.58 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "switch",
1771.58 s
[opt-env-conf-test] " has no ",
1771.58 s
[opt-env-conf-test] functionChunk "long",
1771.58 s
[opt-env-conf-test] " or ",
1771.58 s
[opt-env-conf-test] functionChunk "short",
1771.58 s
[opt-env-conf-test] - "."
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "long",
1771.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:158:13-14
1771.58 s
[opt-env-conf-test] @@ -155,13 +155,12 @@
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1771.58 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1771.58 s
[opt-env-conf-test] " has no ",
1771.58 s
[opt-env-conf-test] functionChunk "long",
1771.58 s
[opt-env-conf-test] " or ",
1771.58 s
[opt-env-conf-test] functionChunk "short",
1771.58 s
[opt-env-conf-test] "."
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1771.58 s
[opt-env-conf-test] [ [ functionChunk "long",
1771.58 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1771.58 s
[opt-env-conf-test] @@ -208,18 +208,7 @@
1771.58 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1771.58 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1771.58 s
[opt-env-conf-test] - " or ",
1771.58 s
[opt-env-conf-test] - functionChunk "name",
1771.58 s
[opt-env-conf-test] - " was called with no way to load configuration."
1771.58 s
[opt-env-conf-test] - ],
1771.58 s
[opt-env-conf-test] - [ "You can load configuration with ",
1771.58 s
[opt-env-conf-test] - functionChunk "withConfig",
1771.58 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1771.58 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1771.58 s
[opt-env-conf-test] - "."
1771.58 s
[opt-env-conf-test] - ]
1771.58 s
[opt-env-conf-test] ]
1771.58 s
[opt-env-conf-test] LintErrorManyInfinite ->
1771.59 s
[opt-env-conf-test] [ [ functionChunk "many",
1771.59 s
[opt-env-conf-test] " or ",
1771.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:11-12
1771.59 s
[opt-env-conf-test] @@ -208,18 +208,13 @@
1771.59 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1771.59 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1771.59 s
[opt-env-conf-test] - " or ",
1771.59 s
[opt-env-conf-test] - functionChunk "name",
1771.59 s
[opt-env-conf-test] - " was called with no way to load configuration."
1771.59 s
[opt-env-conf-test] - ],
1771.59 s
[opt-env-conf-test] [ "You can load configuration with ",
1771.59 s
[opt-env-conf-test] functionChunk "withConfig",
1771.59 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1771.59 s
[opt-env-conf-test] functionChunk "withoutConfig",
1771.59 s
[opt-env-conf-test] "."
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] LintErrorManyInfinite ->
1771.59 s
[opt-env-conf-test] [ [ functionChunk "many",
1771.59 s
[opt-env-conf-test] " or ",
1771.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1771.59 s
[opt-env-conf-test] @@ -221,11 +221,7 @@
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] LintErrorManyInfinite ->
1771.59 s
[opt-env-conf-test] - [ [ functionChunk "many",
1771.59 s
[opt-env-conf-test] - " or ",
1771.59 s
[opt-env-conf-test] - functionChunk "some",
1771.59 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1771.59 s
[opt-env-conf-test] ],
1771.59 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1771.59 s
[opt-env-conf-test] ],
1771.59 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1771.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1771.59 s
[opt-env-conf-test] @@ -204,9 +204,8 @@
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1771.59 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1771.59 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1771.59 s
[opt-env-conf-test] [ [ functionChunk "conf",
1771.59 s
[opt-env-conf-test] " or ",
1771.59 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1771.59 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] ]
1771.59 s
[opt-env-conf-test] LintErrorManyInfinite ->
1771.59 s
[opt-env-conf-test] - [ [ functionChunk "many",
1771.59 s
[opt-env-conf-test] " or ",
1771.59 s
[opt-env-conf-test] functionChunk "some",
1771.59 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1771.59 s
[opt-env-conf-test] ],
1771.59 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1771.59 s
[opt-env-conf-test] ],
1771.59 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1771.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:277:9-10
1771.60 s
[opt-env-conf-test] @@ -274,12 +274,8 @@
1771.60 s
[opt-env-conf-test] help "Render the fish completion script"
1771.60 s
[opt-env-conf-test] ],
1771.60 s
[opt-env-conf-test] setting
1771.60 s
[opt-env-conf-test] - [ help "Query completion",
1771.60 s
[opt-env-conf-test] - switch CompletionQuery,
1771.60 s
[opt-env-conf-test] -- Long string that no normal user would ever use.
1771.60 s
[opt-env-conf-test] - long "query-opt-env-conf-completion",
1771.60 s
[opt-env-conf-test] - hidden
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] <*> setting
1771.60 s
[opt-env-conf-test] [ switch True,
1771.60 s
[opt-env-conf-test] long "completion-enriched",
1771.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1771.60 s
[opt-env-conf-test] @@ -193,9 +193,7 @@
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] LintErrorNoCommands ->
1771.60 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1771.60 s
[opt-env-conf-test] - " was called with an empty list."
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1771.60 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1771.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1771.60 s
[opt-env-conf-test] @@ -198,10 +198,7 @@
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1771.60 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1771.60 s
[opt-env-conf-test] - " was called with an unknown command: ",
1771.60 s
[opt-env-conf-test] - commandChunk c
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] ]
1771.60 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1771.60 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1771.60 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1778.88 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1778.88 s
[opt-env-conf-test] ]
1778.90 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1778.90 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1778.90 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1778.90 s
[opt-env-conf-test] ]
1778.90 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1778.90 s
[opt-env-conf-test] [ [ functionChunk "conf",
1778.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:196:13-14
1778.91 s
[opt-env-conf-test] @@ -193,9 +193,8 @@
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorNoCommands ->
1778.91 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1778.91 s
[opt-env-conf-test] " was called with an empty list."
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1778.91 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1778.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1778.91 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1778.91 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1778.91 s
[opt-env-conf-test] " was called with an unknown command: ",
1778.91 s
[opt-env-conf-test] - commandChunk c
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1778.91 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1778.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:201:13-14
1778.91 s
[opt-env-conf-test] @@ -198,10 +198,9 @@
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1778.91 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1778.91 s
[opt-env-conf-test] " was called with an unknown command: ",
1778.91 s
[opt-env-conf-test] commandChunk c
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1778.91 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1778.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:208:13-44
1778.91 s
[opt-env-conf-test] @@ -205,7 +205,6 @@
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1778.91 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1778.91 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1778.91 s
[opt-env-conf-test] ]
1778.91 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1778.91 s
[opt-env-conf-test] [ [ functionChunk "conf",
1778.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1778.92 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1778.92 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1778.92 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1778.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1778.92 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1778.92 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1778.92 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1778.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:13-136
1778.92 s
[opt-env-conf-test] @@ -204,7 +204,6 @@
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1778.92 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1778.92 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1778.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1778.92 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1778.92 s
[opt-env-conf-test] functionChunk "name",
1778.92 s
[opt-env-conf-test] " was called with no way to load configuration."
1778.92 s
[opt-env-conf-test] ],
1778.92 s
[opt-env-conf-test] [ "You can load configuration with ",
1778.92 s
[opt-env-conf-test] functionChunk "withConfig",
1778.92 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1778.92 s
[opt-env-conf-test] functionChunk "withoutConfig",
1778.92 s
[opt-env-conf-test] - "."
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorManyInfinite ->
1778.92 s
[opt-env-conf-test] [ [ functionChunk "many",
1778.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1778.92 s
[opt-env-conf-test] @@ -213,12 +213,11 @@
1778.92 s
[opt-env-conf-test] functionChunk "name",
1778.92 s
[opt-env-conf-test] " was called with no way to load configuration."
1778.92 s
[opt-env-conf-test] ],
1778.92 s
[opt-env-conf-test] - [ "You can load configuration with ",
1778.92 s
[opt-env-conf-test] functionChunk "withConfig",
1778.92 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1778.92 s
[opt-env-conf-test] functionChunk "withoutConfig",
1778.92 s
[opt-env-conf-test] "."
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorManyInfinite ->
1778.92 s
[opt-env-conf-test] [ [ functionChunk "many",
1778.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1778.92 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1778.92 s
[opt-env-conf-test] - [ [ functionChunk "env",
1778.92 s
[opt-env-conf-test] " or ",
1778.92 s
[opt-env-conf-test] functionChunk "name",
1778.92 s
[opt-env-conf-test] " has no ",
1778.92 s
[opt-env-conf-test] functionChunk "metavar",
1778.92 s
[opt-env-conf-test] "."
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] ]
1778.92 s
[opt-env-conf-test] LintErrorNoCommands ->
1778.92 s
[opt-env-conf-test] [ [ functionChunk "commands",
1778.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:216:13-14
1778.92 s
[opt-env-conf-test] @@ -213,12 +213,7 @@
1778.92 s
[opt-env-conf-test] functionChunk "name",
1778.92 s
[opt-env-conf-test] " was called with no way to load configuration."
1778.92 s
[opt-env-conf-test] ],
1778.92 s
[opt-env-conf-test] - [ "You can load configuration with ",
1778.93 s
[opt-env-conf-test] - functionChunk "withConfig",
1778.93 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1778.93 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1778.93 s
[opt-env-conf-test] - "."
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorManyInfinite ->
1778.93 s
[opt-env-conf-test] [ [ functionChunk "many",
1778.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1778.93 s
[opt-env-conf-test] @@ -184,13 +184,12 @@
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1778.93 s
[opt-env-conf-test] [ [ functionChunk "env",
1778.93 s
[opt-env-conf-test] " or ",
1778.93 s
[opt-env-conf-test] functionChunk "name",
1778.93 s
[opt-env-conf-test] " has no ",
1778.93 s
[opt-env-conf-test] functionChunk "metavar",
1778.93 s
[opt-env-conf-test] - "."
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorNoCommands ->
1778.93 s
[opt-env-conf-test] [ [ functionChunk "commands",
1778.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:187:13-14
1778.93 s
[opt-env-conf-test] @@ -184,13 +184,7 @@
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1778.93 s
[opt-env-conf-test] - [ [ functionChunk "env",
1778.93 s
[opt-env-conf-test] - " or ",
1778.93 s
[opt-env-conf-test] - functionChunk "name",
1778.93 s
[opt-env-conf-test] - " has no ",
1778.93 s
[opt-env-conf-test] - functionChunk "metavar",
1778.93 s
[opt-env-conf-test] - "."
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorNoCommands ->
1778.93 s
[opt-env-conf-test] [ [ functionChunk "commands",
1778.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1778.93 s
[opt-env-conf-test] @@ -221,13 +221,7 @@
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorManyInfinite ->
1778.93 s
[opt-env-conf-test] - [ [ functionChunk "many",
1778.93 s
[opt-env-conf-test] - " or ",
1778.93 s
[opt-env-conf-test] - functionChunk "some",
1778.93 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1778.93 s
[opt-env-conf-test] - ],
1778.93 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1778.93 s
[opt-env-conf-test] ],
1778.93 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test]
1778.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1778.93 s
[opt-env-conf-test] @@ -208,11 +208,7 @@
1778.93 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1778.93 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1778.93 s
[opt-env-conf-test] - " or ",
1778.93 s
[opt-env-conf-test] - functionChunk "name",
1778.93 s
[opt-env-conf-test] - " was called with no way to load configuration."
1778.93 s
[opt-env-conf-test] ],
1778.93 s
[opt-env-conf-test] [ "You can load configuration with ",
1778.93 s
[opt-env-conf-test] functionChunk "withConfig",
1778.93 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1778.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1778.93 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1778.93 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1778.93 s
[opt-env-conf-test] ]
1778.93 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1778.93 s
[opt-env-conf-test] [ [ functionChunk "conf",
1778.93 s
[opt-env-conf-test] " or ",
1778.93 s
[opt-env-conf-test] functionChunk "name",
1778.93 s
[opt-env-conf-test] - " was called with no way to load configuration."
1778.93 s
[opt-env-conf-test] ],
1778.93 s
[opt-env-conf-test] [ "You can load configuration with ",
1778.93 s
[opt-env-conf-test] functionChunk "withConfig",
1778.93 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1778.93 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:211:13-14
1778.93 s
[opt-env-conf-test] @@ -208,11 +208,10 @@
1779.92 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1779.92 s
[opt-env-conf-test] ]
1779.92 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1779.92 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1779.92 s
[opt-env-conf-test] " or ",
1779.92 s
[opt-env-conf-test] functionChunk "name",
1779.92 s
[opt-env-conf-test] " was called with no way to load configuration."
1779.92 s
[opt-env-conf-test] ],
1779.92 s
[opt-env-conf-test] [ "You can load configuration with ",
1779.92 s
[opt-env-conf-test] functionChunk "withConfig",
1779.92 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1779.92 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:207:11-12
1779.92 s
[opt-env-conf-test] @@ -204,9 +204,7 @@
1779.92 s
[opt-env-conf-test] ]
1779.92 s
[opt-env-conf-test] ]
1779.92 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1779.92 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1779.92 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1779.92 s
[opt-env-conf-test] ]
1779.92 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1779.92 s
[opt-env-conf-test] [ [ functionChunk "conf",
1779.92 s
[opt-env-conf-test] " or ",
1779.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1779.92 s
[opt-env-conf-test] @@ -66,168 +66,145 @@
1779.92 s
[opt-env-conf-test] renderLintError LintError {..} =
1779.92 s
[opt-env-conf-test] concat
1779.92 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1779.92 s
[opt-env-conf-test] case lintErrorMessage of
1779.92 s
[opt-env-conf-test] LintErrorUndocumented ->
1779.92 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1779.92 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1779.93 s
[opt-env-conf-test] - concat
1779.93 s
[opt-env-conf-test] - [ [ [ "This ",
1779.93 s
[opt-env-conf-test] - functionChunk "setting",
1779.93 s
[opt-env-conf-test] - " parses nothing."
1779.93 s
[opt-env-conf-test] - ]
1779.93 s
[opt-env-conf-test] - ],
1779.93 s
[opt-env-conf-test] - [ [ "Add an ",
1779.93 s
[opt-env-conf-test] - functionChunk "argument",
1779.93 s
[opt-env-conf-test] - ", ",
1779.93 s
[opt-env-conf-test] - functionChunk "switch",
1779.93 s
[opt-env-conf-test] - ", ",
1779.93 s
[opt-env-conf-test] - functionChunk "option",
1779.93 s
[opt-env-conf-test] - ", ",
1779.93 s
[opt-env-conf-test] - functionChunk "env",
1779.93 s
[opt-env-conf-test] - ", ",
1779.93 s
[opt-env-conf-test] - functionChunk "conf",
1779.93 s
[opt-env-conf-test] - ", or ",
1779.93 s
[opt-env-conf-test] - functionChunk "value",
1779.93 s
[opt-env-conf-test] - "."
1779.93 s
[opt-env-conf-test] - ]
1779.93 s
[opt-env-conf-test] - ]
1779.93 s
[opt-env-conf-test] - ]
1779.93 s
[opt-env-conf-test] LintErrorDashInShort ->
1779.93 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1779.93 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] LintErrorDashInLong s ->
1779.93 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1779.93 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1779.93 s
[opt-env-conf-test] [ "Try ",
1779.93 s
[opt-env-conf-test] functionChunk "long",
1779.93 s
[opt-env-conf-test] " ",
1779.93 s
[opt-env-conf-test] chunk $
1779.93 s
[opt-env-conf-test] T.pack $
1779.93 s
[opt-env-conf-test] show $
1779.93 s
[opt-env-conf-test] let go = \case
1779.93 s
[opt-env-conf-test] [] -> []
1779.93 s
[opt-env-conf-test] '-' : cs -> go cs
1779.93 s
[opt-env-conf-test] c : cs -> c : cs
1779.93 s
[opt-env-conf-test] in go $ NE.toList s,
1779.93 s
[opt-env-conf-test] " instead."
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1779.93 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.93 s
[opt-env-conf-test] " has no ",
1779.93 s
[opt-env-conf-test] functionChunk "reader",
1779.93 s
[opt-env-conf-test] "."
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1779.93 s
[opt-env-conf-test] [ [ functionChunk "argument",
1779.93 s
[opt-env-conf-test] " has no ",
1779.93 s
[opt-env-conf-test] functionChunk "metavar",
1779.93 s
[opt-env-conf-test] "."
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1779.93 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.93 s
[opt-env-conf-test] " or ",
1779.93 s
[opt-env-conf-test] functionChunk "name",
1779.93 s
[opt-env-conf-test] " has no ",
1779.93 s
[opt-env-conf-test] functionChunk "reader",
1779.93 s
[opt-env-conf-test] "."
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] ]
1779.93 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1779.94 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.94 s
[opt-env-conf-test] " has no ",
1779.94 s
[opt-env-conf-test] functionChunk "long",
1779.94 s
[opt-env-conf-test] " or ",
1779.94 s
[opt-env-conf-test] functionChunk "short",
1779.94 s
[opt-env-conf-test] "."
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1779.94 s
[opt-env-conf-test] [ [ functionChunk "option",
1779.94 s
[opt-env-conf-test] " or ",
1779.94 s
[opt-env-conf-test] functionChunk "name",
1779.94 s
[opt-env-conf-test] " has no ",
1779.94 s
[opt-env-conf-test] functionChunk "metavar",
1779.94 s
[opt-env-conf-test] "."
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1779.94 s
[opt-env-conf-test] [ [ functionChunk "switch",
1779.94 s
[opt-env-conf-test] " has no ",
1779.94 s
[opt-env-conf-test] functionChunk "long",
1779.94 s
[opt-env-conf-test] " or ",
1779.94 s
[opt-env-conf-test] functionChunk "short",
1779.94 s
[opt-env-conf-test] "."
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1779.94 s
[opt-env-conf-test] [ [ functionChunk "long",
1779.94 s
[opt-env-conf-test] " or ",
1779.94 s
[opt-env-conf-test] functionChunk "short",
1779.94 s
[opt-env-conf-test] " has no ",
1779.94 s
[opt-env-conf-test] functionChunk "option",
1779.94 s
[opt-env-conf-test] " or ",
1779.94 s
[opt-env-conf-test] functionChunk "switch",
1779.94 s
[opt-env-conf-test] "."
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1779.94 s
[opt-env-conf-test] [ [ functionChunk "env",
1779.94 s
[opt-env-conf-test] " or ",
1779.94 s
[opt-env-conf-test] functionChunk "name",
1779.94 s
[opt-env-conf-test] " has no ",
1779.94 s
[opt-env-conf-test] functionChunk "reader",
1779.94 s
[opt-env-conf-test] "."
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] ]
1779.94 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1779.94 s
[opt-env-conf-test] [ [ functionChunk "env",
1779.94 s
[opt-env-conf-test] " or ",
1779.94 s
[opt-env-conf-test] functionChunk "name",
1779.94 s
[opt-env-conf-test] " has no ",
1781.47 s
[opt-env-conf-test] functionChunk "metavar",
1781.48 s
[opt-env-conf-test] "."
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] LintErrorNoCommands ->
1781.48 s
[opt-env-conf-test] [ [ functionChunk "commands",
1781.48 s
[opt-env-conf-test] " was called with an empty list."
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1781.48 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1781.48 s
[opt-env-conf-test] " was called with an unknown command: ",
1781.48 s
[opt-env-conf-test] commandChunk c
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1781.48 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1781.48 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1781.48 s
[opt-env-conf-test] [ [ functionChunk "conf",
1781.48 s
[opt-env-conf-test] " or ",
1781.48 s
[opt-env-conf-test] functionChunk "name",
1781.48 s
[opt-env-conf-test] " was called with no way to load configuration."
1781.48 s
[opt-env-conf-test] ],
1781.48 s
[opt-env-conf-test] [ "You can load configuration with ",
1781.48 s
[opt-env-conf-test] functionChunk "withConfig",
1781.48 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1781.48 s
[opt-env-conf-test] functionChunk "withoutConfig",
1781.48 s
[opt-env-conf-test] "."
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] ]
1781.48 s
[opt-env-conf-test] LintErrorManyInfinite ->
1781.48 s
[opt-env-conf-test] [ [ functionChunk "many",
1781.48 s
[opt-env-conf-test] " or ",
1781.48 s
[opt-env-conf-test] functionChunk "some",
1781.48 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1781.48 s
[opt-env-conf-test] ],
1781.49 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1781.49 s
[opt-env-conf-test] ],
1781.49 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test]
1781.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1781.49 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1781.49 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.49 s
[opt-env-conf-test] " or ",
1781.49 s
[opt-env-conf-test] functionChunk "name",
1781.49 s
[opt-env-conf-test] " has no ",
1781.49 s
[opt-env-conf-test] functionChunk "reader",
1781.49 s
[opt-env-conf-test] - "."
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1781.49 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1781.49 s
[opt-env-conf-test] @@ -175,13 +175,12 @@
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1781.49 s
[opt-env-conf-test] - [ [ functionChunk "env",
1781.49 s
[opt-env-conf-test] " or ",
1781.49 s
[opt-env-conf-test] functionChunk "name",
1781.49 s
[opt-env-conf-test] " has no ",
1781.49 s
[opt-env-conf-test] functionChunk "reader",
1781.49 s
[opt-env-conf-test] "."
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1781.49 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:11-12
1781.49 s
[opt-env-conf-test] @@ -221,13 +221,8 @@
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test] LintErrorManyInfinite ->
1781.49 s
[opt-env-conf-test] - [ [ functionChunk "many",
1781.49 s
[opt-env-conf-test] - " or ",
1781.49 s
[opt-env-conf-test] - functionChunk "some",
1781.49 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1781.49 s
[opt-env-conf-test] - ],
1781.49 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1781.49 s
[opt-env-conf-test] ],
1781.49 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1781.49 s
[opt-env-conf-test] ]
1781.49 s
[opt-env-conf-test]
1781.50 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:178:13-14
1781.50 s
[opt-env-conf-test] @@ -175,13 +175,7 @@
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1781.50 s
[opt-env-conf-test] - [ [ functionChunk "env",
1781.50 s
[opt-env-conf-test] - " or ",
1781.50 s
[opt-env-conf-test] - functionChunk "name",
1781.50 s
[opt-env-conf-test] - " has no ",
1781.50 s
[opt-env-conf-test] - functionChunk "reader",
1781.50 s
[opt-env-conf-test] - "."
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1781.50 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1781.50 s
[opt-env-conf-test] @@ -66,168 +66,166 @@
1781.50 s
[opt-env-conf-test] renderLintError LintError {..} =
1781.50 s
[opt-env-conf-test] concat
1781.50 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1781.50 s
[opt-env-conf-test] case lintErrorMessage of
1781.50 s
[opt-env-conf-test] - LintErrorUndocumented ->
1781.50 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1781.50 s
[opt-env-conf-test] LintErrorEmptySetting ->
1781.50 s
[opt-env-conf-test] concat
1781.50 s
[opt-env-conf-test] [ [ [ "This ",
1781.50 s
[opt-env-conf-test] functionChunk "setting",
1781.50 s
[opt-env-conf-test] " parses nothing."
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ],
1781.50 s
[opt-env-conf-test] [ [ "Add an ",
1781.50 s
[opt-env-conf-test] functionChunk "argument",
1781.50 s
[opt-env-conf-test] ", ",
1781.50 s
[opt-env-conf-test] functionChunk "switch",
1781.50 s
[opt-env-conf-test] ", ",
1781.50 s
[opt-env-conf-test] functionChunk "option",
1781.50 s
[opt-env-conf-test] ", ",
1781.50 s
[opt-env-conf-test] functionChunk "env",
1781.50 s
[opt-env-conf-test] ", ",
1781.50 s
[opt-env-conf-test] functionChunk "conf",
1781.50 s
[opt-env-conf-test] ", or ",
1781.50 s
[opt-env-conf-test] functionChunk "value",
1781.50 s
[opt-env-conf-test] "."
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorDashInShort ->
1781.50 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1781.50 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorDashInLong s ->
1781.50 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1781.50 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1781.50 s
[opt-env-conf-test] [ "Try ",
1781.50 s
[opt-env-conf-test] functionChunk "long",
1781.50 s
[opt-env-conf-test] " ",
1781.50 s
[opt-env-conf-test] chunk $
1781.50 s
[opt-env-conf-test] T.pack $
1781.50 s
[opt-env-conf-test] show $
1781.50 s
[opt-env-conf-test] let go = \case
1781.50 s
[opt-env-conf-test] [] -> []
1781.50 s
[opt-env-conf-test] '-' : cs -> go cs
1781.50 s
[opt-env-conf-test] c : cs -> c : cs
1781.50 s
[opt-env-conf-test] in go $ NE.toList s,
1781.50 s
[opt-env-conf-test] " instead."
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1781.50 s
[opt-env-conf-test] [ [ functionChunk "argument",
1781.50 s
[opt-env-conf-test] " has no ",
1781.50 s
[opt-env-conf-test] functionChunk "reader",
1781.50 s
[opt-env-conf-test] "."
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1781.50 s
[opt-env-conf-test] [ [ functionChunk "argument",
1781.50 s
[opt-env-conf-test] " has no ",
1781.50 s
[opt-env-conf-test] functionChunk "metavar",
1781.50 s
[opt-env-conf-test] "."
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1781.50 s
[opt-env-conf-test] [ [ functionChunk "option",
1781.50 s
[opt-env-conf-test] " or ",
1781.50 s
[opt-env-conf-test] functionChunk "name",
1781.50 s
[opt-env-conf-test] " has no ",
1781.50 s
[opt-env-conf-test] functionChunk "reader",
1781.50 s
[opt-env-conf-test] "."
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] ]
1781.50 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1781.50 s
[opt-env-conf-test] [ [ functionChunk "option",
1781.50 s
[opt-env-conf-test] " has no ",
1781.50 s
[opt-env-conf-test] functionChunk "long",
1781.50 s
[opt-env-conf-test] " or ",
1781.50 s
[opt-env-conf-test] functionChunk "short",
1781.51 s
[opt-env-conf-test] "."
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1781.51 s
[opt-env-conf-test] [ [ functionChunk "option",
1781.51 s
[opt-env-conf-test] " or ",
1781.51 s
[opt-env-conf-test] functionChunk "name",
1781.51 s
[opt-env-conf-test] " has no ",
1781.51 s
[opt-env-conf-test] functionChunk "metavar",
1781.51 s
[opt-env-conf-test] "."
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1781.51 s
[opt-env-conf-test] [ [ functionChunk "switch",
1781.51 s
[opt-env-conf-test] " has no ",
1781.51 s
[opt-env-conf-test] functionChunk "long",
1781.51 s
[opt-env-conf-test] " or ",
1781.51 s
[opt-env-conf-test] functionChunk "short",
1781.51 s
[opt-env-conf-test] "."
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1781.51 s
[opt-env-conf-test] [ [ functionChunk "long",
1781.51 s
[opt-env-conf-test] " or ",
1781.51 s
[opt-env-conf-test] functionChunk "short",
1781.51 s
[opt-env-conf-test] " has no ",
1781.51 s
[opt-env-conf-test] functionChunk "option",
1781.51 s
[opt-env-conf-test] " or ",
1781.51 s
[opt-env-conf-test] functionChunk "switch",
1781.51 s
[opt-env-conf-test] "."
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1781.51 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.51 s
[opt-env-conf-test] " or ",
1781.51 s
[opt-env-conf-test] functionChunk "name",
1781.51 s
[opt-env-conf-test] " has no ",
1781.51 s
[opt-env-conf-test] functionChunk "reader",
1781.51 s
[opt-env-conf-test] "."
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1781.51 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.51 s
[opt-env-conf-test] " or ",
1781.51 s
[opt-env-conf-test] functionChunk "name",
1781.51 s
[opt-env-conf-test] " has no ",
1781.51 s
[opt-env-conf-test] functionChunk "metavar",
1781.51 s
[opt-env-conf-test] "."
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] ]
1781.51 s
[opt-env-conf-test] LintErrorNoCommands ->
1781.51 s
[opt-env-conf-test] [ [ functionChunk "commands",
1781.65 s
[opt-env-conf-test] " was called with an empty list."
1781.65 s
[opt-env-conf-test] ]
1781.65 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1781.66 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1781.66 s
[opt-env-conf-test] " was called with an unknown command: ",
1781.66 s
[opt-env-conf-test] commandChunk c
1781.66 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1781.66 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1781.66 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1781.66 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1781.66 s
[opt-env-conf-test] [ [ functionChunk "conf",
1781.66 s
[opt-env-conf-test] " or ",
1781.66 s
[opt-env-conf-test] functionChunk "name",
1781.66 s
[opt-env-conf-test] " was called with no way to load configuration."
1781.66 s
[opt-env-conf-test] ],
1781.66 s
[opt-env-conf-test] [ "You can load configuration with ",
1781.66 s
[opt-env-conf-test] functionChunk "withConfig",
1781.66 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1781.66 s
[opt-env-conf-test] functionChunk "withoutConfig",
1781.66 s
[opt-env-conf-test] "."
1781.66 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test] LintErrorManyInfinite ->
1781.66 s
[opt-env-conf-test] [ [ functionChunk "many",
1781.66 s
[opt-env-conf-test] " or ",
1781.66 s
[opt-env-conf-test] functionChunk "some",
1781.66 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1781.66 s
[opt-env-conf-test] ],
1781.66 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1781.66 s
[opt-env-conf-test] ],
1781.66 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1781.66 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test]
1781.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1781.66 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1781.66 s
[opt-env-conf-test] renderLintError LintError {..} =
1781.66 s
[opt-env-conf-test] concat
1781.66 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1781.66 s
[opt-env-conf-test] case lintErrorMessage of
1781.66 s
[opt-env-conf-test] LintErrorUndocumented ->
1781.66 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1781.66 s
[opt-env-conf-test] LintErrorEmptySetting ->
1781.66 s
[opt-env-conf-test] concat
1781.66 s
[opt-env-conf-test] [ [ [ "This ",
1781.66 s
[opt-env-conf-test] functionChunk "setting",
1781.66 s
[opt-env-conf-test] " parses nothing."
1781.66 s
[opt-env-conf-test] ]
1781.66 s
[opt-env-conf-test] ],
1781.66 s
[opt-env-conf-test] [ [ "Add an ",
1781.67 s
[opt-env-conf-test] functionChunk "argument",
1781.67 s
[opt-env-conf-test] ", ",
1781.67 s
[opt-env-conf-test] functionChunk "switch",
1781.67 s
[opt-env-conf-test] ", ",
1781.67 s
[opt-env-conf-test] functionChunk "option",
1781.67 s
[opt-env-conf-test] ", ",
1781.67 s
[opt-env-conf-test] functionChunk "env",
1781.67 s
[opt-env-conf-test] ", ",
1781.67 s
[opt-env-conf-test] functionChunk "conf",
1781.67 s
[opt-env-conf-test] ", or ",
1781.67 s
[opt-env-conf-test] functionChunk "value",
1781.67 s
[opt-env-conf-test] "."
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] LintErrorDashInShort ->
1781.67 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1781.67 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] LintErrorDashInLong s ->
1781.67 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1781.67 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1781.67 s
[opt-env-conf-test] [ "Try ",
1781.67 s
[opt-env-conf-test] functionChunk "long",
1781.67 s
[opt-env-conf-test] " ",
1781.67 s
[opt-env-conf-test] chunk $
1781.67 s
[opt-env-conf-test] T.pack $
1781.67 s
[opt-env-conf-test] show $
1781.67 s
[opt-env-conf-test] let go = \case
1781.67 s
[opt-env-conf-test] [] -> []
1781.67 s
[opt-env-conf-test] '-' : cs -> go cs
1781.67 s
[opt-env-conf-test] c : cs -> c : cs
1781.67 s
[opt-env-conf-test] in go $ NE.toList s,
1781.67 s
[opt-env-conf-test] " instead."
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1781.67 s
[opt-env-conf-test] [ [ functionChunk "argument",
1781.67 s
[opt-env-conf-test] " has no ",
1781.67 s
[opt-env-conf-test] functionChunk "reader",
1781.67 s
[opt-env-conf-test] "."
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1781.67 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1781.67 s
[opt-env-conf-test] - " has no ",
1781.67 s
[opt-env-conf-test] - functionChunk "metavar",
1781.67 s
[opt-env-conf-test] - "."
1781.67 s
[opt-env-conf-test] - ]
1781.67 s
[opt-env-conf-test] - ]
1781.67 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1781.67 s
[opt-env-conf-test] [ [ functionChunk "option",
1781.67 s
[opt-env-conf-test] " or ",
1781.67 s
[opt-env-conf-test] functionChunk "name",
1781.67 s
[opt-env-conf-test] " has no ",
1781.67 s
[opt-env-conf-test] functionChunk "reader",
1781.67 s
[opt-env-conf-test] "."
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1781.67 s
[opt-env-conf-test] [ [ functionChunk "option",
1781.67 s
[opt-env-conf-test] " has no ",
1781.67 s
[opt-env-conf-test] functionChunk "long",
1781.67 s
[opt-env-conf-test] " or ",
1781.67 s
[opt-env-conf-test] functionChunk "short",
1781.67 s
[opt-env-conf-test] "."
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1781.67 s
[opt-env-conf-test] [ [ functionChunk "option",
1781.67 s
[opt-env-conf-test] " or ",
1781.67 s
[opt-env-conf-test] functionChunk "name",
1781.67 s
[opt-env-conf-test] " has no ",
1781.67 s
[opt-env-conf-test] functionChunk "metavar",
1781.67 s
[opt-env-conf-test] "."
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] ]
1781.67 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1781.68 s
[opt-env-conf-test] [ [ functionChunk "switch",
1781.68 s
[opt-env-conf-test] " has no ",
1781.68 s
[opt-env-conf-test] functionChunk "long",
1781.68 s
[opt-env-conf-test] " or ",
1781.68 s
[opt-env-conf-test] functionChunk "short",
1781.68 s
[opt-env-conf-test] "."
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1781.68 s
[opt-env-conf-test] [ [ functionChunk "long",
1781.68 s
[opt-env-conf-test] " or ",
1781.68 s
[opt-env-conf-test] functionChunk "short",
1781.68 s
[opt-env-conf-test] " has no ",
1781.68 s
[opt-env-conf-test] functionChunk "option",
1781.68 s
[opt-env-conf-test] " or ",
1781.68 s
[opt-env-conf-test] functionChunk "switch",
1781.68 s
[opt-env-conf-test] "."
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1781.68 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.68 s
[opt-env-conf-test] " or ",
1781.68 s
[opt-env-conf-test] functionChunk "name",
1781.68 s
[opt-env-conf-test] " has no ",
1781.68 s
[opt-env-conf-test] functionChunk "reader",
1781.68 s
[opt-env-conf-test] "."
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1781.68 s
[opt-env-conf-test] [ [ functionChunk "env",
1781.68 s
[opt-env-conf-test] " or ",
1781.68 s
[opt-env-conf-test] functionChunk "name",
1781.68 s
[opt-env-conf-test] " has no ",
1781.68 s
[opt-env-conf-test] functionChunk "metavar",
1781.68 s
[opt-env-conf-test] "."
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] ]
1781.68 s
[opt-env-conf-test] LintErrorNoCommands ->
1782.32 s
[opt-env-conf-test] [ [ functionChunk "commands",
1782.32 s
[opt-env-conf-test] " was called with an empty list."
1782.32 s
[opt-env-conf-test] ]
1782.32 s
[opt-env-conf-test] ]
1782.32 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1782.32 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1782.32 s
[opt-env-conf-test] " was called with an unknown command: ",
1782.32 s
[opt-env-conf-test] commandChunk c
1782.32 s
[opt-env-conf-test] ]
1782.32 s
[opt-env-conf-test] ]
1782.32 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1782.32 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1782.32 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1782.32 s
[opt-env-conf-test] ]
1782.32 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1782.32 s
[opt-env-conf-test] [ [ functionChunk "conf",
1782.32 s
[opt-env-conf-test] " or ",
1782.32 s
[opt-env-conf-test] functionChunk "name",
1782.32 s
[opt-env-conf-test] " was called with no way to load configuration."
1782.32 s
[opt-env-conf-test] ],
1782.32 s
[opt-env-conf-test] [ "You can load configuration with ",
1782.33 s
[opt-env-conf-test] functionChunk "withConfig",
1782.33 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1782.33 s
[opt-env-conf-test] functionChunk "withoutConfig",
1782.33 s
[opt-env-conf-test] "."
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test] LintErrorManyInfinite ->
1782.33 s
[opt-env-conf-test] [ [ functionChunk "many",
1782.33 s
[opt-env-conf-test] " or ",
1782.33 s
[opt-env-conf-test] functionChunk "some",
1782.33 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1782.33 s
[opt-env-conf-test] ],
1782.33 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1782.33 s
[opt-env-conf-test] ],
1782.33 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test]
1782.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1782.33 s
[opt-env-conf-test] @@ -66,168 +66,161 @@
1782.33 s
[opt-env-conf-test] renderLintError LintError {..} =
1782.33 s
[opt-env-conf-test] concat
1782.33 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1782.33 s
[opt-env-conf-test] case lintErrorMessage of
1782.33 s
[opt-env-conf-test] LintErrorUndocumented ->
1782.33 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1782.33 s
[opt-env-conf-test] LintErrorEmptySetting ->
1782.33 s
[opt-env-conf-test] concat
1782.33 s
[opt-env-conf-test] [ [ [ "This ",
1782.33 s
[opt-env-conf-test] functionChunk "setting",
1782.33 s
[opt-env-conf-test] " parses nothing."
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test] ],
1782.33 s
[opt-env-conf-test] [ [ "Add an ",
1782.33 s
[opt-env-conf-test] functionChunk "argument",
1782.33 s
[opt-env-conf-test] ", ",
1782.33 s
[opt-env-conf-test] functionChunk "switch",
1782.33 s
[opt-env-conf-test] ", ",
1782.33 s
[opt-env-conf-test] functionChunk "option",
1782.33 s
[opt-env-conf-test] ", ",
1782.33 s
[opt-env-conf-test] functionChunk "env",
1782.33 s
[opt-env-conf-test] ", ",
1782.33 s
[opt-env-conf-test] functionChunk "conf",
1782.33 s
[opt-env-conf-test] ", or ",
1782.33 s
[opt-env-conf-test] functionChunk "value",
1782.33 s
[opt-env-conf-test] "."
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test] LintErrorDashInShort ->
1782.33 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1782.33 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1782.33 s
[opt-env-conf-test] ]
1782.33 s
[opt-env-conf-test] LintErrorDashInLong s ->
1782.33 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1782.33 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1782.33 s
[opt-env-conf-test] [ "Try ",
1782.33 s
[opt-env-conf-test] functionChunk "long",
1782.33 s
[opt-env-conf-test] " ",
1782.34 s
[opt-env-conf-test] chunk $
1782.34 s
[opt-env-conf-test] T.pack $
1782.34 s
[opt-env-conf-test] show $
1782.34 s
[opt-env-conf-test] let go = \case
1782.34 s
[opt-env-conf-test] [] -> []
1782.34 s
[opt-env-conf-test] '-' : cs -> go cs
1782.34 s
[opt-env-conf-test] c : cs -> c : cs
1782.34 s
[opt-env-conf-test] in go $ NE.toList s,
1782.34 s
[opt-env-conf-test] " instead."
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1782.34 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1782.34 s
[opt-env-conf-test] - " has no ",
1782.34 s
[opt-env-conf-test] - functionChunk "reader",
1782.34 s
[opt-env-conf-test] - "."
1782.34 s
[opt-env-conf-test] - ]
1782.34 s
[opt-env-conf-test] - ]
1782.34 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1782.34 s
[opt-env-conf-test] [ [ functionChunk "argument",
1782.34 s
[opt-env-conf-test] " has no ",
1782.34 s
[opt-env-conf-test] functionChunk "metavar",
1782.34 s
[opt-env-conf-test] "."
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1782.34 s
[opt-env-conf-test] [ [ functionChunk "option",
1782.34 s
[opt-env-conf-test] " or ",
1782.34 s
[opt-env-conf-test] functionChunk "name",
1782.34 s
[opt-env-conf-test] " has no ",
1782.34 s
[opt-env-conf-test] functionChunk "reader",
1782.34 s
[opt-env-conf-test] "."
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1782.34 s
[opt-env-conf-test] [ [ functionChunk "option",
1782.34 s
[opt-env-conf-test] " has no ",
1782.34 s
[opt-env-conf-test] functionChunk "long",
1782.34 s
[opt-env-conf-test] " or ",
1782.34 s
[opt-env-conf-test] functionChunk "short",
1782.34 s
[opt-env-conf-test] "."
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1782.34 s
[opt-env-conf-test] [ [ functionChunk "option",
1782.34 s
[opt-env-conf-test] " or ",
1782.34 s
[opt-env-conf-test] functionChunk "name",
1782.34 s
[opt-env-conf-test] " has no ",
1782.34 s
[opt-env-conf-test] functionChunk "metavar",
1782.34 s
[opt-env-conf-test] "."
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] ]
1782.34 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1782.34 s
[opt-env-conf-test] [ [ functionChunk "switch",
1782.34 s
[opt-env-conf-test] " has no ",
1782.34 s
[opt-env-conf-test] functionChunk "long",
1782.34 s
[opt-env-conf-test] " or ",
1782.34 s
[opt-env-conf-test] functionChunk "short",
1782.35 s
[opt-env-conf-test] "."
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1782.35 s
[opt-env-conf-test] [ [ functionChunk "long",
1782.35 s
[opt-env-conf-test] " or ",
1782.35 s
[opt-env-conf-test] functionChunk "short",
1782.35 s
[opt-env-conf-test] " has no ",
1782.35 s
[opt-env-conf-test] functionChunk "option",
1782.35 s
[opt-env-conf-test] " or ",
1782.35 s
[opt-env-conf-test] functionChunk "switch",
1782.35 s
[opt-env-conf-test] "."
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1782.35 s
[opt-env-conf-test] [ [ functionChunk "env",
1782.35 s
[opt-env-conf-test] " or ",
1782.35 s
[opt-env-conf-test] functionChunk "name",
1782.35 s
[opt-env-conf-test] " has no ",
1782.35 s
[opt-env-conf-test] functionChunk "reader",
1782.35 s
[opt-env-conf-test] "."
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1782.35 s
[opt-env-conf-test] [ [ functionChunk "env",
1782.35 s
[opt-env-conf-test] " or ",
1782.35 s
[opt-env-conf-test] functionChunk "name",
1782.35 s
[opt-env-conf-test] " has no ",
1782.35 s
[opt-env-conf-test] functionChunk "metavar",
1782.35 s
[opt-env-conf-test] "."
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] ]
1782.35 s
[opt-env-conf-test] LintErrorNoCommands ->
1782.42 s
[opt-env-conf-test] [ [ functionChunk "commands",
1782.42 s
[opt-env-conf-test] " was called with an empty list."
1782.42 s
[opt-env-conf-test] ]
1782.42 s
[opt-env-conf-test] ]
1782.43 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1782.43 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1782.43 s
[opt-env-conf-test] " was called with an unknown command: ",
1782.43 s
[opt-env-conf-test] commandChunk c
1782.43 s
[opt-env-conf-test] ]
1782.43 s
[opt-env-conf-test] ]
1782.43 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1782.43 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1782.43 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1782.43 s
[opt-env-conf-test] ]
1782.43 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1782.43 s
[opt-env-conf-test] [ [ functionChunk "conf",
1782.43 s
[opt-env-conf-test] " or ",
1782.43 s
[opt-env-conf-test] functionChunk "name",
1782.43 s
[opt-env-conf-test] " was called with no way to load configuration."
1782.43 s
[opt-env-conf-test] ],
1782.43 s
[opt-env-conf-test] [ "You can load configuration with ",
1782.43 s
[opt-env-conf-test] functionChunk "withConfig",
1782.43 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1782.43 s
[opt-env-conf-test] functionChunk "withoutConfig",
1782.43 s
[opt-env-conf-test] "."
1782.43 s
[opt-env-conf-test] ]
1782.43 s
[opt-env-conf-test] ]
1782.43 s
[opt-env-conf-test] LintErrorManyInfinite ->
1782.43 s
[opt-env-conf-test] [ [ functionChunk "many",
1782.43 s
[opt-env-conf-test] " or ",
1782.43 s
[opt-env-conf-test] functionChunk "some",
1782.43 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1782.43 s
[opt-env-conf-test] ],
1782.43 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1782.43 s
[opt-env-conf-test] ],
1782.43 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1782.43 s
[opt-env-conf-test] ]
1782.43 s
[opt-env-conf-test]
1782.43 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1782.43 s
[opt-env-conf-test] @@ -66,168 +66,151 @@
1782.43 s
[opt-env-conf-test] renderLintError LintError {..} =
1782.43 s
[opt-env-conf-test] concat
1782.43 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1782.43 s
[opt-env-conf-test] case lintErrorMessage of
1782.43 s
[opt-env-conf-test] LintErrorUndocumented ->
1782.43 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1782.43 s
[opt-env-conf-test] LintErrorEmptySetting ->
1782.44 s
[opt-env-conf-test] concat
1782.44 s
[opt-env-conf-test] [ [ [ "This ",
1782.44 s
[opt-env-conf-test] functionChunk "setting",
1782.44 s
[opt-env-conf-test] " parses nothing."
1782.44 s
[opt-env-conf-test] ]
1782.44 s
[opt-env-conf-test] ],
1782.44 s
[opt-env-conf-test] [ [ "Add an ",
1782.44 s
[opt-env-conf-test] functionChunk "argument",
1782.44 s
[opt-env-conf-test] ", ",
1782.44 s
[opt-env-conf-test] functionChunk "switch",
1782.44 s
[opt-env-conf-test] ", ",
1782.44 s
[opt-env-conf-test] functionChunk "option",
1782.44 s
[opt-env-conf-test] ", ",
1782.44 s
[opt-env-conf-test] functionChunk "env",
1782.44 s
[opt-env-conf-test] ", ",
1782.44 s
[opt-env-conf-test] functionChunk "conf",
1782.44 s
[opt-env-conf-test] ", or ",
1782.44 s
[opt-env-conf-test] functionChunk "value",
1782.44 s
[opt-env-conf-test] "."
1782.44 s
[opt-env-conf-test] ]
1782.44 s
[opt-env-conf-test] ]
1782.44 s
[opt-env-conf-test] ]
1782.44 s
[opt-env-conf-test] LintErrorDashInShort ->
1782.44 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1782.44 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1782.44 s
[opt-env-conf-test] ]
1782.44 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1782.44 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1782.44 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1782.44 s
[opt-env-conf-test] - [ "Try ",
1782.44 s
[opt-env-conf-test] - functionChunk "long",
1782.44 s
[opt-env-conf-test] - " ",
1782.44 s
[opt-env-conf-test] - chunk $
1782.44 s
[opt-env-conf-test] - T.pack $
1782.44 s
[opt-env-conf-test] - show $
1782.44 s
[opt-env-conf-test] - let go = \case
1782.44 s
[opt-env-conf-test] - [] -> []
1782.44 s
[opt-env-conf-test] - '-' : cs -> go cs
1782.44 s
[opt-env-conf-test] - c : cs -> c : cs
1782.44 s
[opt-env-conf-test] - in go $ NE.toList s,
1782.44 s
[opt-env-conf-test] - " instead."
1782.44 s
[opt-env-conf-test] - ]
1782.44 s
[opt-env-conf-test] - ]
1782.44 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1782.44 s
[opt-env-conf-test] [ [ functionChunk "argument",
1782.44 s
[opt-env-conf-test] " has no ",
1782.44 s
[opt-env-conf-test] functionChunk "reader",
1782.44 s
[opt-env-conf-test] "."
1782.44 s
[opt-env-conf-test] ]
1782.44 s
[opt-env-conf-test] ]
1782.44 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1782.44 s
[opt-env-conf-test] [ [ functionChunk "argument",
1782.45 s
[opt-env-conf-test] " has no ",
1782.45 s
[opt-env-conf-test] functionChunk "metavar",
1782.45 s
[opt-env-conf-test] "."
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1782.45 s
[opt-env-conf-test] [ [ functionChunk "option",
1782.45 s
[opt-env-conf-test] " or ",
1782.45 s
[opt-env-conf-test] functionChunk "name",
1782.45 s
[opt-env-conf-test] " has no ",
1782.45 s
[opt-env-conf-test] functionChunk "reader",
1782.45 s
[opt-env-conf-test] "."
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1782.45 s
[opt-env-conf-test] [ [ functionChunk "option",
1782.45 s
[opt-env-conf-test] " has no ",
1782.45 s
[opt-env-conf-test] functionChunk "long",
1782.45 s
[opt-env-conf-test] " or ",
1782.45 s
[opt-env-conf-test] functionChunk "short",
1782.45 s
[opt-env-conf-test] "."
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1782.45 s
[opt-env-conf-test] [ [ functionChunk "option",
1782.45 s
[opt-env-conf-test] " or ",
1782.45 s
[opt-env-conf-test] functionChunk "name",
1782.45 s
[opt-env-conf-test] " has no ",
1782.45 s
[opt-env-conf-test] functionChunk "metavar",
1782.45 s
[opt-env-conf-test] "."
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1782.45 s
[opt-env-conf-test] [ [ functionChunk "switch",
1782.45 s
[opt-env-conf-test] " has no ",
1782.45 s
[opt-env-conf-test] functionChunk "long",
1782.45 s
[opt-env-conf-test] " or ",
1782.45 s
[opt-env-conf-test] functionChunk "short",
1782.45 s
[opt-env-conf-test] "."
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1782.45 s
[opt-env-conf-test] [ [ functionChunk "long",
1782.45 s
[opt-env-conf-test] " or ",
1782.45 s
[opt-env-conf-test] functionChunk "short",
1782.45 s
[opt-env-conf-test] " has no ",
1782.45 s
[opt-env-conf-test] functionChunk "option",
1782.45 s
[opt-env-conf-test] " or ",
1782.45 s
[opt-env-conf-test] functionChunk "switch",
1782.45 s
[opt-env-conf-test] "."
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] ]
1782.45 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1782.45 s
[opt-env-conf-test] [ [ functionChunk "env",
1782.45 s
[opt-env-conf-test] " or ",
1782.45 s
[opt-env-conf-test] functionChunk "name",
1782.45 s
[opt-env-conf-test] " has no ",
1782.45 s
[opt-env-conf-test] functionChunk "reader",
1782.45 s
[opt-env-conf-test] "."
1782.45 s
[opt-env-conf-test] ]
1782.46 s
[opt-env-conf-test] ]
1782.46 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1782.46 s
[opt-env-conf-test] [ [ functionChunk "env",
1782.46 s
[opt-env-conf-test] " or ",
1782.46 s
[opt-env-conf-test] functionChunk "name",
1782.46 s
[opt-env-conf-test] " has no ",
1782.46 s
[opt-env-conf-test] functionChunk "metavar",
1782.46 s
[opt-env-conf-test] "."
1782.46 s
[opt-env-conf-test] ]
1783.95 s
[opt-env-conf-test] ]
1783.95 s
[opt-env-conf-test] LintErrorNoCommands ->
1783.95 s
[opt-env-conf-test] [ [ functionChunk "commands",
1784.08 s
[opt-env-conf-test] " was called with an empty list."
1784.08 s
[opt-env-conf-test] ]
1784.08 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1784.09 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1784.09 s
[opt-env-conf-test] " was called with an unknown command: ",
1784.09 s
[opt-env-conf-test] commandChunk c
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1784.09 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1784.09 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1784.09 s
[opt-env-conf-test] [ [ functionChunk "conf",
1784.09 s
[opt-env-conf-test] " or ",
1784.09 s
[opt-env-conf-test] functionChunk "name",
1784.09 s
[opt-env-conf-test] " was called with no way to load configuration."
1784.09 s
[opt-env-conf-test] ],
1784.09 s
[opt-env-conf-test] [ "You can load configuration with ",
1784.09 s
[opt-env-conf-test] functionChunk "withConfig",
1784.09 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1784.09 s
[opt-env-conf-test] functionChunk "withoutConfig",
1784.09 s
[opt-env-conf-test] "."
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorManyInfinite ->
1784.09 s
[opt-env-conf-test] [ [ functionChunk "many",
1784.09 s
[opt-env-conf-test] " or ",
1784.09 s
[opt-env-conf-test] functionChunk "some",
1784.09 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1784.09 s
[opt-env-conf-test] ],
1784.09 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1784.09 s
[opt-env-conf-test] ],
1784.09 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test]
1784.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1784.09 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1784.09 s
[opt-env-conf-test] renderLintError LintError {..} =
1784.09 s
[opt-env-conf-test] concat
1784.09 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1784.09 s
[opt-env-conf-test] case lintErrorMessage of
1784.09 s
[opt-env-conf-test] LintErrorUndocumented ->
1784.09 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1784.09 s
[opt-env-conf-test] LintErrorEmptySetting ->
1784.09 s
[opt-env-conf-test] concat
1784.09 s
[opt-env-conf-test] [ [ [ "This ",
1784.09 s
[opt-env-conf-test] functionChunk "setting",
1784.09 s
[opt-env-conf-test] " parses nothing."
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] ],
1784.09 s
[opt-env-conf-test] [ [ "Add an ",
1784.09 s
[opt-env-conf-test] functionChunk "argument",
1784.09 s
[opt-env-conf-test] ", ",
1784.09 s
[opt-env-conf-test] functionChunk "switch",
1784.09 s
[opt-env-conf-test] ", ",
1784.09 s
[opt-env-conf-test] functionChunk "option",
1784.09 s
[opt-env-conf-test] ", ",
1784.09 s
[opt-env-conf-test] functionChunk "env",
1784.09 s
[opt-env-conf-test] ", ",
1784.09 s
[opt-env-conf-test] functionChunk "conf",
1784.09 s
[opt-env-conf-test] ", or ",
1784.09 s
[opt-env-conf-test] functionChunk "value",
1784.09 s
[opt-env-conf-test] "."
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorDashInShort ->
1784.09 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1784.09 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorDashInLong s ->
1784.09 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1784.09 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1784.09 s
[opt-env-conf-test] [ "Try ",
1784.09 s
[opt-env-conf-test] functionChunk "long",
1784.09 s
[opt-env-conf-test] " ",
1784.09 s
[opt-env-conf-test] chunk $
1784.09 s
[opt-env-conf-test] T.pack $
1784.09 s
[opt-env-conf-test] show $
1784.09 s
[opt-env-conf-test] let go = \case
1784.09 s
[opt-env-conf-test] [] -> []
1784.09 s
[opt-env-conf-test] '-' : cs -> go cs
1784.09 s
[opt-env-conf-test] c : cs -> c : cs
1784.09 s
[opt-env-conf-test] in go $ NE.toList s,
1784.09 s
[opt-env-conf-test] " instead."
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1784.09 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.09 s
[opt-env-conf-test] " has no ",
1784.09 s
[opt-env-conf-test] functionChunk "reader",
1784.09 s
[opt-env-conf-test] "."
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] ]
1784.09 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "metavar",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "name",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "reader",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "long",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "short",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "name",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "metavar",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1784.10 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1784.10 s
[opt-env-conf-test] - " has no ",
1784.10 s
[opt-env-conf-test] - functionChunk "long",
1784.10 s
[opt-env-conf-test] - " or ",
1784.10 s
[opt-env-conf-test] - functionChunk "short",
1784.10 s
[opt-env-conf-test] - "."
1784.10 s
[opt-env-conf-test] - ]
1784.10 s
[opt-env-conf-test] - ]
1784.10 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "long",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "short",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "option",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "switch",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "name",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "reader",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "name",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "metavar",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoCommands ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "commands",
1784.10 s
[opt-env-conf-test] " was called with an empty list."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1784.10 s
[opt-env-conf-test] " was called with an unknown command: ",
1784.10 s
[opt-env-conf-test] commandChunk c
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1784.10 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1784.10 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "conf",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "name",
1784.10 s
[opt-env-conf-test] " was called with no way to load configuration."
1784.10 s
[opt-env-conf-test] ],
1784.10 s
[opt-env-conf-test] [ "You can load configuration with ",
1784.10 s
[opt-env-conf-test] functionChunk "withConfig",
1784.10 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1784.10 s
[opt-env-conf-test] functionChunk "withoutConfig",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorManyInfinite ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "many",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "some",
1784.10 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1784.10 s
[opt-env-conf-test] ],
1784.10 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1784.10 s
[opt-env-conf-test] ],
1784.10 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test]
1784.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1784.10 s
[opt-env-conf-test] @@ -66,168 +66,157 @@
1784.10 s
[opt-env-conf-test] renderLintError LintError {..} =
1784.10 s
[opt-env-conf-test] concat
1784.10 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1784.10 s
[opt-env-conf-test] case lintErrorMessage of
1784.10 s
[opt-env-conf-test] LintErrorUndocumented ->
1784.10 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1784.10 s
[opt-env-conf-test] LintErrorEmptySetting ->
1784.10 s
[opt-env-conf-test] concat
1784.10 s
[opt-env-conf-test] [ [ [ "This ",
1784.10 s
[opt-env-conf-test] functionChunk "setting",
1784.10 s
[opt-env-conf-test] " parses nothing."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ],
1784.10 s
[opt-env-conf-test] [ [ "Add an ",
1784.10 s
[opt-env-conf-test] functionChunk "argument",
1784.10 s
[opt-env-conf-test] ", ",
1784.10 s
[opt-env-conf-test] functionChunk "switch",
1784.10 s
[opt-env-conf-test] ", ",
1784.10 s
[opt-env-conf-test] functionChunk "option",
1784.10 s
[opt-env-conf-test] ", ",
1784.10 s
[opt-env-conf-test] functionChunk "env",
1784.10 s
[opt-env-conf-test] ", ",
1784.10 s
[opt-env-conf-test] functionChunk "conf",
1784.10 s
[opt-env-conf-test] ", or ",
1784.10 s
[opt-env-conf-test] functionChunk "value",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorDashInShort ->
1784.10 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1784.10 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorDashInLong s ->
1784.10 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1784.10 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1784.10 s
[opt-env-conf-test] [ "Try ",
1784.10 s
[opt-env-conf-test] functionChunk "long",
1784.10 s
[opt-env-conf-test] " ",
1784.10 s
[opt-env-conf-test] chunk $
1784.10 s
[opt-env-conf-test] T.pack $
1784.10 s
[opt-env-conf-test] show $
1784.10 s
[opt-env-conf-test] let go = \case
1784.10 s
[opt-env-conf-test] [] -> []
1784.10 s
[opt-env-conf-test] '-' : cs -> go cs
1784.10 s
[opt-env-conf-test] c : cs -> c : cs
1784.10 s
[opt-env-conf-test] in go $ NE.toList s,
1784.10 s
[opt-env-conf-test] " instead."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "reader",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "metavar",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "name",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "reader",
1784.10 s
[opt-env-conf-test] "."
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] ]
1784.10 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1784.10 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.10 s
[opt-env-conf-test] " has no ",
1784.10 s
[opt-env-conf-test] functionChunk "long",
1784.10 s
[opt-env-conf-test] " or ",
1784.10 s
[opt-env-conf-test] functionChunk "short",
1784.11 s
[opt-env-conf-test] "."
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1784.11 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.11 s
[opt-env-conf-test] " or ",
1784.11 s
[opt-env-conf-test] functionChunk "name",
1784.11 s
[opt-env-conf-test] " has no ",
1784.11 s
[opt-env-conf-test] functionChunk "metavar",
1784.11 s
[opt-env-conf-test] "."
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1784.11 s
[opt-env-conf-test] [ [ functionChunk "switch",
1784.11 s
[opt-env-conf-test] " has no ",
1784.11 s
[opt-env-conf-test] functionChunk "long",
1784.11 s
[opt-env-conf-test] " or ",
1784.11 s
[opt-env-conf-test] functionChunk "short",
1784.11 s
[opt-env-conf-test] "."
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1784.11 s
[opt-env-conf-test] - [ [ functionChunk "long",
1784.11 s
[opt-env-conf-test] - " or ",
1784.11 s
[opt-env-conf-test] - functionChunk "short",
1784.11 s
[opt-env-conf-test] - " has no ",
1784.11 s
[opt-env-conf-test] - functionChunk "option",
1784.11 s
[opt-env-conf-test] - " or ",
1784.11 s
[opt-env-conf-test] - functionChunk "switch",
1784.11 s
[opt-env-conf-test] - "."
1784.11 s
[opt-env-conf-test] - ]
1784.11 s
[opt-env-conf-test] - ]
1784.11 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1784.11 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.11 s
[opt-env-conf-test] " or ",
1784.11 s
[opt-env-conf-test] functionChunk "name",
1784.11 s
[opt-env-conf-test] " has no ",
1784.11 s
[opt-env-conf-test] functionChunk "reader",
1784.11 s
[opt-env-conf-test] "."
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1784.11 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.11 s
[opt-env-conf-test] " or ",
1784.11 s
[opt-env-conf-test] functionChunk "name",
1784.11 s
[opt-env-conf-test] " has no ",
1784.11 s
[opt-env-conf-test] functionChunk "metavar",
1784.11 s
[opt-env-conf-test] "."
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] ]
1784.11 s
[opt-env-conf-test] LintErrorNoCommands ->
1784.22 s
[opt-env-conf-test] [ [ functionChunk "commands",
1784.22 s
[opt-env-conf-test] " was called with an empty list."
1784.22 s
[opt-env-conf-test] ]
1784.22 s
[opt-env-conf-test] ]
1784.22 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1784.22 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1784.22 s
[opt-env-conf-test] " was called with an unknown command: ",
1784.22 s
[opt-env-conf-test] commandChunk c
1784.22 s
[opt-env-conf-test] ]
1784.22 s
[opt-env-conf-test] ]
1784.22 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1784.22 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1784.22 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1784.22 s
[opt-env-conf-test] ]
1784.22 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1784.22 s
[opt-env-conf-test] [ [ functionChunk "conf",
1784.22 s
[opt-env-conf-test] " or ",
1784.23 s
[opt-env-conf-test] functionChunk "name",
1784.23 s
[opt-env-conf-test] " was called with no way to load configuration."
1784.23 s
[opt-env-conf-test] ],
1784.23 s
[opt-env-conf-test] [ "You can load configuration with ",
1784.23 s
[opt-env-conf-test] functionChunk "withConfig",
1784.23 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1784.23 s
[opt-env-conf-test] functionChunk "withoutConfig",
1784.23 s
[opt-env-conf-test] "."
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test] LintErrorManyInfinite ->
1784.23 s
[opt-env-conf-test] [ [ functionChunk "many",
1784.23 s
[opt-env-conf-test] " or ",
1784.23 s
[opt-env-conf-test] functionChunk "some",
1784.23 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1784.23 s
[opt-env-conf-test] ],
1784.23 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1784.23 s
[opt-env-conf-test] ],
1784.23 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test]
1784.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1784.23 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1784.23 s
[opt-env-conf-test] renderLintError LintError {..} =
1784.23 s
[opt-env-conf-test] concat
1784.23 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1784.23 s
[opt-env-conf-test] case lintErrorMessage of
1784.23 s
[opt-env-conf-test] LintErrorUndocumented ->
1784.23 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1784.23 s
[opt-env-conf-test] LintErrorEmptySetting ->
1784.23 s
[opt-env-conf-test] concat
1784.23 s
[opt-env-conf-test] [ [ [ "This ",
1784.23 s
[opt-env-conf-test] functionChunk "setting",
1784.23 s
[opt-env-conf-test] " parses nothing."
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test] ],
1784.23 s
[opt-env-conf-test] [ [ "Add an ",
1784.23 s
[opt-env-conf-test] functionChunk "argument",
1784.23 s
[opt-env-conf-test] ", ",
1784.23 s
[opt-env-conf-test] functionChunk "switch",
1784.23 s
[opt-env-conf-test] ", ",
1784.23 s
[opt-env-conf-test] functionChunk "option",
1784.23 s
[opt-env-conf-test] ", ",
1784.23 s
[opt-env-conf-test] functionChunk "env",
1784.23 s
[opt-env-conf-test] ", ",
1784.23 s
[opt-env-conf-test] functionChunk "conf",
1784.23 s
[opt-env-conf-test] ", or ",
1784.23 s
[opt-env-conf-test] functionChunk "value",
1784.23 s
[opt-env-conf-test] "."
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test] LintErrorDashInShort ->
1784.23 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1784.23 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1784.23 s
[opt-env-conf-test] ]
1784.23 s
[opt-env-conf-test] LintErrorDashInLong s ->
1784.23 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1784.23 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1784.24 s
[opt-env-conf-test] [ "Try ",
1784.24 s
[opt-env-conf-test] functionChunk "long",
1784.24 s
[opt-env-conf-test] " ",
1784.24 s
[opt-env-conf-test] chunk $
1784.24 s
[opt-env-conf-test] T.pack $
1784.24 s
[opt-env-conf-test] show $
1784.24 s
[opt-env-conf-test] let go = \case
1784.24 s
[opt-env-conf-test] [] -> []
1784.24 s
[opt-env-conf-test] '-' : cs -> go cs
1784.24 s
[opt-env-conf-test] c : cs -> c : cs
1784.24 s
[opt-env-conf-test] in go $ NE.toList s,
1784.24 s
[opt-env-conf-test] " instead."
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1784.24 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.24 s
[opt-env-conf-test] " has no ",
1784.24 s
[opt-env-conf-test] functionChunk "reader",
1784.24 s
[opt-env-conf-test] "."
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1784.24 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.24 s
[opt-env-conf-test] " has no ",
1784.24 s
[opt-env-conf-test] functionChunk "metavar",
1784.24 s
[opt-env-conf-test] "."
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1784.24 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.24 s
[opt-env-conf-test] " or ",
1784.24 s
[opt-env-conf-test] functionChunk "name",
1784.24 s
[opt-env-conf-test] " has no ",
1784.24 s
[opt-env-conf-test] functionChunk "reader",
1784.24 s
[opt-env-conf-test] "."
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] ]
1784.24 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1784.25 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.25 s
[opt-env-conf-test] " has no ",
1784.25 s
[opt-env-conf-test] functionChunk "long",
1784.25 s
[opt-env-conf-test] " or ",
1784.25 s
[opt-env-conf-test] functionChunk "short",
1784.25 s
[opt-env-conf-test] "."
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1784.25 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.25 s
[opt-env-conf-test] " or ",
1784.25 s
[opt-env-conf-test] functionChunk "name",
1784.25 s
[opt-env-conf-test] " has no ",
1784.25 s
[opt-env-conf-test] functionChunk "metavar",
1784.25 s
[opt-env-conf-test] "."
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1784.25 s
[opt-env-conf-test] [ [ functionChunk "switch",
1784.25 s
[opt-env-conf-test] " has no ",
1784.25 s
[opt-env-conf-test] functionChunk "long",
1784.25 s
[opt-env-conf-test] " or ",
1784.25 s
[opt-env-conf-test] functionChunk "short",
1784.25 s
[opt-env-conf-test] "."
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1784.25 s
[opt-env-conf-test] [ [ functionChunk "long",
1784.25 s
[opt-env-conf-test] " or ",
1784.25 s
[opt-env-conf-test] functionChunk "short",
1784.25 s
[opt-env-conf-test] " has no ",
1784.25 s
[opt-env-conf-test] functionChunk "option",
1784.25 s
[opt-env-conf-test] " or ",
1784.25 s
[opt-env-conf-test] functionChunk "switch",
1784.25 s
[opt-env-conf-test] "."
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1784.25 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.25 s
[opt-env-conf-test] " or ",
1784.25 s
[opt-env-conf-test] functionChunk "name",
1784.25 s
[opt-env-conf-test] " has no ",
1784.25 s
[opt-env-conf-test] functionChunk "reader",
1784.25 s
[opt-env-conf-test] "."
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] ]
1784.25 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1784.25 s
[opt-env-conf-test] - [ [ functionChunk "env",
1784.25 s
[opt-env-conf-test] - " or ",
1784.25 s
[opt-env-conf-test] - functionChunk "name",
1784.25 s
[opt-env-conf-test] - " has no ",
1784.25 s
[opt-env-conf-test] - functionChunk "metavar",
1784.25 s
[opt-env-conf-test] - "."
1784.25 s
[opt-env-conf-test] - ]
1784.25 s
[opt-env-conf-test] - ]
1784.25 s
[opt-env-conf-test] LintErrorNoCommands ->
1784.78 s
[opt-env-conf-test] [ [ functionChunk "commands",
1784.78 s
[opt-env-conf-test] " was called with an empty list."
1784.78 s
[opt-env-conf-test] ]
1784.78 s
[opt-env-conf-test] ]
1784.78 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1784.78 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1784.78 s
[opt-env-conf-test] " was called with an unknown command: ",
1784.79 s
[opt-env-conf-test] commandChunk c
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1784.79 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1784.79 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1784.79 s
[opt-env-conf-test] [ [ functionChunk "conf",
1784.79 s
[opt-env-conf-test] " or ",
1784.79 s
[opt-env-conf-test] functionChunk "name",
1784.79 s
[opt-env-conf-test] " was called with no way to load configuration."
1784.79 s
[opt-env-conf-test] ],
1784.79 s
[opt-env-conf-test] [ "You can load configuration with ",
1784.79 s
[opt-env-conf-test] functionChunk "withConfig",
1784.79 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1784.79 s
[opt-env-conf-test] functionChunk "withoutConfig",
1784.79 s
[opt-env-conf-test] "."
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] LintErrorManyInfinite ->
1784.79 s
[opt-env-conf-test] [ [ functionChunk "many",
1784.79 s
[opt-env-conf-test] " or ",
1784.79 s
[opt-env-conf-test] functionChunk "some",
1784.79 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1784.79 s
[opt-env-conf-test] ],
1784.79 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1784.79 s
[opt-env-conf-test] ],
1784.79 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test]
1784.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1784.79 s
[opt-env-conf-test] @@ -66,168 +66,163 @@
1784.79 s
[opt-env-conf-test] renderLintError LintError {..} =
1784.79 s
[opt-env-conf-test] concat
1784.79 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1784.79 s
[opt-env-conf-test] case lintErrorMessage of
1784.79 s
[opt-env-conf-test] LintErrorUndocumented ->
1784.79 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1784.79 s
[opt-env-conf-test] LintErrorEmptySetting ->
1784.79 s
[opt-env-conf-test] concat
1784.79 s
[opt-env-conf-test] [ [ [ "This ",
1784.79 s
[opt-env-conf-test] functionChunk "setting",
1784.79 s
[opt-env-conf-test] " parses nothing."
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] ],
1784.79 s
[opt-env-conf-test] [ [ "Add an ",
1784.79 s
[opt-env-conf-test] functionChunk "argument",
1784.79 s
[opt-env-conf-test] ", ",
1784.79 s
[opt-env-conf-test] functionChunk "switch",
1784.79 s
[opt-env-conf-test] ", ",
1784.79 s
[opt-env-conf-test] functionChunk "option",
1784.79 s
[opt-env-conf-test] ", ",
1784.79 s
[opt-env-conf-test] functionChunk "env",
1784.79 s
[opt-env-conf-test] ", ",
1784.79 s
[opt-env-conf-test] functionChunk "conf",
1784.79 s
[opt-env-conf-test] ", or ",
1784.79 s
[opt-env-conf-test] functionChunk "value",
1784.79 s
[opt-env-conf-test] "."
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] LintErrorDashInShort ->
1784.79 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1784.79 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] LintErrorDashInLong s ->
1784.79 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1784.79 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1784.79 s
[opt-env-conf-test] [ "Try ",
1784.79 s
[opt-env-conf-test] functionChunk "long",
1784.79 s
[opt-env-conf-test] " ",
1784.79 s
[opt-env-conf-test] chunk $
1784.79 s
[opt-env-conf-test] T.pack $
1784.79 s
[opt-env-conf-test] show $
1784.79 s
[opt-env-conf-test] let go = \case
1784.79 s
[opt-env-conf-test] [] -> []
1784.79 s
[opt-env-conf-test] '-' : cs -> go cs
1784.79 s
[opt-env-conf-test] c : cs -> c : cs
1784.79 s
[opt-env-conf-test] in go $ NE.toList s,
1784.79 s
[opt-env-conf-test] " instead."
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] ]
1784.79 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1784.79 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.79 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "reader",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "metavar",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "name",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "reader",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "long",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "short",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "name",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "metavar",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "switch",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "long",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "short",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "long",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "short",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "option",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "switch",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "name",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "reader",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1784.80 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.80 s
[opt-env-conf-test] " or ",
1784.80 s
[opt-env-conf-test] functionChunk "name",
1784.80 s
[opt-env-conf-test] " has no ",
1784.80 s
[opt-env-conf-test] functionChunk "metavar",
1784.80 s
[opt-env-conf-test] "."
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] ]
1784.80 s
[opt-env-conf-test] - LintErrorNoCommands ->
1784.80 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1784.83 s
[opt-env-conf-test] - " was called with an empty list."
1784.83 s
[opt-env-conf-test] - ]
1784.83 s
[opt-env-conf-test] - ]
1784.83 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1784.83 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1784.83 s
[opt-env-conf-test] " was called with an unknown command: ",
1784.83 s
[opt-env-conf-test] commandChunk c
1784.83 s
[opt-env-conf-test] ]
1784.83 s
[opt-env-conf-test] ]
1784.83 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1784.83 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1784.83 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1784.83 s
[opt-env-conf-test] ]
1784.83 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1784.83 s
[opt-env-conf-test] [ [ functionChunk "conf",
1784.83 s
[opt-env-conf-test] " or ",
1784.83 s
[opt-env-conf-test] functionChunk "name",
1784.83 s
[opt-env-conf-test] " was called with no way to load configuration."
1784.83 s
[opt-env-conf-test] ],
1784.83 s
[opt-env-conf-test] [ "You can load configuration with ",
1784.83 s
[opt-env-conf-test] functionChunk "withConfig",
1784.83 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1784.83 s
[opt-env-conf-test] functionChunk "withoutConfig",
1784.83 s
[opt-env-conf-test] "."
1784.83 s
[opt-env-conf-test] ]
1784.83 s
[opt-env-conf-test] ]
1784.83 s
[opt-env-conf-test] LintErrorManyInfinite ->
1784.83 s
[opt-env-conf-test] [ [ functionChunk "many",
1784.83 s
[opt-env-conf-test] " or ",
1784.83 s
[opt-env-conf-test] functionChunk "some",
1784.83 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1784.83 s
[opt-env-conf-test] ],
1784.83 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1784.83 s
[opt-env-conf-test] ],
1784.83 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1784.83 s
[opt-env-conf-test] ]
1784.83 s
[opt-env-conf-test]
1784.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1784.83 s
[opt-env-conf-test] @@ -66,168 +66,155 @@
1784.83 s
[opt-env-conf-test] renderLintError LintError {..} =
1784.83 s
[opt-env-conf-test] concat
1784.83 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1784.83 s
[opt-env-conf-test] case lintErrorMessage of
1784.83 s
[opt-env-conf-test] LintErrorUndocumented ->
1784.83 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1784.83 s
[opt-env-conf-test] LintErrorEmptySetting ->
1784.83 s
[opt-env-conf-test] concat
1784.83 s
[opt-env-conf-test] [ [ [ "This ",
1784.83 s
[opt-env-conf-test] functionChunk "setting",
1784.83 s
[opt-env-conf-test] " parses nothing."
1784.83 s
[opt-env-conf-test] ]
1784.83 s
[opt-env-conf-test] ],
1784.83 s
[opt-env-conf-test] [ [ "Add an ",
1784.84 s
[opt-env-conf-test] functionChunk "argument",
1784.84 s
[opt-env-conf-test] ", ",
1784.84 s
[opt-env-conf-test] functionChunk "switch",
1784.84 s
[opt-env-conf-test] ", ",
1784.84 s
[opt-env-conf-test] functionChunk "option",
1784.84 s
[opt-env-conf-test] ", ",
1784.84 s
[opt-env-conf-test] functionChunk "env",
1784.84 s
[opt-env-conf-test] ", ",
1784.84 s
[opt-env-conf-test] functionChunk "conf",
1784.84 s
[opt-env-conf-test] ", or ",
1784.84 s
[opt-env-conf-test] functionChunk "value",
1784.84 s
[opt-env-conf-test] "."
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] LintErrorDashInShort ->
1784.84 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1784.84 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] LintErrorDashInLong s ->
1784.84 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1784.84 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1784.84 s
[opt-env-conf-test] [ "Try ",
1784.84 s
[opt-env-conf-test] functionChunk "long",
1784.84 s
[opt-env-conf-test] " ",
1784.84 s
[opt-env-conf-test] chunk $
1784.84 s
[opt-env-conf-test] T.pack $
1784.84 s
[opt-env-conf-test] show $
1784.84 s
[opt-env-conf-test] let go = \case
1784.84 s
[opt-env-conf-test] [] -> []
1784.84 s
[opt-env-conf-test] '-' : cs -> go cs
1784.84 s
[opt-env-conf-test] c : cs -> c : cs
1784.84 s
[opt-env-conf-test] in go $ NE.toList s,
1784.84 s
[opt-env-conf-test] " instead."
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1784.84 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.84 s
[opt-env-conf-test] " has no ",
1784.84 s
[opt-env-conf-test] functionChunk "reader",
1784.84 s
[opt-env-conf-test] "."
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1784.84 s
[opt-env-conf-test] [ [ functionChunk "argument",
1784.84 s
[opt-env-conf-test] " has no ",
1784.84 s
[opt-env-conf-test] functionChunk "metavar",
1784.84 s
[opt-env-conf-test] "."
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1784.84 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.84 s
[opt-env-conf-test] " or ",
1784.84 s
[opt-env-conf-test] functionChunk "name",
1784.84 s
[opt-env-conf-test] " has no ",
1784.84 s
[opt-env-conf-test] functionChunk "reader",
1784.84 s
[opt-env-conf-test] "."
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] ]
1784.84 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1784.85 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.85 s
[opt-env-conf-test] " has no ",
1784.85 s
[opt-env-conf-test] functionChunk "long",
1784.85 s
[opt-env-conf-test] " or ",
1784.85 s
[opt-env-conf-test] functionChunk "short",
1784.85 s
[opt-env-conf-test] "."
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1784.85 s
[opt-env-conf-test] [ [ functionChunk "option",
1784.85 s
[opt-env-conf-test] " or ",
1784.85 s
[opt-env-conf-test] functionChunk "name",
1784.85 s
[opt-env-conf-test] " has no ",
1784.85 s
[opt-env-conf-test] functionChunk "metavar",
1784.85 s
[opt-env-conf-test] "."
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1784.85 s
[opt-env-conf-test] [ [ functionChunk "switch",
1784.85 s
[opt-env-conf-test] " has no ",
1784.85 s
[opt-env-conf-test] functionChunk "long",
1784.85 s
[opt-env-conf-test] " or ",
1784.85 s
[opt-env-conf-test] functionChunk "short",
1784.85 s
[opt-env-conf-test] "."
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1784.85 s
[opt-env-conf-test] [ [ functionChunk "long",
1784.85 s
[opt-env-conf-test] " or ",
1784.85 s
[opt-env-conf-test] functionChunk "short",
1784.85 s
[opt-env-conf-test] " has no ",
1784.85 s
[opt-env-conf-test] functionChunk "option",
1784.85 s
[opt-env-conf-test] " or ",
1784.85 s
[opt-env-conf-test] functionChunk "switch",
1784.85 s
[opt-env-conf-test] "."
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1784.85 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.85 s
[opt-env-conf-test] " or ",
1784.85 s
[opt-env-conf-test] functionChunk "name",
1784.85 s
[opt-env-conf-test] " has no ",
1784.85 s
[opt-env-conf-test] functionChunk "reader",
1784.85 s
[opt-env-conf-test] "."
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1784.85 s
[opt-env-conf-test] [ [ functionChunk "env",
1784.85 s
[opt-env-conf-test] " or ",
1784.85 s
[opt-env-conf-test] functionChunk "name",
1784.85 s
[opt-env-conf-test] " has no ",
1784.85 s
[opt-env-conf-test] functionChunk "metavar",
1784.85 s
[opt-env-conf-test] "."
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] ]
1784.85 s
[opt-env-conf-test] LintErrorNoCommands ->
1784.85 s
[opt-env-conf-test] [ [ functionChunk "commands",
1784.85 s
[opt-env-conf-test] " was called with an empty list."
1785.94 s
[opt-env-conf-test] ]
1785.94 s
[opt-env-conf-test] ]
1785.94 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1785.94 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1785.94 s
[opt-env-conf-test] " was called with an unknown command: ",
1785.94 s
[opt-env-conf-test] commandChunk c
1785.94 s
[opt-env-conf-test] ]
1785.94 s
[opt-env-conf-test] ]
1785.94 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1785.94 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1785.95 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1785.95 s
[opt-env-conf-test] ]
1785.95 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1785.95 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1785.95 s
[opt-env-conf-test] - " or ",
1785.95 s
[opt-env-conf-test] - functionChunk "name",
1785.95 s
[opt-env-conf-test] - " was called with no way to load configuration."
1785.95 s
[opt-env-conf-test] - ],
1785.95 s
[opt-env-conf-test] - [ "You can load configuration with ",
1785.95 s
[opt-env-conf-test] - functionChunk "withConfig",
1785.95 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1785.95 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1785.95 s
[opt-env-conf-test] - "."
1785.95 s
[opt-env-conf-test] - ]
1785.95 s
[opt-env-conf-test] - ]
1785.95 s
[opt-env-conf-test] LintErrorManyInfinite ->
1785.95 s
[opt-env-conf-test] [ [ functionChunk "many",
1785.95 s
[opt-env-conf-test] " or ",
1785.95 s
[opt-env-conf-test] functionChunk "some",
1785.95 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1785.95 s
[opt-env-conf-test] ],
1785.95 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1785.95 s
[opt-env-conf-test] ],
1785.95 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1785.95 s
[opt-env-conf-test] ]
1785.95 s
[opt-env-conf-test]
1785.95 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1785.95 s
[opt-env-conf-test] @@ -66,168 +66,160 @@
1785.95 s
[opt-env-conf-test] renderLintError LintError {..} =
1785.95 s
[opt-env-conf-test] concat
1785.96 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1785.96 s
[opt-env-conf-test] case lintErrorMessage of
1785.96 s
[opt-env-conf-test] LintErrorUndocumented ->
1785.96 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1785.96 s
[opt-env-conf-test] LintErrorEmptySetting ->
1785.96 s
[opt-env-conf-test] concat
1785.96 s
[opt-env-conf-test] [ [ [ "This ",
1785.96 s
[opt-env-conf-test] functionChunk "setting",
1785.96 s
[opt-env-conf-test] " parses nothing."
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] ],
1785.96 s
[opt-env-conf-test] [ [ "Add an ",
1785.96 s
[opt-env-conf-test] functionChunk "argument",
1785.96 s
[opt-env-conf-test] ", ",
1785.96 s
[opt-env-conf-test] functionChunk "switch",
1785.96 s
[opt-env-conf-test] ", ",
1785.96 s
[opt-env-conf-test] functionChunk "option",
1785.96 s
[opt-env-conf-test] ", ",
1785.96 s
[opt-env-conf-test] functionChunk "env",
1785.96 s
[opt-env-conf-test] ", ",
1785.96 s
[opt-env-conf-test] functionChunk "conf",
1785.96 s
[opt-env-conf-test] ", or ",
1785.96 s
[opt-env-conf-test] functionChunk "value",
1785.96 s
[opt-env-conf-test] "."
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] LintErrorDashInShort ->
1785.96 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1785.96 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] LintErrorDashInLong s ->
1785.96 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1785.96 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1785.96 s
[opt-env-conf-test] [ "Try ",
1785.96 s
[opt-env-conf-test] functionChunk "long",
1785.96 s
[opt-env-conf-test] " ",
1785.96 s
[opt-env-conf-test] chunk $
1785.96 s
[opt-env-conf-test] T.pack $
1785.96 s
[opt-env-conf-test] show $
1785.96 s
[opt-env-conf-test] let go = \case
1785.96 s
[opt-env-conf-test] [] -> []
1785.96 s
[opt-env-conf-test] '-' : cs -> go cs
1785.96 s
[opt-env-conf-test] c : cs -> c : cs
1785.96 s
[opt-env-conf-test] in go $ NE.toList s,
1785.96 s
[opt-env-conf-test] " instead."
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1785.96 s
[opt-env-conf-test] [ [ functionChunk "argument",
1785.96 s
[opt-env-conf-test] " has no ",
1785.96 s
[opt-env-conf-test] functionChunk "reader",
1785.96 s
[opt-env-conf-test] "."
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] ]
1785.96 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1785.96 s
[opt-env-conf-test] [ [ functionChunk "argument",
1785.96 s
[opt-env-conf-test] " has no ",
1785.96 s
[opt-env-conf-test] functionChunk "metavar",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "option",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "name",
1785.97 s
[opt-env-conf-test] " has no ",
1785.97 s
[opt-env-conf-test] functionChunk "reader",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "option",
1785.97 s
[opt-env-conf-test] " has no ",
1785.97 s
[opt-env-conf-test] functionChunk "long",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "short",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "option",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "name",
1785.97 s
[opt-env-conf-test] " has no ",
1785.97 s
[opt-env-conf-test] functionChunk "metavar",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "switch",
1785.97 s
[opt-env-conf-test] " has no ",
1785.97 s
[opt-env-conf-test] functionChunk "long",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "short",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "long",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "short",
1785.97 s
[opt-env-conf-test] " has no ",
1785.97 s
[opt-env-conf-test] functionChunk "option",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "switch",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "env",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "name",
1785.97 s
[opt-env-conf-test] " has no ",
1785.97 s
[opt-env-conf-test] functionChunk "reader",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "env",
1785.97 s
[opt-env-conf-test] " or ",
1785.97 s
[opt-env-conf-test] functionChunk "name",
1785.97 s
[opt-env-conf-test] " has no ",
1785.97 s
[opt-env-conf-test] functionChunk "metavar",
1785.97 s
[opt-env-conf-test] "."
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] ]
1785.97 s
[opt-env-conf-test] LintErrorNoCommands ->
1785.97 s
[opt-env-conf-test] [ [ functionChunk "commands",
1785.97 s
[opt-env-conf-test] " was called with an empty list."
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1786.18 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1786.18 s
[opt-env-conf-test] " was called with an unknown command: ",
1786.18 s
[opt-env-conf-test] commandChunk c
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1786.18 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1786.18 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1786.18 s
[opt-env-conf-test] [ [ functionChunk "conf",
1786.18 s
[opt-env-conf-test] " or ",
1786.18 s
[opt-env-conf-test] functionChunk "name",
1786.18 s
[opt-env-conf-test] " was called with no way to load configuration."
1786.18 s
[opt-env-conf-test] ],
1786.18 s
[opt-env-conf-test] [ "You can load configuration with ",
1786.18 s
[opt-env-conf-test] functionChunk "withConfig",
1786.18 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1786.18 s
[opt-env-conf-test] functionChunk "withoutConfig",
1786.18 s
[opt-env-conf-test] "."
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1786.18 s
[opt-env-conf-test] - [ [ functionChunk "many",
1786.18 s
[opt-env-conf-test] - " or ",
1786.18 s
[opt-env-conf-test] - functionChunk "some",
1786.18 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1786.18 s
[opt-env-conf-test] - ],
1786.18 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1786.18 s
[opt-env-conf-test] - ],
1786.18 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1786.18 s
[opt-env-conf-test] ]
1786.18 s
[opt-env-conf-test]
1786.18 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1786.18 s
[opt-env-conf-test] @@ -65,171 +65,7 @@
1786.18 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1786.18 s
[opt-env-conf-test] renderLintError LintError {..} =
1786.19 s
[opt-env-conf-test] concat
1786.19 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1786.19 s
[opt-env-conf-test] - case lintErrorMessage of
1786.19 s
[opt-env-conf-test] - LintErrorUndocumented ->
1786.19 s
[opt-env-conf-test] - [["missing ", functionChunk "help", "."]]
1786.19 s
[opt-env-conf-test] - LintErrorEmptySetting ->
1786.19 s
[opt-env-conf-test] - concat
1786.19 s
[opt-env-conf-test] - [ [ [ "This ",
1786.19 s
[opt-env-conf-test] - functionChunk "setting",
1786.19 s
[opt-env-conf-test] - " parses nothing."
1786.19 s
[opt-env-conf-test] - ]
1786.19 s
[opt-env-conf-test] - ],
1786.19 s
[opt-env-conf-test] - [ [ "Add an ",
1786.19 s
[opt-env-conf-test] - functionChunk "argument",
1786.19 s
[opt-env-conf-test] - ", ",
1786.19 s
[opt-env-conf-test] - functionChunk "switch",
1786.19 s
[opt-env-conf-test] - ", ",
1786.19 s
[opt-env-conf-test] - functionChunk "option",
1786.19 s
[opt-env-conf-test] - ", ",
1786.19 s
[opt-env-conf-test] - functionChunk "env",
1786.19 s
[opt-env-conf-test] - ", ",
1786.19 s
[opt-env-conf-test] - functionChunk "conf",
1786.19 s
[opt-env-conf-test] - ", or ",
1786.19 s
[opt-env-conf-test] - functionChunk "value",
1786.19 s
[opt-env-conf-test] - "."
1786.19 s
[opt-env-conf-test] - ]
1786.19 s
[opt-env-conf-test] - ]
1786.19 s
[opt-env-conf-test] - ]
1786.19 s
[opt-env-conf-test] - LintErrorDashInShort ->
1786.19 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1786.19 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1786.19 s
[opt-env-conf-test] - ]
1786.19 s
[opt-env-conf-test] - LintErrorDashInLong s ->
1786.19 s
[opt-env-conf-test] - [ [functionChunk "long", " may not start with a '-'."],
1786.19 s
[opt-env-conf-test] - ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1786.19 s
[opt-env-conf-test] - [ "Try ",
1786.19 s
[opt-env-conf-test] - functionChunk "long",
1786.19 s
[opt-env-conf-test] - " ",
1786.19 s
[opt-env-conf-test] - chunk $
1786.19 s
[opt-env-conf-test] - T.pack $
1786.19 s
[opt-env-conf-test] - show $
1786.19 s
[opt-env-conf-test] - let go = \case
1786.19 s
[opt-env-conf-test] - [] -> []
1786.19 s
[opt-env-conf-test] - '-' : cs -> go cs
1786.19 s
[opt-env-conf-test] - c : cs -> c : cs
1786.19 s
[opt-env-conf-test] - in go $ NE.toList s,
1786.20 s
[opt-env-conf-test] - " instead."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoReaderForArgument ->
1786.20 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1786.20 s
[opt-env-conf-test] - " has no ",
1786.20 s
[opt-env-conf-test] - functionChunk "reader",
1786.20 s
[opt-env-conf-test] - "."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoMetavarForArgument ->
1786.20 s
[opt-env-conf-test] - [ [ functionChunk "argument",
1786.20 s
[opt-env-conf-test] - " has no ",
1786.20 s
[opt-env-conf-test] - functionChunk "metavar",
1786.20 s
[opt-env-conf-test] - "."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1786.20 s
[opt-env-conf-test] - [ [ functionChunk "option",
1786.20 s
[opt-env-conf-test] - " or ",
1786.20 s
[opt-env-conf-test] - functionChunk "name",
1786.20 s
[opt-env-conf-test] - " has no ",
1786.20 s
[opt-env-conf-test] - functionChunk "reader",
1786.20 s
[opt-env-conf-test] - "."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1786.20 s
[opt-env-conf-test] - [ [ functionChunk "option",
1786.20 s
[opt-env-conf-test] - " has no ",
1786.20 s
[opt-env-conf-test] - functionChunk "long",
1786.20 s
[opt-env-conf-test] - " or ",
1786.20 s
[opt-env-conf-test] - functionChunk "short",
1786.20 s
[opt-env-conf-test] - "."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1786.20 s
[opt-env-conf-test] - [ [ functionChunk "option",
1786.20 s
[opt-env-conf-test] - " or ",
1786.20 s
[opt-env-conf-test] - functionChunk "name",
1786.20 s
[opt-env-conf-test] - " has no ",
1786.20 s
[opt-env-conf-test] - functionChunk "metavar",
1786.20 s
[opt-env-conf-test] - "."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoDashedForSwitch ->
1786.20 s
[opt-env-conf-test] - [ [ functionChunk "switch",
1786.20 s
[opt-env-conf-test] - " has no ",
1786.20 s
[opt-env-conf-test] - functionChunk "long",
1786.20 s
[opt-env-conf-test] - " or ",
1786.20 s
[opt-env-conf-test] - functionChunk "short",
1786.20 s
[opt-env-conf-test] - "."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoOptionOrSwitchForDashed ->
1786.20 s
[opt-env-conf-test] - [ [ functionChunk "long",
1786.20 s
[opt-env-conf-test] - " or ",
1786.20 s
[opt-env-conf-test] - functionChunk "short",
1786.20 s
[opt-env-conf-test] - " has no ",
1786.20 s
[opt-env-conf-test] - functionChunk "option",
1786.20 s
[opt-env-conf-test] - " or ",
1786.20 s
[opt-env-conf-test] - functionChunk "switch",
1786.20 s
[opt-env-conf-test] - "."
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - ]
1786.20 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1786.21 s
[opt-env-conf-test] - [ [ functionChunk "env",
1786.21 s
[opt-env-conf-test] - " or ",
1786.21 s
[opt-env-conf-test] - functionChunk "name",
1786.21 s
[opt-env-conf-test] - " has no ",
1786.21 s
[opt-env-conf-test] - functionChunk "reader",
1786.21 s
[opt-env-conf-test] - "."
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - LintErrorNoMetavarForEnvVar ->
1786.21 s
[opt-env-conf-test] - [ [ functionChunk "env",
1786.21 s
[opt-env-conf-test] - " or ",
1786.21 s
[opt-env-conf-test] - functionChunk "name",
1786.21 s
[opt-env-conf-test] - " has no ",
1786.21 s
[opt-env-conf-test] - functionChunk "metavar",
1786.21 s
[opt-env-conf-test] - "."
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - LintErrorNoCommands ->
1786.21 s
[opt-env-conf-test] - [ [ functionChunk "commands",
1786.21 s
[opt-env-conf-test] - " was called with an empty list."
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1786.21 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1786.21 s
[opt-env-conf-test] - " was called with an unknown command: ",
1786.21 s
[opt-env-conf-test] - commandChunk c
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1786.21 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1786.21 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1786.21 s
[opt-env-conf-test] - ]
1786.21 s
[opt-env-conf-test] - LintErrorConfigWithoutLoad ->
1786.21 s
[opt-env-conf-test] - [ [ functionChunk "conf",
1786.21 s
[opt-env-conf-test] - " or ",
1786.21 s
[opt-env-conf-test] - functionChunk "name",
1786.21 s
[opt-env-conf-test] - " was called with no way to load configuration."
1786.21 s
[opt-env-conf-test] - ],
1786.21 s
[opt-env-conf-test] - [ "You can load configuration with ",
1786.21 s
[opt-env-conf-test] - functionChunk "withConfig",
1787.00 s
[opt-env-conf-test] - ", or explicitly not load any configuration with ",
1787.00 s
[opt-env-conf-test] - functionChunk "withoutConfig",
1787.00 s
[opt-env-conf-test] - "."
1787.00 s
[opt-env-conf-test] - ]
1787.00 s
[opt-env-conf-test] - ]
1787.00 s
[opt-env-conf-test] - LintErrorManyInfinite ->
1787.00 s
[opt-env-conf-test] - [ [ functionChunk "many",
1787.00 s
[opt-env-conf-test] - " or ",
1787.00 s
[opt-env-conf-test] - functionChunk "some",
1787.00 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1787.00 s
[opt-env-conf-test] - ],
1787.00 s
[opt-env-conf-test] - ["This is not allowed because the parser would run infinitely."]
1787.00 s
[opt-env-conf-test] - ],
1787.00 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1787.00 s
[opt-env-conf-test] ]
1787.00 s
[opt-env-conf-test]
1787.00 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1787.00 s
[opt-env-conf-test] lintParser =
1787.00 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1787.00 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1787.00 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1787.00 s
[opt-env-conf-test] renderLintError LintError {..} =
1787.00 s
[opt-env-conf-test] concat
1787.00 s
[opt-env-conf-test] - [ [[fore red "Invalid Setting:"]],
1787.00 s
[opt-env-conf-test] case lintErrorMessage of
1787.00 s
[opt-env-conf-test] LintErrorUndocumented ->
1787.00 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1787.00 s
[opt-env-conf-test] LintErrorEmptySetting ->
1787.00 s
[opt-env-conf-test] concat
1787.00 s
[opt-env-conf-test] [ [ [ "This ",
1787.00 s
[opt-env-conf-test] functionChunk "setting",
1787.00 s
[opt-env-conf-test] " parses nothing."
1787.00 s
[opt-env-conf-test] ]
1787.00 s
[opt-env-conf-test] ],
1787.00 s
[opt-env-conf-test] [ [ "Add an ",
1787.00 s
[opt-env-conf-test] functionChunk "argument",
1787.00 s
[opt-env-conf-test] ", ",
1787.00 s
[opt-env-conf-test] functionChunk "switch",
1787.00 s
[opt-env-conf-test] ", ",
1787.00 s
[opt-env-conf-test] functionChunk "option",
1787.00 s
[opt-env-conf-test] ", ",
1787.00 s
[opt-env-conf-test] functionChunk "env",
1787.00 s
[opt-env-conf-test] ", ",
1787.00 s
[opt-env-conf-test] functionChunk "conf",
1787.00 s
[opt-env-conf-test] ", or ",
1787.00 s
[opt-env-conf-test] functionChunk "value",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorDashInShort ->
1787.01 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1787.01 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorDashInLong s ->
1787.01 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1787.01 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1787.01 s
[opt-env-conf-test] [ "Try ",
1787.01 s
[opt-env-conf-test] functionChunk "long",
1787.01 s
[opt-env-conf-test] " ",
1787.01 s
[opt-env-conf-test] chunk $
1787.01 s
[opt-env-conf-test] T.pack $
1787.01 s
[opt-env-conf-test] show $
1787.01 s
[opt-env-conf-test] let go = \case
1787.01 s
[opt-env-conf-test] [] -> []
1787.01 s
[opt-env-conf-test] '-' : cs -> go cs
1787.01 s
[opt-env-conf-test] c : cs -> c : cs
1787.01 s
[opt-env-conf-test] in go $ NE.toList s,
1787.01 s
[opt-env-conf-test] " instead."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "reader",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "argument",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "metavar",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "name",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "reader",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "long",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "short",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "option",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "name",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "metavar",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "switch",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "long",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "short",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "long",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "short",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "option",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "switch",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "env",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "name",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "reader",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "env",
1787.01 s
[opt-env-conf-test] " or ",
1787.01 s
[opt-env-conf-test] functionChunk "name",
1787.01 s
[opt-env-conf-test] " has no ",
1787.01 s
[opt-env-conf-test] functionChunk "metavar",
1787.01 s
[opt-env-conf-test] "."
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] ]
1787.01 s
[opt-env-conf-test] LintErrorNoCommands ->
1787.01 s
[opt-env-conf-test] [ [ functionChunk "commands",
1788.35 s
[opt-env-conf-test] " was called with an empty list."
1788.35 s
[opt-env-conf-test] ]
1788.35 s
[opt-env-conf-test] ]
1788.35 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1788.35 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1788.35 s
[opt-env-conf-test] " was called with an unknown command: ",
1788.35 s
[opt-env-conf-test] commandChunk c
1788.35 s
[opt-env-conf-test] ]
1788.35 s
[opt-env-conf-test] ]
1788.35 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1788.36 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1788.36 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1788.36 s
[opt-env-conf-test] ]
1788.36 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1788.36 s
[opt-env-conf-test] [ [ functionChunk "conf",
1788.36 s
[opt-env-conf-test] " or ",
1788.36 s
[opt-env-conf-test] functionChunk "name",
1788.36 s
[opt-env-conf-test] " was called with no way to load configuration."
1788.36 s
[opt-env-conf-test] ],
1788.36 s
[opt-env-conf-test] [ "You can load configuration with ",
1788.36 s
[opt-env-conf-test] functionChunk "withConfig",
1788.36 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1788.36 s
[opt-env-conf-test] functionChunk "withoutConfig",
1788.36 s
[opt-env-conf-test] "."
1788.36 s
[opt-env-conf-test] ]
1788.36 s
[opt-env-conf-test] ]
1788.36 s
[opt-env-conf-test] LintErrorManyInfinite ->
1788.36 s
[opt-env-conf-test] [ [ functionChunk "many",
1788.36 s
[opt-env-conf-test] " or ",
1788.36 s
[opt-env-conf-test] functionChunk "some",
1788.36 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1788.36 s
[opt-env-conf-test] ],
1788.36 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1788.36 s
[opt-env-conf-test] ],
1788.36 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1788.36 s
[opt-env-conf-test] ]
1788.36 s
[opt-env-conf-test]
1788.36 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1788.36 s
[opt-env-conf-test] lintParser =
1788.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1788.36 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1788.36 s
[opt-env-conf-test] renderLintError LintError {..} =
1788.36 s
[opt-env-conf-test] concat
1788.36 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1788.36 s
[opt-env-conf-test] case lintErrorMessage of
1788.36 s
[opt-env-conf-test] LintErrorUndocumented ->
1788.36 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1788.36 s
[opt-env-conf-test] LintErrorEmptySetting ->
1788.36 s
[opt-env-conf-test] concat
1788.36 s
[opt-env-conf-test] [ [ [ "This ",
1788.36 s
[opt-env-conf-test] functionChunk "setting",
1788.37 s
[opt-env-conf-test] " parses nothing."
1788.37 s
[opt-env-conf-test] ]
1788.37 s
[opt-env-conf-test] ],
1788.37 s
[opt-env-conf-test] [ [ "Add an ",
1788.37 s
[opt-env-conf-test] functionChunk "argument",
1788.37 s
[opt-env-conf-test] ", ",
1788.37 s
[opt-env-conf-test] functionChunk "switch",
1788.37 s
[opt-env-conf-test] ", ",
1788.37 s
[opt-env-conf-test] functionChunk "option",
1788.37 s
[opt-env-conf-test] ", ",
1788.37 s
[opt-env-conf-test] functionChunk "env",
1788.37 s
[opt-env-conf-test] ", ",
1788.37 s
[opt-env-conf-test] functionChunk "conf",
1788.37 s
[opt-env-conf-test] ", or ",
1788.37 s
[opt-env-conf-test] functionChunk "value",
1788.37 s
[opt-env-conf-test] "."
1788.37 s
[opt-env-conf-test] ]
1788.37 s
[opt-env-conf-test] ]
1788.37 s
[opt-env-conf-test] ]
1788.37 s
[opt-env-conf-test] LintErrorDashInShort ->
1788.37 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1788.37 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1788.37 s
[opt-env-conf-test] ]
1788.37 s
[opt-env-conf-test] LintErrorDashInLong s ->
1788.37 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1788.37 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1788.37 s
[opt-env-conf-test] [ "Try ",
1788.37 s
[opt-env-conf-test] functionChunk "long",
1788.37 s
[opt-env-conf-test] " ",
1788.37 s
[opt-env-conf-test] chunk $
1788.37 s
[opt-env-conf-test] T.pack $
1788.37 s
[opt-env-conf-test] show $
1788.37 s
[opt-env-conf-test] let go = \case
1788.37 s
[opt-env-conf-test] [] -> []
1788.37 s
[opt-env-conf-test] '-' : cs -> go cs
1788.37 s
[opt-env-conf-test] c : cs -> c : cs
1788.37 s
[opt-env-conf-test] in go $ NE.toList s,
1788.37 s
[opt-env-conf-test] " instead."
1788.37 s
[opt-env-conf-test] ]
1788.37 s
[opt-env-conf-test] ]
1788.37 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1788.37 s
[opt-env-conf-test] [ [ functionChunk "argument",
1788.37 s
[opt-env-conf-test] " has no ",
1788.37 s
[opt-env-conf-test] functionChunk "reader",
1788.37 s
[opt-env-conf-test] "."
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1788.38 s
[opt-env-conf-test] [ [ functionChunk "argument",
1788.38 s
[opt-env-conf-test] " has no ",
1788.38 s
[opt-env-conf-test] functionChunk "metavar",
1788.38 s
[opt-env-conf-test] "."
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1788.38 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.38 s
[opt-env-conf-test] " or ",
1788.38 s
[opt-env-conf-test] functionChunk "name",
1788.38 s
[opt-env-conf-test] " has no ",
1788.38 s
[opt-env-conf-test] functionChunk "reader",
1788.38 s
[opt-env-conf-test] "."
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1788.38 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.38 s
[opt-env-conf-test] " has no ",
1788.38 s
[opt-env-conf-test] functionChunk "long",
1788.38 s
[opt-env-conf-test] " or ",
1788.38 s
[opt-env-conf-test] functionChunk "short",
1788.38 s
[opt-env-conf-test] "."
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1788.38 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.38 s
[opt-env-conf-test] " or ",
1788.38 s
[opt-env-conf-test] functionChunk "name",
1788.38 s
[opt-env-conf-test] " has no ",
1788.38 s
[opt-env-conf-test] functionChunk "metavar",
1788.38 s
[opt-env-conf-test] "."
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1788.38 s
[opt-env-conf-test] [ [ functionChunk "switch",
1788.38 s
[opt-env-conf-test] " has no ",
1788.38 s
[opt-env-conf-test] functionChunk "long",
1788.38 s
[opt-env-conf-test] " or ",
1788.38 s
[opt-env-conf-test] functionChunk "short",
1788.38 s
[opt-env-conf-test] "."
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] ]
1788.38 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1788.39 s
[opt-env-conf-test] [ [ functionChunk "long",
1788.39 s
[opt-env-conf-test] " or ",
1788.39 s
[opt-env-conf-test] functionChunk "short",
1788.39 s
[opt-env-conf-test] " has no ",
1788.39 s
[opt-env-conf-test] functionChunk "option",
1788.39 s
[opt-env-conf-test] " or ",
1788.39 s
[opt-env-conf-test] functionChunk "switch",
1788.39 s
[opt-env-conf-test] "."
1788.39 s
[opt-env-conf-test] ]
1788.39 s
[opt-env-conf-test] ]
1788.39 s
[opt-env-conf-test] - LintErrorNoReaderForEnvVar ->
1788.39 s
[opt-env-conf-test] - [ [ functionChunk "env",
1788.39 s
[opt-env-conf-test] - " or ",
1788.39 s
[opt-env-conf-test] - functionChunk "name",
1788.39 s
[opt-env-conf-test] - " has no ",
1788.39 s
[opt-env-conf-test] - functionChunk "reader",
1788.39 s
[opt-env-conf-test] - "."
1788.39 s
[opt-env-conf-test] - ]
1788.39 s
[opt-env-conf-test] - ]
1788.39 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1788.39 s
[opt-env-conf-test] [ [ functionChunk "env",
1788.39 s
[opt-env-conf-test] " or ",
1788.39 s
[opt-env-conf-test] functionChunk "name",
1788.39 s
[opt-env-conf-test] " has no ",
1788.39 s
[opt-env-conf-test] functionChunk "metavar",
1788.39 s
[opt-env-conf-test] "."
1788.39 s
[opt-env-conf-test] ]
1788.39 s
[opt-env-conf-test] ]
1788.39 s
[opt-env-conf-test] LintErrorNoCommands ->
1788.44 s
[opt-env-conf-test] [ [ functionChunk "commands",
1788.44 s
[opt-env-conf-test] " was called with an empty list."
1788.44 s
[opt-env-conf-test] ]
1788.44 s
[opt-env-conf-test] ]
1788.44 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1788.44 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1788.44 s
[opt-env-conf-test] " was called with an unknown command: ",
1788.44 s
[opt-env-conf-test] commandChunk c
1788.44 s
[opt-env-conf-test] ]
1788.44 s
[opt-env-conf-test] ]
1788.44 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1788.44 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1788.44 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1788.44 s
[opt-env-conf-test] ]
1788.44 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1788.44 s
[opt-env-conf-test] [ [ functionChunk "conf",
1788.44 s
[opt-env-conf-test] " or ",
1788.44 s
[opt-env-conf-test] functionChunk "name",
1788.44 s
[opt-env-conf-test] " was called with no way to load configuration."
1788.44 s
[opt-env-conf-test] ],
1788.44 s
[opt-env-conf-test] [ "You can load configuration with ",
1788.44 s
[opt-env-conf-test] functionChunk "withConfig",
1788.44 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1788.44 s
[opt-env-conf-test] functionChunk "withoutConfig",
1788.44 s
[opt-env-conf-test] "."
1788.44 s
[opt-env-conf-test] ]
1788.44 s
[opt-env-conf-test] ]
1788.44 s
[opt-env-conf-test] LintErrorManyInfinite ->
1788.44 s
[opt-env-conf-test] [ [ functionChunk "many",
1788.44 s
[opt-env-conf-test] " or ",
1788.44 s
[opt-env-conf-test] functionChunk "some",
1788.44 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1788.45 s
[opt-env-conf-test] ],
1788.45 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1788.45 s
[opt-env-conf-test] ],
1788.45 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test]
1788.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1788.45 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1788.45 s
[opt-env-conf-test] renderLintError LintError {..} =
1788.45 s
[opt-env-conf-test] concat
1788.45 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1788.45 s
[opt-env-conf-test] case lintErrorMessage of
1788.45 s
[opt-env-conf-test] LintErrorUndocumented ->
1788.45 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1788.45 s
[opt-env-conf-test] LintErrorEmptySetting ->
1788.45 s
[opt-env-conf-test] concat
1788.45 s
[opt-env-conf-test] [ [ [ "This ",
1788.45 s
[opt-env-conf-test] functionChunk "setting",
1788.45 s
[opt-env-conf-test] " parses nothing."
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] ],
1788.45 s
[opt-env-conf-test] [ [ "Add an ",
1788.45 s
[opt-env-conf-test] functionChunk "argument",
1788.45 s
[opt-env-conf-test] ", ",
1788.45 s
[opt-env-conf-test] functionChunk "switch",
1788.45 s
[opt-env-conf-test] ", ",
1788.45 s
[opt-env-conf-test] functionChunk "option",
1788.45 s
[opt-env-conf-test] ", ",
1788.45 s
[opt-env-conf-test] functionChunk "env",
1788.45 s
[opt-env-conf-test] ", ",
1788.45 s
[opt-env-conf-test] functionChunk "conf",
1788.45 s
[opt-env-conf-test] ", or ",
1788.45 s
[opt-env-conf-test] functionChunk "value",
1788.45 s
[opt-env-conf-test] "."
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] LintErrorDashInShort ->
1788.45 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1788.45 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] LintErrorDashInLong s ->
1788.45 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1788.45 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1788.45 s
[opt-env-conf-test] [ "Try ",
1788.45 s
[opt-env-conf-test] functionChunk "long",
1788.45 s
[opt-env-conf-test] " ",
1788.45 s
[opt-env-conf-test] chunk $
1788.45 s
[opt-env-conf-test] T.pack $
1788.45 s
[opt-env-conf-test] show $
1788.45 s
[opt-env-conf-test] let go = \case
1788.45 s
[opt-env-conf-test] [] -> []
1788.45 s
[opt-env-conf-test] '-' : cs -> go cs
1788.45 s
[opt-env-conf-test] c : cs -> c : cs
1788.45 s
[opt-env-conf-test] in go $ NE.toList s,
1788.45 s
[opt-env-conf-test] " instead."
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1788.45 s
[opt-env-conf-test] [ [ functionChunk "argument",
1788.45 s
[opt-env-conf-test] " has no ",
1788.45 s
[opt-env-conf-test] functionChunk "reader",
1788.45 s
[opt-env-conf-test] "."
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] ]
1788.45 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "argument",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "metavar",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "name",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "reader",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "long",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "short",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "name",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "metavar",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "switch",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "long",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "short",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "long",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "short",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "option",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "switch",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "env",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "name",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "reader",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "env",
1788.46 s
[opt-env-conf-test] " or ",
1788.46 s
[opt-env-conf-test] functionChunk "name",
1788.46 s
[opt-env-conf-test] " has no ",
1788.46 s
[opt-env-conf-test] functionChunk "metavar",
1788.46 s
[opt-env-conf-test] "."
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] ]
1788.46 s
[opt-env-conf-test] LintErrorNoCommands ->
1788.46 s
[opt-env-conf-test] [ [ functionChunk "commands",
1788.46 s
[opt-env-conf-test] " was called with an empty list."
1788.93 s
[opt-env-conf-test] ]
1788.93 s
[opt-env-conf-test] ]
1788.93 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1788.93 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1788.93 s
[opt-env-conf-test] " was called with an unknown command: ",
1788.93 s
[opt-env-conf-test] commandChunk c
1788.93 s
[opt-env-conf-test] ]
1788.93 s
[opt-env-conf-test] - ]
1788.93 s
[opt-env-conf-test] - LintErrorUnreadableExample e ->
1788.93 s
[opt-env-conf-test] - [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1788.93 s
[opt-env-conf-test] - ["Example: ", chunk $ T.pack e]
1788.93 s
[opt-env-conf-test] ]
1788.93 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1788.93 s
[opt-env-conf-test] [ [ functionChunk "conf",
1788.93 s
[opt-env-conf-test] " or ",
1788.93 s
[opt-env-conf-test] functionChunk "name",
1788.93 s
[opt-env-conf-test] " was called with no way to load configuration."
1788.93 s
[opt-env-conf-test] ],
1788.93 s
[opt-env-conf-test] [ "You can load configuration with ",
1788.93 s
[opt-env-conf-test] functionChunk "withConfig",
1788.93 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1788.93 s
[opt-env-conf-test] functionChunk "withoutConfig",
1788.93 s
[opt-env-conf-test] "."
1788.93 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test] LintErrorManyInfinite ->
1788.94 s
[opt-env-conf-test] [ [ functionChunk "many",
1788.94 s
[opt-env-conf-test] " or ",
1788.94 s
[opt-env-conf-test] functionChunk "some",
1788.94 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1788.94 s
[opt-env-conf-test] ],
1788.94 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1788.94 s
[opt-env-conf-test] ],
1788.94 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1788.94 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test]
1788.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1788.94 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1788.94 s
[opt-env-conf-test] renderLintError LintError {..} =
1788.94 s
[opt-env-conf-test] concat
1788.94 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1788.94 s
[opt-env-conf-test] case lintErrorMessage of
1788.94 s
[opt-env-conf-test] LintErrorUndocumented ->
1788.94 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1788.94 s
[opt-env-conf-test] LintErrorEmptySetting ->
1788.94 s
[opt-env-conf-test] concat
1788.94 s
[opt-env-conf-test] [ [ [ "This ",
1788.94 s
[opt-env-conf-test] functionChunk "setting",
1788.94 s
[opt-env-conf-test] " parses nothing."
1788.94 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test] ],
1788.94 s
[opt-env-conf-test] [ [ "Add an ",
1788.94 s
[opt-env-conf-test] functionChunk "argument",
1788.94 s
[opt-env-conf-test] ", ",
1788.94 s
[opt-env-conf-test] functionChunk "switch",
1788.94 s
[opt-env-conf-test] ", ",
1788.94 s
[opt-env-conf-test] functionChunk "option",
1788.94 s
[opt-env-conf-test] ", ",
1788.94 s
[opt-env-conf-test] functionChunk "env",
1788.94 s
[opt-env-conf-test] ", ",
1788.94 s
[opt-env-conf-test] functionChunk "conf",
1788.94 s
[opt-env-conf-test] ", or ",
1788.94 s
[opt-env-conf-test] functionChunk "value",
1788.94 s
[opt-env-conf-test] "."
1788.94 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test] LintErrorDashInShort ->
1788.94 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1788.94 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1788.94 s
[opt-env-conf-test] ]
1788.94 s
[opt-env-conf-test] LintErrorDashInLong s ->
1788.94 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1788.94 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1788.94 s
[opt-env-conf-test] [ "Try ",
1788.94 s
[opt-env-conf-test] functionChunk "long",
1788.94 s
[opt-env-conf-test] " ",
1788.94 s
[opt-env-conf-test] chunk $
1788.94 s
[opt-env-conf-test] T.pack $
1788.94 s
[opt-env-conf-test] show $
1788.94 s
[opt-env-conf-test] let go = \case
1788.94 s
[opt-env-conf-test] [] -> []
1788.94 s
[opt-env-conf-test] '-' : cs -> go cs
1788.94 s
[opt-env-conf-test] c : cs -> c : cs
1788.94 s
[opt-env-conf-test] in go $ NE.toList s,
1788.95 s
[opt-env-conf-test] " instead."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "argument",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "reader",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "argument",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "metavar",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.95 s
[opt-env-conf-test] " or ",
1788.95 s
[opt-env-conf-test] functionChunk "name",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "reader",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "option",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "long",
1788.95 s
[opt-env-conf-test] " or ",
1788.95 s
[opt-env-conf-test] functionChunk "short",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] - LintErrorNoMetavarForOption ->
1788.95 s
[opt-env-conf-test] - [ [ functionChunk "option",
1788.95 s
[opt-env-conf-test] - " or ",
1788.95 s
[opt-env-conf-test] - functionChunk "name",
1788.95 s
[opt-env-conf-test] - " has no ",
1788.95 s
[opt-env-conf-test] - functionChunk "metavar",
1788.95 s
[opt-env-conf-test] - "."
1788.95 s
[opt-env-conf-test] - ]
1788.95 s
[opt-env-conf-test] - ]
1788.95 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "switch",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "long",
1788.95 s
[opt-env-conf-test] " or ",
1788.95 s
[opt-env-conf-test] functionChunk "short",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "long",
1788.95 s
[opt-env-conf-test] " or ",
1788.95 s
[opt-env-conf-test] functionChunk "short",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "option",
1788.95 s
[opt-env-conf-test] " or ",
1788.95 s
[opt-env-conf-test] functionChunk "switch",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "env",
1788.95 s
[opt-env-conf-test] " or ",
1788.95 s
[opt-env-conf-test] functionChunk "name",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "reader",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1788.95 s
[opt-env-conf-test] [ [ functionChunk "env",
1788.95 s
[opt-env-conf-test] " or ",
1788.95 s
[opt-env-conf-test] functionChunk "name",
1788.95 s
[opt-env-conf-test] " has no ",
1788.95 s
[opt-env-conf-test] functionChunk "metavar",
1788.95 s
[opt-env-conf-test] "."
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] ]
1788.95 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.12 s
[opt-env-conf-test] [ [ functionChunk "commands",
1789.30 s
[opt-env-conf-test] " was called with an empty list."
1789.30 s
[opt-env-conf-test] ]
1789.30 s
[opt-env-conf-test] ]
1789.30 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.30 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1789.30 s
[opt-env-conf-test] " was called with an unknown command: ",
1789.30 s
[opt-env-conf-test] commandChunk c
1789.30 s
[opt-env-conf-test] ]
1789.30 s
[opt-env-conf-test] ]
1789.30 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.30 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1789.30 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1789.30 s
[opt-env-conf-test] ]
1789.30 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1789.30 s
[opt-env-conf-test] [ [ functionChunk "conf",
1789.30 s
[opt-env-conf-test] " or ",
1789.30 s
[opt-env-conf-test] functionChunk "name",
1789.30 s
[opt-env-conf-test] " was called with no way to load configuration."
1789.30 s
[opt-env-conf-test] ],
1789.30 s
[opt-env-conf-test] [ "You can load configuration with ",
1789.30 s
[opt-env-conf-test] functionChunk "withConfig",
1789.30 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1789.30 s
[opt-env-conf-test] functionChunk "withoutConfig",
1789.30 s
[opt-env-conf-test] "."
1789.30 s
[opt-env-conf-test] ]
1789.30 s
[opt-env-conf-test] ]
1789.30 s
[opt-env-conf-test] LintErrorManyInfinite ->
1789.30 s
[opt-env-conf-test] [ [ functionChunk "many",
1789.31 s
[opt-env-conf-test] " or ",
1789.31 s
[opt-env-conf-test] functionChunk "some",
1789.31 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1789.31 s
[opt-env-conf-test] ],
1789.31 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1789.31 s
[opt-env-conf-test] ],
1789.31 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test]
1789.31 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1789.31 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1789.31 s
[opt-env-conf-test] renderLintError LintError {..} =
1789.31 s
[opt-env-conf-test] concat
1789.31 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1789.31 s
[opt-env-conf-test] case lintErrorMessage of
1789.31 s
[opt-env-conf-test] LintErrorUndocumented ->
1789.31 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1789.31 s
[opt-env-conf-test] LintErrorEmptySetting ->
1789.31 s
[opt-env-conf-test] concat
1789.31 s
[opt-env-conf-test] [ [ [ "This ",
1789.31 s
[opt-env-conf-test] functionChunk "setting",
1789.31 s
[opt-env-conf-test] " parses nothing."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ],
1789.31 s
[opt-env-conf-test] [ [ "Add an ",
1789.31 s
[opt-env-conf-test] functionChunk "argument",
1789.31 s
[opt-env-conf-test] ", ",
1789.31 s
[opt-env-conf-test] functionChunk "switch",
1789.31 s
[opt-env-conf-test] ", ",
1789.31 s
[opt-env-conf-test] functionChunk "option",
1789.31 s
[opt-env-conf-test] ", ",
1789.31 s
[opt-env-conf-test] functionChunk "env",
1789.31 s
[opt-env-conf-test] ", ",
1789.31 s
[opt-env-conf-test] functionChunk "conf",
1789.31 s
[opt-env-conf-test] ", or ",
1789.31 s
[opt-env-conf-test] functionChunk "value",
1789.31 s
[opt-env-conf-test] "."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] LintErrorDashInShort ->
1789.31 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1789.31 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] LintErrorDashInLong s ->
1789.31 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1789.31 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1789.31 s
[opt-env-conf-test] [ "Try ",
1789.31 s
[opt-env-conf-test] functionChunk "long",
1789.31 s
[opt-env-conf-test] " ",
1789.31 s
[opt-env-conf-test] chunk $
1789.31 s
[opt-env-conf-test] T.pack $
1789.31 s
[opt-env-conf-test] show $
1789.31 s
[opt-env-conf-test] let go = \case
1789.31 s
[opt-env-conf-test] [] -> []
1789.31 s
[opt-env-conf-test] '-' : cs -> go cs
1789.31 s
[opt-env-conf-test] c : cs -> c : cs
1789.31 s
[opt-env-conf-test] in go $ NE.toList s,
1789.31 s
[opt-env-conf-test] " instead."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1789.31 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.31 s
[opt-env-conf-test] " has no ",
1789.31 s
[opt-env-conf-test] functionChunk "reader",
1789.31 s
[opt-env-conf-test] "."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1789.31 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.31 s
[opt-env-conf-test] " has no ",
1789.31 s
[opt-env-conf-test] functionChunk "metavar",
1789.31 s
[opt-env-conf-test] "."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1789.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.31 s
[opt-env-conf-test] " or ",
1789.31 s
[opt-env-conf-test] functionChunk "name",
1789.31 s
[opt-env-conf-test] " has no ",
1789.31 s
[opt-env-conf-test] functionChunk "reader",
1789.31 s
[opt-env-conf-test] "."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] - LintErrorNoDashedForOption ->
1789.31 s
[opt-env-conf-test] - [ [ functionChunk "option",
1789.31 s
[opt-env-conf-test] - " has no ",
1789.31 s
[opt-env-conf-test] - functionChunk "long",
1789.31 s
[opt-env-conf-test] - " or ",
1789.31 s
[opt-env-conf-test] - functionChunk "short",
1789.31 s
[opt-env-conf-test] - "."
1789.31 s
[opt-env-conf-test] - ]
1789.31 s
[opt-env-conf-test] - ]
1789.31 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1789.31 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.31 s
[opt-env-conf-test] " or ",
1789.31 s
[opt-env-conf-test] functionChunk "name",
1789.31 s
[opt-env-conf-test] " has no ",
1789.31 s
[opt-env-conf-test] functionChunk "metavar",
1789.31 s
[opt-env-conf-test] "."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1789.31 s
[opt-env-conf-test] [ [ functionChunk "switch",
1789.31 s
[opt-env-conf-test] " has no ",
1789.31 s
[opt-env-conf-test] functionChunk "long",
1789.31 s
[opt-env-conf-test] " or ",
1789.31 s
[opt-env-conf-test] functionChunk "short",
1789.31 s
[opt-env-conf-test] "."
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] ]
1789.31 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.32 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.32 s
[opt-env-conf-test] " or ",
1789.32 s
[opt-env-conf-test] functionChunk "short",
1789.32 s
[opt-env-conf-test] " has no ",
1789.32 s
[opt-env-conf-test] functionChunk "option",
1789.32 s
[opt-env-conf-test] " or ",
1789.32 s
[opt-env-conf-test] functionChunk "switch",
1789.32 s
[opt-env-conf-test] "."
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.32 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.32 s
[opt-env-conf-test] " or ",
1789.32 s
[opt-env-conf-test] functionChunk "name",
1789.32 s
[opt-env-conf-test] " has no ",
1789.32 s
[opt-env-conf-test] functionChunk "reader",
1789.32 s
[opt-env-conf-test] "."
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.32 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.32 s
[opt-env-conf-test] " or ",
1789.32 s
[opt-env-conf-test] functionChunk "name",
1789.32 s
[opt-env-conf-test] " has no ",
1789.32 s
[opt-env-conf-test] functionChunk "metavar",
1789.32 s
[opt-env-conf-test] "."
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.32 s
[opt-env-conf-test] [ [ functionChunk "commands",
1789.32 s
[opt-env-conf-test] " was called with an empty list."
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.32 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1789.32 s
[opt-env-conf-test] " was called with an unknown command: ",
1789.32 s
[opt-env-conf-test] commandChunk c
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.32 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1789.32 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1789.32 s
[opt-env-conf-test] [ [ functionChunk "conf",
1789.32 s
[opt-env-conf-test] " or ",
1789.32 s
[opt-env-conf-test] functionChunk "name",
1789.32 s
[opt-env-conf-test] " was called with no way to load configuration."
1789.32 s
[opt-env-conf-test] ],
1789.32 s
[opt-env-conf-test] [ "You can load configuration with ",
1789.32 s
[opt-env-conf-test] functionChunk "withConfig",
1789.32 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1789.32 s
[opt-env-conf-test] functionChunk "withoutConfig",
1789.32 s
[opt-env-conf-test] "."
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorManyInfinite ->
1789.32 s
[opt-env-conf-test] [ [ functionChunk "many",
1789.32 s
[opt-env-conf-test] " or ",
1789.32 s
[opt-env-conf-test] functionChunk "some",
1789.32 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1789.32 s
[opt-env-conf-test] ],
1789.32 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1789.32 s
[opt-env-conf-test] ],
1789.32 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test]
1789.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1789.32 s
[opt-env-conf-test] @@ -66,168 +66,159 @@
1789.32 s
[opt-env-conf-test] renderLintError LintError {..} =
1789.32 s
[opt-env-conf-test] concat
1789.32 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1789.32 s
[opt-env-conf-test] case lintErrorMessage of
1789.32 s
[opt-env-conf-test] LintErrorUndocumented ->
1789.32 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1789.32 s
[opt-env-conf-test] LintErrorEmptySetting ->
1789.32 s
[opt-env-conf-test] concat
1789.32 s
[opt-env-conf-test] [ [ [ "This ",
1789.32 s
[opt-env-conf-test] functionChunk "setting",
1789.32 s
[opt-env-conf-test] " parses nothing."
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ],
1789.32 s
[opt-env-conf-test] [ [ "Add an ",
1789.32 s
[opt-env-conf-test] functionChunk "argument",
1789.32 s
[opt-env-conf-test] ", ",
1789.32 s
[opt-env-conf-test] functionChunk "switch",
1789.32 s
[opt-env-conf-test] ", ",
1789.32 s
[opt-env-conf-test] functionChunk "option",
1789.32 s
[opt-env-conf-test] ", ",
1789.32 s
[opt-env-conf-test] functionChunk "env",
1789.32 s
[opt-env-conf-test] ", ",
1789.32 s
[opt-env-conf-test] functionChunk "conf",
1789.32 s
[opt-env-conf-test] ", or ",
1789.32 s
[opt-env-conf-test] functionChunk "value",
1789.32 s
[opt-env-conf-test] "."
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorDashInShort ->
1789.32 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1789.32 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1789.32 s
[opt-env-conf-test] ]
1789.32 s
[opt-env-conf-test] LintErrorDashInLong s ->
1789.32 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1789.32 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1789.32 s
[opt-env-conf-test] [ "Try ",
1789.32 s
[opt-env-conf-test] functionChunk "long",
1789.32 s
[opt-env-conf-test] " ",
1789.32 s
[opt-env-conf-test] chunk $
1789.32 s
[opt-env-conf-test] T.pack $
1789.32 s
[opt-env-conf-test] show $
1789.32 s
[opt-env-conf-test] let go = \case
1789.33 s
[opt-env-conf-test] [] -> []
1789.33 s
[opt-env-conf-test] '-' : cs -> go cs
1789.33 s
[opt-env-conf-test] c : cs -> c : cs
1789.33 s
[opt-env-conf-test] in go $ NE.toList s,
1789.33 s
[opt-env-conf-test] " instead."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "reader",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "metavar",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] - LintErrorNoReaderForOption ->
1789.33 s
[opt-env-conf-test] - [ [ functionChunk "option",
1789.33 s
[opt-env-conf-test] - " or ",
1789.33 s
[opt-env-conf-test] - functionChunk "name",
1789.33 s
[opt-env-conf-test] - " has no ",
1789.33 s
[opt-env-conf-test] - functionChunk "reader",
1789.33 s
[opt-env-conf-test] - "."
1789.33 s
[opt-env-conf-test] - ]
1789.33 s
[opt-env-conf-test] - ]
1789.33 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "long",
1789.33 s
[opt-env-conf-test] " or ",
1789.33 s
[opt-env-conf-test] functionChunk "short",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.33 s
[opt-env-conf-test] " or ",
1789.33 s
[opt-env-conf-test] functionChunk "name",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "metavar",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "switch",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "long",
1789.33 s
[opt-env-conf-test] " or ",
1789.33 s
[opt-env-conf-test] functionChunk "short",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.33 s
[opt-env-conf-test] " or ",
1789.33 s
[opt-env-conf-test] functionChunk "short",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "option",
1789.33 s
[opt-env-conf-test] " or ",
1789.33 s
[opt-env-conf-test] functionChunk "switch",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.33 s
[opt-env-conf-test] " or ",
1789.33 s
[opt-env-conf-test] functionChunk "name",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "reader",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.33 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.33 s
[opt-env-conf-test] " or ",
1789.33 s
[opt-env-conf-test] functionChunk "name",
1789.33 s
[opt-env-conf-test] " has no ",
1789.33 s
[opt-env-conf-test] functionChunk "metavar",
1789.33 s
[opt-env-conf-test] "."
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] ]
1789.33 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.83 s
[opt-env-conf-test] [ [ functionChunk "commands",
1789.83 s
[opt-env-conf-test] " was called with an empty list."
1789.83 s
[opt-env-conf-test] ]
1789.83 s
[opt-env-conf-test] ]
1789.83 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1789.83 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1789.83 s
[opt-env-conf-test] " was called with an unknown command: ",
1789.83 s
[opt-env-conf-test] commandChunk c
1789.83 s
[opt-env-conf-test] ]
1789.83 s
[opt-env-conf-test] ]
1789.83 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.83 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1789.83 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1789.83 s
[opt-env-conf-test] ]
1789.83 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1789.83 s
[opt-env-conf-test] [ [ functionChunk "conf",
1789.83 s
[opt-env-conf-test] " or ",
1789.83 s
[opt-env-conf-test] functionChunk "name",
1789.83 s
[opt-env-conf-test] " was called with no way to load configuration."
1789.83 s
[opt-env-conf-test] ],
1789.83 s
[opt-env-conf-test] [ "You can load configuration with ",
1789.83 s
[opt-env-conf-test] functionChunk "withConfig",
1789.83 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1789.83 s
[opt-env-conf-test] functionChunk "withoutConfig",
1789.83 s
[opt-env-conf-test] "."
1789.83 s
[opt-env-conf-test] ]
1789.83 s
[opt-env-conf-test] ]
1789.83 s
[opt-env-conf-test] LintErrorManyInfinite ->
1789.83 s
[opt-env-conf-test] [ [ functionChunk "many",
1789.83 s
[opt-env-conf-test] " or ",
1789.83 s
[opt-env-conf-test] functionChunk "some",
1789.83 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1789.83 s
[opt-env-conf-test] ],
1789.83 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1789.83 s
[opt-env-conf-test] ],
1789.84 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test]
1789.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1789.84 s
[opt-env-conf-test] @@ -66,168 +66,162 @@
1789.84 s
[opt-env-conf-test] renderLintError LintError {..} =
1789.84 s
[opt-env-conf-test] concat
1789.84 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1789.84 s
[opt-env-conf-test] case lintErrorMessage of
1789.84 s
[opt-env-conf-test] LintErrorUndocumented ->
1789.84 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1789.84 s
[opt-env-conf-test] LintErrorEmptySetting ->
1789.84 s
[opt-env-conf-test] concat
1789.84 s
[opt-env-conf-test] [ [ [ "This ",
1789.84 s
[opt-env-conf-test] functionChunk "setting",
1789.84 s
[opt-env-conf-test] " parses nothing."
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] ],
1789.84 s
[opt-env-conf-test] [ [ "Add an ",
1789.84 s
[opt-env-conf-test] functionChunk "argument",
1789.84 s
[opt-env-conf-test] ", ",
1789.84 s
[opt-env-conf-test] functionChunk "switch",
1789.84 s
[opt-env-conf-test] ", ",
1789.84 s
[opt-env-conf-test] functionChunk "option",
1789.84 s
[opt-env-conf-test] ", ",
1789.84 s
[opt-env-conf-test] functionChunk "env",
1789.84 s
[opt-env-conf-test] ", ",
1789.84 s
[opt-env-conf-test] functionChunk "conf",
1789.84 s
[opt-env-conf-test] ", or ",
1789.84 s
[opt-env-conf-test] functionChunk "value",
1789.84 s
[opt-env-conf-test] "."
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] LintErrorDashInShort ->
1789.84 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1789.84 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] LintErrorDashInLong s ->
1789.84 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1789.84 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1789.84 s
[opt-env-conf-test] [ "Try ",
1789.84 s
[opt-env-conf-test] functionChunk "long",
1789.84 s
[opt-env-conf-test] " ",
1789.84 s
[opt-env-conf-test] chunk $
1789.84 s
[opt-env-conf-test] T.pack $
1789.84 s
[opt-env-conf-test] show $
1789.84 s
[opt-env-conf-test] let go = \case
1789.84 s
[opt-env-conf-test] [] -> []
1789.84 s
[opt-env-conf-test] '-' : cs -> go cs
1789.84 s
[opt-env-conf-test] c : cs -> c : cs
1789.84 s
[opt-env-conf-test] in go $ NE.toList s,
1789.84 s
[opt-env-conf-test] " instead."
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1789.84 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.84 s
[opt-env-conf-test] " has no ",
1789.84 s
[opt-env-conf-test] functionChunk "reader",
1789.84 s
[opt-env-conf-test] "."
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1789.84 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.84 s
[opt-env-conf-test] " has no ",
1789.84 s
[opt-env-conf-test] functionChunk "metavar",
1789.84 s
[opt-env-conf-test] "."
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] ]
1789.84 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "name",
1789.85 s
[opt-env-conf-test] " has no ",
1789.85 s
[opt-env-conf-test] functionChunk "reader",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.85 s
[opt-env-conf-test] " has no ",
1789.85 s
[opt-env-conf-test] functionChunk "long",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "short",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "name",
1789.85 s
[opt-env-conf-test] " has no ",
1789.85 s
[opt-env-conf-test] functionChunk "metavar",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "switch",
1789.85 s
[opt-env-conf-test] " has no ",
1789.85 s
[opt-env-conf-test] functionChunk "long",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "short",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "short",
1789.85 s
[opt-env-conf-test] " has no ",
1789.85 s
[opt-env-conf-test] functionChunk "option",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "switch",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "name",
1789.85 s
[opt-env-conf-test] " has no ",
1789.85 s
[opt-env-conf-test] functionChunk "reader",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "name",
1789.85 s
[opt-env-conf-test] " has no ",
1789.85 s
[opt-env-conf-test] functionChunk "metavar",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "commands",
1789.85 s
[opt-env-conf-test] " was called with an empty list."
1789.85 s
[opt-env-conf-test] - ]
1789.85 s
[opt-env-conf-test] - ]
1789.85 s
[opt-env-conf-test] - LintErrorUnknownDefaultCommand c ->
1789.85 s
[opt-env-conf-test] - [ [ functionChunk "defaultCommand",
1789.85 s
[opt-env-conf-test] - " was called with an unknown command: ",
1789.85 s
[opt-env-conf-test] - commandChunk c
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1789.85 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1789.85 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "conf",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "name",
1789.85 s
[opt-env-conf-test] " was called with no way to load configuration."
1789.85 s
[opt-env-conf-test] ],
1789.85 s
[opt-env-conf-test] [ "You can load configuration with ",
1789.85 s
[opt-env-conf-test] functionChunk "withConfig",
1789.85 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1789.85 s
[opt-env-conf-test] functionChunk "withoutConfig",
1789.85 s
[opt-env-conf-test] "."
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test] LintErrorManyInfinite ->
1789.85 s
[opt-env-conf-test] [ [ functionChunk "many",
1789.85 s
[opt-env-conf-test] " or ",
1789.85 s
[opt-env-conf-test] functionChunk "some",
1789.85 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1789.85 s
[opt-env-conf-test] ],
1789.85 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1789.85 s
[opt-env-conf-test] ],
1789.85 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1789.85 s
[opt-env-conf-test] ]
1789.85 s
[opt-env-conf-test]
1789.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Lint.hs:69:7-12
1789.86 s
[opt-env-conf-test] @@ -66,168 +66,164 @@
1789.86 s
[opt-env-conf-test] renderLintError LintError {..} =
1789.86 s
[opt-env-conf-test] concat
1789.86 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1789.86 s
[opt-env-conf-test] case lintErrorMessage of
1789.86 s
[opt-env-conf-test] LintErrorUndocumented ->
1789.86 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1789.86 s
[opt-env-conf-test] LintErrorEmptySetting ->
1789.86 s
[opt-env-conf-test] concat
1789.86 s
[opt-env-conf-test] [ [ [ "This ",
1789.86 s
[opt-env-conf-test] functionChunk "setting",
1789.86 s
[opt-env-conf-test] " parses nothing."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ],
1789.86 s
[opt-env-conf-test] [ [ "Add an ",
1789.86 s
[opt-env-conf-test] functionChunk "argument",
1789.86 s
[opt-env-conf-test] ", ",
1789.86 s
[opt-env-conf-test] functionChunk "switch",
1789.86 s
[opt-env-conf-test] ", ",
1789.86 s
[opt-env-conf-test] functionChunk "option",
1789.86 s
[opt-env-conf-test] ", ",
1789.86 s
[opt-env-conf-test] functionChunk "env",
1789.86 s
[opt-env-conf-test] ", ",
1789.86 s
[opt-env-conf-test] functionChunk "conf",
1789.86 s
[opt-env-conf-test] ", or ",
1789.86 s
[opt-env-conf-test] functionChunk "value",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] - LintErrorDashInShort ->
1789.86 s
[opt-env-conf-test] - [ [functionChunk "short", " may not contain a '-'."],
1789.86 s
[opt-env-conf-test] - ["Found ", functionChunk "short", " '-'."]
1789.86 s
[opt-env-conf-test] - ]
1789.86 s
[opt-env-conf-test] LintErrorDashInLong s ->
1789.86 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1789.86 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1789.86 s
[opt-env-conf-test] [ "Try ",
1789.86 s
[opt-env-conf-test] functionChunk "long",
1789.86 s
[opt-env-conf-test] " ",
1789.86 s
[opt-env-conf-test] chunk $
1789.86 s
[opt-env-conf-test] T.pack $
1789.86 s
[opt-env-conf-test] show $
1789.86 s
[opt-env-conf-test] let go = \case
1789.86 s
[opt-env-conf-test] [] -> []
1789.86 s
[opt-env-conf-test] '-' : cs -> go cs
1789.86 s
[opt-env-conf-test] c : cs -> c : cs
1789.86 s
[opt-env-conf-test] in go $ NE.toList s,
1789.86 s
[opt-env-conf-test] " instead."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "reader",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "argument",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "metavar",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "name",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "reader",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "long",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "short",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "option",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "name",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "metavar",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "switch",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "long",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "short",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "long",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "short",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "option",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "switch",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "name",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "reader",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "env",
1789.86 s
[opt-env-conf-test] " or ",
1789.86 s
[opt-env-conf-test] functionChunk "name",
1789.86 s
[opt-env-conf-test] " has no ",
1789.86 s
[opt-env-conf-test] functionChunk "metavar",
1789.86 s
[opt-env-conf-test] "."
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] ]
1789.86 s
[opt-env-conf-test] LintErrorNoCommands ->
1789.86 s
[opt-env-conf-test] [ [ functionChunk "commands",
1792.53 s
[opt-env-conf-test] " was called with an empty list."
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1792.53 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1792.53 s
[opt-env-conf-test] " was called with an unknown command: ",
1792.53 s
[opt-env-conf-test] commandChunk c
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1792.53 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1792.53 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1792.53 s
[opt-env-conf-test] [ [ functionChunk "conf",
1792.53 s
[opt-env-conf-test] " or ",
1792.53 s
[opt-env-conf-test] functionChunk "name",
1792.53 s
[opt-env-conf-test] " was called with no way to load configuration."
1792.53 s
[opt-env-conf-test] ],
1792.53 s
[opt-env-conf-test] [ "You can load configuration with ",
1792.53 s
[opt-env-conf-test] functionChunk "withConfig",
1792.53 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1792.53 s
[opt-env-conf-test] functionChunk "withoutConfig",
1792.53 s
[opt-env-conf-test] "."
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test] LintErrorManyInfinite ->
1792.53 s
[opt-env-conf-test] [ [ functionChunk "many",
1792.53 s
[opt-env-conf-test] " or ",
1792.53 s
[opt-env-conf-test] functionChunk "some",
1792.53 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1792.53 s
[opt-env-conf-test] ],
1792.53 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1792.53 s
[opt-env-conf-test] ],
1792.53 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1792.53 s
[opt-env-conf-test] ]
1792.53 s
[opt-env-conf-test]
1792.53 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/NonDet.hs:74:24-42
1792.53 s
[opt-env-conf-test] @@ -71,7 +71,7 @@
1792.53 s
[opt-env-conf-test] runListTLazy = fmap g . unListT
1792.53 s
[opt-env-conf-test] where
1792.53 s
[opt-env-conf-test] g MNil = Nothing
1792.53 s
[opt-env-conf-test] - g (x `MCons` xs) = J u s t (x, L i s t T x s)
1792.53 s
[opt-env-conf-test] + g (x `MCons` xs) = No t h i ng
1792.53 s
[opt-env-conf-test]
1792.53 s
[opt-env-conf-test] runListTComplete :: (Monad m) => ListT m a -> m [a]
1792.53 s
[opt-env-conf-test] runListTComplete = unListT >=> go
1792.53 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:379:57-62
1792.53 s
[opt-env-conf-test] @@ -376,7 +376,7 @@
1792.53 s
[opt-env-conf-test]
1792.53 s
[opt-env-conf-test] -- | Like 'env' but ignores any 'subEnv', 'subEnv_', or 'subAll'.
1792.53 s
[opt-env-conf-test] unprefixedEnv :: String -> Builder a
1792.53 s
[opt-env-conf-test] - unprefixedEnv v = Builder [BuildAddEnv (EnvVarSetting v F al s e)]
1792.53 s
[opt-env-conf-test] + unprefixedEnv v = Builder [BuildAddEnv (EnvVarSetting v T ru e)]
1792.53 s
[opt-env-conf-test]
1792.53 s
[opt-env-conf-test] -- | Try to parse a configuration value at the given key.
1792.53 s
[opt-env-conf-test] --
1792.53 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Setting.hs:427:5-6
1792.53 s
[opt-env-conf-test] @@ -424,11 +424,10 @@
1792.54 s
[opt-env-conf-test] name :: (HasCodec a) => String -> Builder a
1792.54 s
[opt-env-conf-test] name s =
1792.54 s
[opt-env-conf-test] mconcat
1792.54 s
[opt-env-conf-test] [ option,
1792.54 s
[opt-env-conf-test] long (toArgCase s),
1792.54 s
[opt-env-conf-test] env (toEnvCase s),
1792.54 s
[opt-env-conf-test] - conf (toConfigCase s)
1792.54 s
[opt-env-conf-test] ]
1792.54 s
[opt-env-conf-test]
1792.54 s
[opt-env-conf-test] -- | Set the default value
1792.54 s
[opt-env-conf-test] --
1792.54 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:277:43-47
1792.54 s
[opt-env-conf-test] @@ -274,7 +274,7 @@
1792.54 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1792.54 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1792.54 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1792.54 s
[opt-env-conf-test] - BuildTryOption -> s {settingTryOption = Tr u e}
1792.54 s
[opt-env-conf-test] + BuildTryOption -> s {settingTryOption = F a ls e}
1792.54 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1792.54 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1792.54 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1792.54 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:286:40-44
1792.54 s
[opt-env-conf-test] @@ -283,7 +283,7 @@
1792.54 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1792.54 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1792.54 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1792.54 s
[opt-env-conf-test] - BuildSetHidden -> s {settingHidden = Tr u e}
1792.54 s
[opt-env-conf-test] + BuildSetHidden -> s {settingHidden = F a ls e}
1792.54 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1792.54 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1792.54 s
[opt-env-conf-test]
1792.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1792.54 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1792.54 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1792.54 s
[opt-env-conf-test]
1792.54 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1792.54 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1792.54 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1792.54 s
[opt-env-conf-test] - BuildSetMetavar mv -> s {settingMetavar = Just mv}
1792.54 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1792.54 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1792.54 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1792.54 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1792.54 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1792.54 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1792.54 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1792.54 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1792.54 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1792.54 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1792.54 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1792.54 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1792.54 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1792.54 s
[opt-env-conf-test]
1792.54 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1792.54 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1792.54 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Setting.hs:427:5-6
1792.54 s
[opt-env-conf-test] @@ -424,11 +424,7 @@
1792.54 s
[opt-env-conf-test] name :: (HasCodec a) => String -> Builder a
1792.54 s
[opt-env-conf-test] name s =
1792.54 s
[opt-env-conf-test] mconcat
1792.54 s
[opt-env-conf-test] - [ option,
1792.54 s
[opt-env-conf-test] - long (toArgCase s),
1792.54 s
[opt-env-conf-test] - env (toEnvCase s),
1792.54 s
[opt-env-conf-test] - conf (toConfigCase s)
1792.54 s
[opt-env-conf-test] ]
1792.54 s
[opt-env-conf-test]
1792.54 s
[opt-env-conf-test] -- | Set the default value
1792.54 s
[opt-env-conf-test] --
1792.54 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Setting.hs:287:48-54
1792.54 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1792.54 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1792.54 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1792.54 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1792.54 s
[opt-env-conf-test] - BuildSetCompleter c -> s {settingCompleter = J u s t c }
1792.54 s
[opt-env-conf-test] + BuildSetCompleter c -> s {settingCompleter = No t h ing }
1792.54 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1792.54 s
[opt-env-conf-test]
1792.54 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1792.54 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1792.54 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1792.54 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1792.54 s
[opt-env-conf-test]
1792.54 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1792.54 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1792.54 s
[opt-env-conf-test] - BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1792.54 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1792.54 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1792.54 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1792.54 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1792.54 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1792.54 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1792.54 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1792.54 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1792.54 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1792.54 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1792.54 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1792.55 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1792.55 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1792.55 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1792.55 s
[opt-env-conf-test]
1792.55 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1792.55 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1792.55 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Setting.hs:284:55-70
1792.55 s
[opt-env-conf-test] @@ -281,7 +281,7 @@
1792.55 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1792.55 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1794.86 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1794.86 s
[opt-env-conf-test] - BuildSetDefault a shown -> s {settingDefaultValue = J u s t (a , s h o w n ) }
1794.95 s
[opt-env-conf-test] + BuildSetDefault a shown -> s {settingDefaultValue = N o t h i n g }
1794.96 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1794.96 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1794.96 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1794.96 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:276:47-51
1794.96 s
[opt-env-conf-test] @@ -273,7 +273,7 @@
1794.96 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1794.96 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1794.96 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1794.96 s
[opt-env-conf-test] - BuildTryArgument -> s {settingTryArgument = Tr u e}
1794.96 s
[opt-env-conf-test] + BuildTryArgument -> s {settingTryArgument = F a ls e}
1794.96 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1794.96 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1794.96 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1794.96 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Setting.hs:278:52-58
1794.96 s
[opt-env-conf-test] @@ -275,7 +275,7 @@
1794.96 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1794.96 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1794.96 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1794.96 s
[opt-env-conf-test] - BuildSetSwitchValue a -> s {settingSwitchValue = J u s t a }
1794.96 s
[opt-env-conf-test] + BuildSetSwitchValue a -> s {settingSwitchValue = No t h ing }
1794.96 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1794.96 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1794.96 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1794.96 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:416:43-48
1794.96 s
[opt-env-conf-test] @@ -413,7 +413,7 @@
1794.96 s
[opt-env-conf-test] let t =
1794.96 s
[opt-env-conf-test] ConfigValSetting
1794.96 s
[opt-env-conf-test] { configValSettingPath = k :| [],
1794.96 s
[opt-env-conf-test] - configValSettingAllowPrefix = F al s e,
1794.96 s
[opt-env-conf-test] + configValSettingAllowPrefix = T ru e,
1794.96 s
[opt-env-conf-test] configValSettingCodec = c
1794.96 s
[opt-env-conf-test] }
1794.96 s
[opt-env-conf-test] in Builder [BuildAddConf t]
1794.96 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:375:47-51
1794.96 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
1794.96 s
[opt-env-conf-test] --
1794.96 s
[opt-env-conf-test] -- Multiple 'env's will be tried in order.
1794.96 s
[opt-env-conf-test] env :: String -> Builder a
1794.96 s
[opt-env-conf-test] - env v = Builder [BuildAddEnv (EnvVarSetting v Tr u e)]
1794.96 s
[opt-env-conf-test] + env v = Builder [BuildAddEnv (EnvVarSetting v F a ls e)]
1794.96 s
[opt-env-conf-test]
1794.96 s
[opt-env-conf-test] -- | Like 'env' but ignores any 'subEnv', 'subEnv_', or 'subAll'.
1794.96 s
[opt-env-conf-test] unprefixedEnv :: String -> Builder a
1794.96 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1794.96 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1794.96 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1794.96 s
[opt-env-conf-test]
1794.96 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1794.96 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1794.96 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1794.96 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1794.97 s
[opt-env-conf-test] - BuildTryArgument -> s {settingTryArgument = True}
1794.97 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1794.97 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1794.97 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1794.97 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1794.97 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1794.97 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1794.97 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1794.97 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1794.97 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1794.97 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1794.97 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1794.97 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1794.97 s
[opt-env-conf-test]
1794.97 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1794.97 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1794.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1794.97 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1794.97 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1794.97 s
[opt-env-conf-test]
1794.97 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1794.97 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1794.97 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1794.97 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1794.97 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1794.97 s
[opt-env-conf-test] - BuildTryOption -> s {settingTryOption = True}
1794.97 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1794.97 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1794.97 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1794.97 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1794.97 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1794.97 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1794.97 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1794.97 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1794.97 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1794.97 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1794.97 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1794.97 s
[opt-env-conf-test]
1794.97 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1794.97 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1794.97 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Setting.hs:275:45-52
1794.97 s
[opt-env-conf-test] @@ -272,7 +272,7 @@
1794.97 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1794.97 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1794.97 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1794.97 s
[opt-env-conf-test] - BuildSetMetavar mv -> s {settingMetavar = J u s t m v }
1794.97 s
[opt-env-conf-test] + BuildSetMetavar mv -> s {settingMetavar = No t h in g }
1794.97 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1794.97 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1794.97 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1794.97 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Setting.hs:427:5-6
1794.97 s
[opt-env-conf-test] @@ -424,11 +424,10 @@
1794.97 s
[opt-env-conf-test] name :: (HasCodec a) => String -> Builder a
1794.97 s
[opt-env-conf-test] name s =
1794.97 s
[opt-env-conf-test] mconcat
1794.98 s
[opt-env-conf-test] - [ option,
1794.98 s
[opt-env-conf-test] long (toArgCase s),
1794.98 s
[opt-env-conf-test] env (toEnvCase s),
1794.98 s
[opt-env-conf-test] conf (toConfigCase s)
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test]
1794.98 s
[opt-env-conf-test] -- | Set the default value
1794.98 s
[opt-env-conf-test] --
1794.98 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:68:5-6
1794.98 s
[opt-env-conf-test] @@ -65,171 +65,170 @@
1794.98 s
[opt-env-conf-test] renderLintError :: LintError -> [[Chunk]]
1794.98 s
[opt-env-conf-test] renderLintError LintError {..} =
1794.98 s
[opt-env-conf-test] concat
1794.98 s
[opt-env-conf-test] [ [[fore red "Invalid Setting:"]],
1794.98 s
[opt-env-conf-test] case lintErrorMessage of
1794.98 s
[opt-env-conf-test] LintErrorUndocumented ->
1794.98 s
[opt-env-conf-test] [["missing ", functionChunk "help", "."]]
1794.98 s
[opt-env-conf-test] LintErrorEmptySetting ->
1794.98 s
[opt-env-conf-test] concat
1794.98 s
[opt-env-conf-test] [ [ [ "This ",
1794.98 s
[opt-env-conf-test] functionChunk "setting",
1794.98 s
[opt-env-conf-test] " parses nothing."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ],
1794.98 s
[opt-env-conf-test] [ [ "Add an ",
1794.98 s
[opt-env-conf-test] functionChunk "argument",
1794.98 s
[opt-env-conf-test] ", ",
1794.98 s
[opt-env-conf-test] functionChunk "switch",
1794.98 s
[opt-env-conf-test] ", ",
1794.98 s
[opt-env-conf-test] functionChunk "option",
1794.98 s
[opt-env-conf-test] ", ",
1794.98 s
[opt-env-conf-test] functionChunk "env",
1794.98 s
[opt-env-conf-test] ", ",
1794.98 s
[opt-env-conf-test] functionChunk "conf",
1794.98 s
[opt-env-conf-test] ", or ",
1794.98 s
[opt-env-conf-test] functionChunk "value",
1794.98 s
[opt-env-conf-test] "."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorDashInShort ->
1794.98 s
[opt-env-conf-test] [ [functionChunk "short", " may not contain a '-'."],
1794.98 s
[opt-env-conf-test] ["Found ", functionChunk "short", " '-'."]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorDashInLong s ->
1794.98 s
[opt-env-conf-test] [ [functionChunk "long", " may not start with a '-'."],
1794.98 s
[opt-env-conf-test] ["Found ", functionChunk "long", " ", chunk $ T.pack $ show $ NE.toList s, "."],
1794.98 s
[opt-env-conf-test] [ "Try ",
1794.98 s
[opt-env-conf-test] functionChunk "long",
1794.98 s
[opt-env-conf-test] " ",
1794.98 s
[opt-env-conf-test] chunk $
1794.98 s
[opt-env-conf-test] T.pack $
1794.98 s
[opt-env-conf-test] show $
1794.98 s
[opt-env-conf-test] let go = \case
1794.98 s
[opt-env-conf-test] [] -> []
1794.98 s
[opt-env-conf-test] '-' : cs -> go cs
1794.98 s
[opt-env-conf-test] c : cs -> c : cs
1794.98 s
[opt-env-conf-test] in go $ NE.toList s,
1794.98 s
[opt-env-conf-test] " instead."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorNoReaderForArgument ->
1794.98 s
[opt-env-conf-test] [ [ functionChunk "argument",
1794.98 s
[opt-env-conf-test] " has no ",
1794.98 s
[opt-env-conf-test] functionChunk "reader",
1794.98 s
[opt-env-conf-test] "."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorNoMetavarForArgument ->
1794.98 s
[opt-env-conf-test] [ [ functionChunk "argument",
1794.98 s
[opt-env-conf-test] " has no ",
1794.98 s
[opt-env-conf-test] functionChunk "metavar",
1794.98 s
[opt-env-conf-test] "."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorNoReaderForOption ->
1794.98 s
[opt-env-conf-test] [ [ functionChunk "option",
1794.98 s
[opt-env-conf-test] " or ",
1794.98 s
[opt-env-conf-test] functionChunk "name",
1794.98 s
[opt-env-conf-test] " has no ",
1794.98 s
[opt-env-conf-test] functionChunk "reader",
1794.98 s
[opt-env-conf-test] "."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorNoDashedForOption ->
1794.98 s
[opt-env-conf-test] [ [ functionChunk "option",
1794.98 s
[opt-env-conf-test] " has no ",
1794.98 s
[opt-env-conf-test] functionChunk "long",
1794.98 s
[opt-env-conf-test] " or ",
1794.98 s
[opt-env-conf-test] functionChunk "short",
1794.98 s
[opt-env-conf-test] "."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorNoMetavarForOption ->
1794.98 s
[opt-env-conf-test] [ [ functionChunk "option",
1794.98 s
[opt-env-conf-test] " or ",
1794.98 s
[opt-env-conf-test] functionChunk "name",
1794.98 s
[opt-env-conf-test] " has no ",
1794.98 s
[opt-env-conf-test] functionChunk "metavar",
1794.98 s
[opt-env-conf-test] "."
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] ]
1794.98 s
[opt-env-conf-test] LintErrorNoDashedForSwitch ->
1794.98 s
[opt-env-conf-test] [ [ functionChunk "switch",
1794.98 s
[opt-env-conf-test] " has no ",
1794.99 s
[opt-env-conf-test] functionChunk "long",
1794.99 s
[opt-env-conf-test] " or ",
1794.99 s
[opt-env-conf-test] functionChunk "short",
1794.99 s
[opt-env-conf-test] "."
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] LintErrorNoOptionOrSwitchForDashed ->
1794.99 s
[opt-env-conf-test] [ [ functionChunk "long",
1794.99 s
[opt-env-conf-test] " or ",
1794.99 s
[opt-env-conf-test] functionChunk "short",
1794.99 s
[opt-env-conf-test] " has no ",
1794.99 s
[opt-env-conf-test] functionChunk "option",
1794.99 s
[opt-env-conf-test] " or ",
1794.99 s
[opt-env-conf-test] functionChunk "switch",
1794.99 s
[opt-env-conf-test] "."
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] LintErrorNoReaderForEnvVar ->
1794.99 s
[opt-env-conf-test] [ [ functionChunk "env",
1794.99 s
[opt-env-conf-test] " or ",
1794.99 s
[opt-env-conf-test] functionChunk "name",
1794.99 s
[opt-env-conf-test] " has no ",
1794.99 s
[opt-env-conf-test] functionChunk "reader",
1794.99 s
[opt-env-conf-test] "."
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] LintErrorNoMetavarForEnvVar ->
1794.99 s
[opt-env-conf-test] [ [ functionChunk "env",
1794.99 s
[opt-env-conf-test] " or ",
1794.99 s
[opt-env-conf-test] functionChunk "name",
1794.99 s
[opt-env-conf-test] " has no ",
1794.99 s
[opt-env-conf-test] functionChunk "metavar",
1794.99 s
[opt-env-conf-test] "."
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] ]
1794.99 s
[opt-env-conf-test] LintErrorNoCommands ->
1794.99 s
[opt-env-conf-test] [ [ functionChunk "commands",
1799.45 s
[opt-env-conf-test] " was called with an empty list."
1799.45 s
[opt-env-conf-test] ]
1799.45 s
[opt-env-conf-test] ]
1799.45 s
[opt-env-conf-test] LintErrorUnknownDefaultCommand c ->
1799.45 s
[opt-env-conf-test] [ [ functionChunk "defaultCommand",
1799.45 s
[opt-env-conf-test] " was called with an unknown command: ",
1799.45 s
[opt-env-conf-test] commandChunk c
1799.45 s
[opt-env-conf-test] ]
1799.45 s
[opt-env-conf-test] ]
1799.45 s
[opt-env-conf-test] LintErrorUnreadableExample e ->
1799.45 s
[opt-env-conf-test] [ [functionChunk "example", " was called with an example that none of the ", functionChunk "reader", "s succeed in reading."],
1799.45 s
[opt-env-conf-test] ["Example: ", chunk $ T.pack e]
1799.45 s
[opt-env-conf-test] ]
1799.45 s
[opt-env-conf-test] LintErrorConfigWithoutLoad ->
1799.45 s
[opt-env-conf-test] [ [ functionChunk "conf",
1799.45 s
[opt-env-conf-test] " or ",
1799.45 s
[opt-env-conf-test] functionChunk "name",
1799.45 s
[opt-env-conf-test] " was called with no way to load configuration."
1799.45 s
[opt-env-conf-test] ],
1799.45 s
[opt-env-conf-test] [ "You can load configuration with ",
1799.45 s
[opt-env-conf-test] functionChunk "withConfig",
1799.45 s
[opt-env-conf-test] ", or explicitly not load any configuration with ",
1799.45 s
[opt-env-conf-test] functionChunk "withoutConfig",
1799.45 s
[opt-env-conf-test] "."
1799.45 s
[opt-env-conf-test] ]
1799.46 s
[opt-env-conf-test] ]
1799.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1799.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1799.46 s
[opt-env-conf-test] " or ",
1799.46 s
[opt-env-conf-test] functionChunk "some",
1799.46 s
[opt-env-conf-test] " was called with a parser that may succeed without consuming anything."
1799.46 s
[opt-env-conf-test] ],
1799.46 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1799.46 s
[opt-env-conf-test] ],
1799.46 s
[opt-env-conf-test] - maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1799.46 s
[opt-env-conf-test] ]
1799.46 s
[opt-env-conf-test]
1799.46 s
[opt-env-conf-test] lintParser :: Parser a -> Maybe (NonEmpty LintError)
1799.46 s
[opt-env-conf-test] lintParser =
1799.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1799.46 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1799.46 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1799.46 s
[opt-env-conf-test]
1799.46 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1799.46 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1799.46 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1799.46 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1799.46 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1799.46 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1799.46 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1799.46 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1799.46 s
[opt-env-conf-test] - BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1799.46 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1799.46 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1799.46 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1799.46 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1799.46 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1799.46 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1799.46 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1799.46 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1799.46 s
[opt-env-conf-test]
1799.46 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1799.46 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1799.46 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:397:43-47
1799.46 s
[opt-env-conf-test] @@ -394,7 +394,7 @@
1799.46 s
[opt-env-conf-test] let t =
1799.46 s
[opt-env-conf-test] ConfigValSetting
1799.46 s
[opt-env-conf-test] { configValSettingPath = k :| [],
1799.46 s
[opt-env-conf-test] - configValSettingAllowPrefix = Tr u e,
1799.46 s
[opt-env-conf-test] + configValSettingAllowPrefix = F a ls e,
1799.46 s
[opt-env-conf-test] configValSettingCodec = c
1799.46 s
[opt-env-conf-test] }
1799.46 s
[opt-env-conf-test] in Builder [BuildAddConf t]
1799.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1799.46 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1799.46 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1799.46 s
[opt-env-conf-test]
1799.46 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1799.46 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1799.46 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1799.46 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1799.46 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1799.46 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1799.46 s
[opt-env-conf-test] - BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1799.46 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1799.46 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1799.46 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1799.46 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1799.46 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1799.46 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1799.46 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1799.46 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1799.46 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1799.46 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1799.46 s
[opt-env-conf-test]
1799.46 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1799.46 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1799.46 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Lint.hs:224:13-14
1799.46 s
[opt-env-conf-test] @@ -221,11 +221,10 @@
1799.46 s
[opt-env-conf-test] ]
1799.46 s
[opt-env-conf-test] ]
1799.46 s
[opt-env-conf-test] LintErrorManyInfinite ->
1799.46 s
[opt-env-conf-test] [ [ functionChunk "many",
1799.46 s
[opt-env-conf-test] " or ",
1799.46 s
[opt-env-conf-test] functionChunk "some",
1799.46 s
[opt-env-conf-test] - " was called with a parser that may succeed without consuming anything."
1799.46 s
[opt-env-conf-test] ],
1799.46 s
[opt-env-conf-test] ["This is not allowed because the parser would run infinitely."]
1799.46 s
[opt-env-conf-test] ],
1799.46 s
[opt-env-conf-test] maybe [] (pure . ("Defined at: " :) . pure . srcLocChunk) lintErrorSrcLoc
1799.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:203:23-25
1799.46 s
[opt-env-conf-test] @@ -200,7 +200,7 @@
1799.46 s
[opt-env-conf-test] let Setting _ _ _ _ _ _ _ _ _ _ _ _ _ _ = undefined
1799.46 s
[opt-env-conf-test] in showParen True $
1799.46 s
[opt-env-conf-test] showString "Setting "
1799.46 s
[opt-env-conf-test] - . showsPrec 1 1 settingDasheds
1799.46 s
[opt-env-conf-test] + . showsPrec 0 settingDasheds
1799.46 s
[opt-env-conf-test] . showString " "
1799.46 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1799.46 s
[opt-env-conf-test] . showString " "
1799.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:234:17-19
1799.46 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1799.46 s
[opt-env-conf-test] showConfigValSettingABit :: ConfigValSetting a -> ShowS
1799.46 s
[opt-env-conf-test] showConfigValSettingABit ConfigValSetting {..} =
1799.47 s
[opt-env-conf-test] showString "ConfigValSetting "
1799.47 s
[opt-env-conf-test] - . showsPrec 1 1 configValSettingPath
1799.47 s
[opt-env-conf-test] + . showsPrec 1 configValSettingPath
1799.47 s
[opt-env-conf-test] . showString " "
1799.47 s
[opt-env-conf-test] . showString (showCodecABit configValSettingCodec)
1799.47 s
[opt-env-conf-test]
1799.47 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:234:17-19
1799.47 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1799.47 s
[opt-env-conf-test] showConfigValSettingABit :: ConfigValSetting a -> ShowS
1799.47 s
[opt-env-conf-test] showConfigValSettingABit ConfigValSetting {..} =
1799.47 s
[opt-env-conf-test] showString "ConfigValSetting "
1799.47 s
[opt-env-conf-test] - . showsPrec 1 1 configValSettingPath
1799.47 s
[opt-env-conf-test] + . showsPrec 0 configValSettingPath
1799.47 s
[opt-env-conf-test] . showString " "
1799.47 s
[opt-env-conf-test] . showString (showCodecABit configValSettingCodec)
1799.47 s
[opt-env-conf-test]
1799.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1799.47 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1799.47 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1799.47 s
[opt-env-conf-test]
1799.47 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1799.47 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1799.47 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1799.47 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1799.47 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1799.47 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1799.47 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1799.47 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1799.47 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1799.47 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1799.47 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1799.47 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1799.47 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1799.47 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1799.47 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1799.47 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1799.47 s
[opt-env-conf-test] - BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1799.47 s
[opt-env-conf-test]
1799.47 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1799.47 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1800.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1800.67 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1800.75 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1800.75 s
[opt-env-conf-test]
1800.75 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1800.75 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1800.75 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1800.75 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1800.75 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1800.75 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1800.75 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1800.75 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1800.75 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1800.75 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1800.75 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1800.75 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1800.75 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1800.75 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1800.75 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1800.75 s
[opt-env-conf-test] - BuildSetCompleter c -> s {settingCompleter = Just c}
1800.75 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1800.75 s
[opt-env-conf-test]
1800.75 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1800.75 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1800.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1800.75 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1800.75 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1800.75 s
[opt-env-conf-test]
1800.75 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1800.75 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1800.75 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1800.75 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1800.75 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1800.75 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1800.75 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1800.75 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1800.75 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1800.75 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1800.75 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1800.75 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1800.75 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1800.75 s
[opt-env-conf-test] - BuildAddExample e -> s {settingExamples = e : settingExamples s}
1800.75 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1800.75 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1800.75 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1800.75 s
[opt-env-conf-test]
1800.75 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1800.75 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1800.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1800.75 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1800.75 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1800.75 s
[opt-env-conf-test]
1800.75 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1800.75 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1800.75 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1800.75 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1800.75 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1800.76 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1800.76 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1800.76 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1800.76 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1800.76 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1800.76 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1800.76 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1800.76 s
[opt-env-conf-test] - BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1800.76 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1800.76 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1800.76 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1800.76 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1800.76 s
[opt-env-conf-test]
1800.76 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1800.76 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1800.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1800.76 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1800.76 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1800.76 s
[opt-env-conf-test]
1800.76 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1800.76 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1800.76 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1800.76 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1800.76 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1800.76 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1800.76 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1800.76 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1800.76 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1800.76 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1800.76 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1800.76 s
[opt-env-conf-test] - BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1800.76 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1800.76 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1800.76 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1800.76 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1800.76 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1800.76 s
[opt-env-conf-test]
1800.76 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1800.76 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1800.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1800.76 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1800.76 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1800.76 s
[opt-env-conf-test]
1800.76 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1800.76 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1800.76 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1800.76 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1800.76 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1800.76 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1800.76 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1800.76 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1800.76 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1800.76 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1800.76 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1800.76 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1800.76 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1800.76 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1800.76 s
[opt-env-conf-test] - BuildSetHidden -> s {settingHidden = True}
1800.76 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1800.76 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1800.76 s
[opt-env-conf-test]
1800.76 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1800.76 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1800.76 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:207:23-25
1800.76 s
[opt-env-conf-test] @@ -204,7 +204,7 @@
1800.76 s
[opt-env-conf-test] . showString " "
1800.76 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1800.76 s
[opt-env-conf-test] . showString " "
1800.76 s
[opt-env-conf-test] - . showsPrec 11 settingTryArgument
1800.76 s
[opt-env-conf-test] + . showsPrec - 11 settingTryArgument
1800.76 s
[opt-env-conf-test] . showString " "
1800.76 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1800.76 s
[opt-env-conf-test] . showString " "
1800.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1800.76 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1800.76 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1800.76 s
[opt-env-conf-test]
1800.76 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1800.76 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1800.76 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1800.76 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1800.76 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1800.76 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1800.76 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1803.87 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1803.87 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1803.87 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1803.87 s
[opt-env-conf-test] - BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1803.87 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1803.87 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1803.87 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1803.87 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1803.88 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1803.88 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1803.88 s
[opt-env-conf-test]
1803.88 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1803.88 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1803.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:207:26-44
1803.88 s
[opt-env-conf-test] @@ -204,7 +204,7 @@
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] - . showsPrec 11 settingTryArgument
1803.88 s
[opt-env-conf-test] + . showsPrec 11 n o t ( settingTryArgument )
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:207:23-25
1803.88 s
[opt-env-conf-test] @@ -204,7 +204,7 @@
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] - . showsPrec 1 1 settingTryArgument
1803.88 s
[opt-env-conf-test] + . showsPrec 1 settingTryArgument
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:211:26-42
1803.88 s
[opt-env-conf-test] @@ -208,7 +208,7 @@
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] - . showsPrec 11 settingTryOption
1803.88 s
[opt-env-conf-test] + . showsPrec 11 n o t ( settingTryOption )
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showsPrec 11 settingEnvVars
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:219:23-25
1803.88 s
[opt-env-conf-test] @@ -216,7 +216,7 @@
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingDefaultValue
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] - . showsPrec 1 1 settingExamples
1803.88 s
[opt-env-conf-test] + . showsPrec 0 settingExamples
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showsPrec 11 settingHidden
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:219:23-25
1803.88 s
[opt-env-conf-test] @@ -216,7 +216,7 @@
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingDefaultValue
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] - . showsPrec 1 1 settingExamples
1803.88 s
[opt-env-conf-test] + . showsPrec 1 settingExamples
1803.88 s
[opt-env-conf-test] . showString " "
1803.88 s
[opt-env-conf-test] . showsPrec 11 settingHidden
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:213:23-25
1803.89 s
[opt-env-conf-test] @@ -210,7 +210,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showsPrec 11 settingTryOption
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 11 settingEnvVars
1803.89 s
[opt-env-conf-test] + . showsPrec - 11 settingEnvVars
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (showNonEmptyWith showConfigValSettingABit) settingConfigVals
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:213:23-25
1803.89 s
[opt-env-conf-test] @@ -210,7 +210,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showsPrec 11 settingTryOption
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 1 1 settingEnvVars
1803.89 s
[opt-env-conf-test] + . showsPrec 1 settingEnvVars
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (showNonEmptyWith showConfigValSettingABit) settingConfigVals
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:219:23-25
1803.89 s
[opt-env-conf-test] @@ -216,7 +216,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingDefaultValue
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 11 settingExamples
1803.89 s
[opt-env-conf-test] + . showsPrec - 11 settingExamples
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showsPrec 11 settingHidden
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:213:23-25
1803.89 s
[opt-env-conf-test] @@ -210,7 +210,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showsPrec 11 settingTryOption
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 1 1 settingEnvVars
1803.89 s
[opt-env-conf-test] + . showsPrec 0 settingEnvVars
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (showNonEmptyWith showConfigValSettingABit) settingConfigVals
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:211:26-42
1803.89 s
[opt-env-conf-test] @@ -208,7 +208,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 11 se tt ingT ryOption
1803.89 s
[opt-env-conf-test] + . showsPrec 11 F a l se
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showsPrec 11 settingEnvVars
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:211:26-42
1803.89 s
[opt-env-conf-test] @@ -208,7 +208,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 11 s e tt in g Tr y Opti on
1803.89 s
[opt-env-conf-test] + . showsPrec 11 Tr ue
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showsPrec 11 settingEnvVars
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:211:23-25
1803.89 s
[opt-env-conf-test] @@ -208,7 +208,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 11 settingTryOption
1803.89 s
[opt-env-conf-test] + . showsPrec - 11 settingTryOption
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showsPrec 11 settingEnvVars
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:211:23-25
1803.89 s
[opt-env-conf-test] @@ -208,7 +208,7 @@
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.89 s
[opt-env-conf-test] . showString " "
1803.89 s
[opt-env-conf-test] - . showsPrec 1 1 settingTryOption
1803.90 s
[opt-env-conf-test] + . showsPrec 1 settingTryOption
1803.90 s
[opt-env-conf-test] . showString " "
1803.90 s
[opt-env-conf-test] . showsPrec 11 settingEnvVars
1803.90 s
[opt-env-conf-test] . showString " "
1803.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:211:23-25
1803.90 s
[opt-env-conf-test] @@ -208,7 +208,7 @@
1803.90 s
[opt-env-conf-test] . showString " "
1803.90 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1803.90 s
[opt-env-conf-test] . showString " "
1803.90 s
[opt-env-conf-test] - . showsPrec 1 1 settingTryOption
1803.90 s
[opt-env-conf-test] + . showsPrec 0 settingTryOption
1803.90 s
[opt-env-conf-test] . showString " "
1803.90 s
[opt-env-conf-test] . showsPrec 11 settingEnvVars
1803.90 s
[opt-env-conf-test] . showString " "
1803.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Main.hs:262:11-12
1803.90 s
[opt-env-conf-test] @@ -259,12 +259,11 @@
1803.90 s
[opt-env-conf-test] ],
1803.90 s
[opt-env-conf-test] ZshCompletionScript
1803.90 s
[opt-env-conf-test] <$> setting
1803.90 s
[opt-env-conf-test] - [ option,
1803.90 s
[opt-env-conf-test] reader $ maybeReader parseAbsFile,
1803.90 s
[opt-env-conf-test] long "zsh-completion-script",
1803.90 s
[opt-env-conf-test] hidden,
1803.90 s
[opt-env-conf-test] help "Render the zsh completion script"
1803.90 s
[opt-env-conf-test] ],
1803.90 s
[opt-env-conf-test] ZshCompletionScript
1803.90 s
[opt-env-conf-test] <$> setting
1803.90 s
[opt-env-conf-test] [ option,
1803.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1803.90 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1803.90 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1803.90 s
[opt-env-conf-test]
1809.42 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1809.44 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1809.44 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1809.44 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1809.44 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1809.44 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1809.44 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1809.44 s
[opt-env-conf-test] BuildAddReader r -> s {settingReaders = r : settingReaders s}
1809.44 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1809.44 s
[opt-env-conf-test] - BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1809.44 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1809.44 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1809.44 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1809.44 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1809.44 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1809.44 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1809.44 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1809.44 s
[opt-env-conf-test]
1809.44 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1809.44 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1809.44 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:273:30-113
1809.44 s
[opt-env-conf-test] @@ -270,22 +270,21 @@
1809.44 s
[opt-env-conf-test] applyBuildInstructions is s = foldr applyBuildInstruction s is
1809.44 s
[opt-env-conf-test]
1809.44 s
[opt-env-conf-test] applyBuildInstruction :: BuildInstruction a -> Setting a -> Setting a
1809.44 s
[opt-env-conf-test] applyBuildInstruction bi s = case bi of
1809.44 s
[opt-env-conf-test] BuildAddHelp h -> s {settingHelp = Just $ maybe h (<> h) (settingHelp s)}
1809.44 s
[opt-env-conf-test] BuildSetMetavar mv -> s {settingMetavar = Just mv}
1809.44 s
[opt-env-conf-test] BuildTryArgument -> s {settingTryArgument = True}
1809.44 s
[opt-env-conf-test] BuildTryOption -> s {settingTryOption = True}
1809.44 s
[opt-env-conf-test] BuildSetSwitchValue a -> s {settingSwitchValue = Just a}
1809.44 s
[opt-env-conf-test] - BuildAddReader r -> s {settingReaders = r : settingReaders s}
1809.44 s
[opt-env-conf-test] BuildAddLong l -> s {settingDasheds = DashedLong l : settingDasheds s}
1809.44 s
[opt-env-conf-test] BuildAddShort c -> s {settingDasheds = DashedShort c : settingDasheds s}
1809.44 s
[opt-env-conf-test] BuildAddEnv v -> s {settingEnvVars = Just $ maybe (v :| []) (v <|) $ settingEnvVars s}
1809.44 s
[opt-env-conf-test] BuildAddConf t -> s {settingConfigVals = Just $ maybe (t :| []) (t <|) $ settingConfigVals s}
1809.44 s
[opt-env-conf-test] BuildSetDefault a shown -> s {settingDefaultValue = Just (a, shown)}
1809.44 s
[opt-env-conf-test] BuildAddExample e -> s {settingExamples = e : settingExamples s}
1809.44 s
[opt-env-conf-test] BuildSetHidden -> s {settingHidden = True}
1809.44 s
[opt-env-conf-test] BuildSetCompleter c -> s {settingCompleter = Just c}
1809.44 s
[opt-env-conf-test] BuildAddRequiredCapability c -> s {settingRequiredCapabilities = Set.insert c (settingRequiredCapabilities s)}
1809.44 s
[opt-env-conf-test]
1809.44 s
[opt-env-conf-test] instance Semigroup (Builder f) where
1809.44 s
[opt-env-conf-test] (<>) (Builder f1) (Builder f2) = Builder (f1 <> f2)
1809.44 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:201:17-21
1809.44 s
[opt-env-conf-test] @@ -198,7 +198,7 @@
1809.44 s
[opt-env-conf-test] showSettingABit :: Setting a -> ShowS
1809.44 s
[opt-env-conf-test] showSettingABit Setting {..} =
1809.44 s
[opt-env-conf-test] let Setting _ _ _ _ _ _ _ _ _ _ _ _ _ _ = undefined
1809.44 s
[opt-env-conf-test] - in showParen Tr u e $
1809.44 s
[opt-env-conf-test] + in showParen F a ls e $
1809.45 s
[opt-env-conf-test] showString "Setting "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingDasheds
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:221:26-39
1809.45 s
[opt-env-conf-test] @@ -218,7 +218,7 @@
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingExamples
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] - . showsPrec 11 s e tti ngHi dd e n
1809.45 s
[opt-env-conf-test] + . showsPrec 11 F a l s e
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:221:26-39
1809.45 s
[opt-env-conf-test] @@ -218,7 +218,7 @@
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingExamples
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] - . showsPrec 11 settingHidden
1809.45 s
[opt-env-conf-test] + . showsPrec 11 n o t ( settingHidden )
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:223:23-25
1809.45 s
[opt-env-conf-test] @@ -220,7 +220,7 @@
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingHidden
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] - . showsPrec 1 1 settingMetavar
1809.45 s
[opt-env-conf-test] + . showsPrec 0 settingMetavar
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingHelp
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:223:23-25
1809.45 s
[opt-env-conf-test] @@ -220,7 +220,7 @@
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingHidden
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] - . showsPrec 1 1 settingMetavar
1809.45 s
[opt-env-conf-test] + . showsPrec 1 settingMetavar
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingHelp
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:240:41-45
1809.45 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1809.45 s
[opt-env-conf-test]
1809.45 s
[opt-env-conf-test] showMaybeWith :: (a -> ShowS) -> Maybe a -> ShowS
1809.45 s
[opt-env-conf-test] showMaybeWith _ Nothing = showString "Nothing"
1809.45 s
[opt-env-conf-test] - showMaybeWith func (Just a) = showParen Tr u e $ showString "Just " . func a
1809.45 s
[opt-env-conf-test] + showMaybeWith func (Just a) = showParen F a ls e $ showString "Just " . func a
1809.45 s
[opt-env-conf-test]
1809.45 s
[opt-env-conf-test] showNonEmptyWith :: (a -> ShowS) -> NonEmpty a -> ShowS
1809.45 s
[opt-env-conf-test] showNonEmptyWith func (a :| as) =
1809.45 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:225:23-25
1809.45 s
[opt-env-conf-test] @@ -222,7 +222,7 @@
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] - . showsPrec 1 1 settingHelp
1809.45 s
[opt-env-conf-test] + . showsPrec 0 settingHelp
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingCompleter
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:221:26-39
1809.45 s
[opt-env-conf-test] @@ -218,7 +218,7 @@
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] . showsPrec 11 settingExamples
1809.45 s
[opt-env-conf-test] . showString " "
1809.45 s
[opt-env-conf-test] - . showsPrec 11 s e ttin gHidden
1809.45 s
[opt-env-conf-test] + . showsPrec 11 T ru e
1809.45 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:207:26-44
1809.46 s
[opt-env-conf-test] @@ -204,7 +204,7 @@
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] - . showsPrec 11 se tt ingTr yArgument
1809.46 s
[opt-env-conf-test] + . showsPrec 11 F a l se
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:221:23-25
1809.46 s
[opt-env-conf-test] @@ -218,7 +218,7 @@
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showsPrec 11 settingExamples
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] - . showsPrec 11 settingHidden
1809.46 s
[opt-env-conf-test] + . showsPrec - 11 settingHidden
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:234:17-19
1809.46 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
1809.46 s
[opt-env-conf-test] showConfigValSettingABit :: ConfigValSetting a -> ShowS
1809.46 s
[opt-env-conf-test] showConfigValSettingABit ConfigValSetting {..} =
1809.46 s
[opt-env-conf-test] showString "ConfigValSetting "
1809.46 s
[opt-env-conf-test] - . showsPrec 11 configValSettingPath
1809.46 s
[opt-env-conf-test] + . showsPrec - 11 configValSettingPath
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showString (showCodecABit configValSettingCodec)
1809.46 s
[opt-env-conf-test]
1809.46 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:223:23-25
1809.46 s
[opt-env-conf-test] @@ -220,7 +220,7 @@
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showsPrec 11 settingHidden
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] - . showsPrec 11 settingMetavar
1809.46 s
[opt-env-conf-test] + . showsPrec - 11 settingMetavar
1809.46 s
[opt-env-conf-test] . showString " "
1809.46 s
[opt-env-conf-test] . showsPrec 11 settingHelp
1809.46 s
[opt-env-conf-test] . showString " "
1812.42 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:225:23-25
1812.42 s
[opt-env-conf-test] @@ -222,7 +222,7 @@
1812.42 s
[opt-env-conf-test] . showString " "
1812.42 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1812.42 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] - . showsPrec 1 1 settingHelp
1812.43 s
[opt-env-conf-test] + . showsPrec 1 settingHelp
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingCompleter
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:225:23-25
1812.43 s
[opt-env-conf-test] @@ -222,7 +222,7 @@
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] - . showsPrec 11 settingHelp
1812.43 s
[opt-env-conf-test] + . showsPrec - 11 settingHelp
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingCompleter
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:221:23-25
1812.43 s
[opt-env-conf-test] @@ -218,7 +218,7 @@
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showsPrec 11 settingExamples
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] - . showsPrec 1 1 settingHidden
1812.43 s
[opt-env-conf-test] + . showsPrec 1 settingHidden
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:221:23-25
1812.43 s
[opt-env-conf-test] @@ -218,7 +218,7 @@
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showsPrec 11 settingExamples
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] - . showsPrec 1 1 settingHidden
1812.43 s
[opt-env-conf-test] + . showsPrec 0 settingHidden
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showsPrec 11 settingMetavar
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:203:23-25
1812.43 s
[opt-env-conf-test] @@ -200,7 +200,7 @@
1812.43 s
[opt-env-conf-test] let Setting _ _ _ _ _ _ _ _ _ _ _ _ _ _ = undefined
1812.43 s
[opt-env-conf-test] in showParen True $
1812.43 s
[opt-env-conf-test] showString "Setting "
1812.43 s
[opt-env-conf-test] - . showsPrec 11 settingDasheds
1812.43 s
[opt-env-conf-test] + . showsPrec - 11 settingDasheds
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:207:23-25
1812.43 s
[opt-env-conf-test] @@ -204,7 +204,7 @@
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] - . showsPrec 1 1 settingTryArgument
1812.43 s
[opt-env-conf-test] + . showsPrec 0 settingTryArgument
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:203:23-25
1812.43 s
[opt-env-conf-test] @@ -200,7 +200,7 @@
1812.43 s
[opt-env-conf-test] let Setting _ _ _ _ _ _ _ _ _ _ _ _ _ _ = undefined
1812.43 s
[opt-env-conf-test] in showParen True $
1812.43 s
[opt-env-conf-test] showString "Setting "
1812.43 s
[opt-env-conf-test] - . showsPrec 1 1 settingDasheds
1812.43 s
[opt-env-conf-test] + . showsPrec 1 settingDasheds
1812.43 s
[opt-env-conf-test] . showString " "
1812.43 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1812.43 s
[opt-env-conf-test] . showString " "
1812.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:207:26-44
1812.44 s
[opt-env-conf-test] @@ -204,7 +204,7 @@
1812.44 s
[opt-env-conf-test] . showString " "
1812.44 s
[opt-env-conf-test] . showListWith (\_ -> showString "_") settingReaders
1812.44 s
[opt-env-conf-test] . showString " "
1812.44 s
[opt-env-conf-test] - . showsPrec 11 s e tt ing T ry A r g u m e n t
1812.44 s
[opt-env-conf-test] + . showsPrec 11 T r u e
1812.44 s
[opt-env-conf-test] . showString " "
1812.44 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingSwitchValue
1812.44 s
[opt-env-conf-test] . showString " "
1812.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:165:6-35
1812.44 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
1812.44 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
1812.44 s
[opt-env-conf-test] - if c o nf ig V alSetti ngAllow P r e fi x c
1812.44 s
[opt-env-conf-test] + if T r u e
1812.44 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
1812.44 s
[opt-env-conf-test] else c
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:148:6-32
1812.44 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1812.44 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1812.44 s
[opt-env-conf-test] - if e n vV arS etting Al l owP r efi x e
1812.44 s
[opt-env-conf-test] + if T r u e
1812.44 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
1812.44 s
[opt-env-conf-test] else e
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:165:6-35
1812.44 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
1812.44 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
1812.44 s
[opt-env-conf-test] - if c o nf igV a l Se tti ng A l l owP r e fi x c
1812.44 s
[opt-env-conf-test] + if F a l s e
1812.44 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
1812.44 s
[opt-env-conf-test] else c
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
1812.44 s
[opt-env-conf-test] @@ -170,9 +170,8 @@
1812.44 s
[opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
1812.44 s
[opt-env-conf-test] where
1812.44 s
[opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
1812.44 s
[opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
1812.44 s
[opt-env-conf-test] Nothing -> (f <> suffix) :| []
1812.44 s
[opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
1812.44 s
[opt-env-conf-test] emptySetting :: Setting a
1812.44 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:183:28-33
1812.44 s
[opt-env-conf-test] @@ -180,7 +180,7 @@
1812.44 s
[opt-env-conf-test] Setting
1812.44 s
[opt-env-conf-test] { settingDasheds = [],
1812.44 s
[opt-env-conf-test] settingReaders = [],
1812.44 s
[opt-env-conf-test] - settingTryArgument = F al s e,
1812.44 s
[opt-env-conf-test] + settingTryArgument = T ru e,
1812.44 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1812.44 s
[opt-env-conf-test] settingTryOption = False,
1812.44 s
[opt-env-conf-test] settingEnvVars = Nothing,
1812.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:148:6-32
1812.44 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1812.44 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1812.44 s
[opt-env-conf-test] - if e n v V a r S etting A l l o wPr efi x e
1812.44 s
[opt-env-conf-test] + if F a l s e
1812.44 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
1812.44 s
[opt-env-conf-test] else e
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:165:6-35
1812.44 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
1812.44 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
1812.44 s
[opt-env-conf-test] - if configValSettingAllowPrefix c
1812.44 s
[opt-env-conf-test] + if n o t ( configValSettingAllowPrefix c )
1812.44 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
1812.44 s
[opt-env-conf-test] else c
1812.44 s
[opt-env-conf-test]
1812.44 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:185:26-31
1812.44 s
[opt-env-conf-test] @@ -182,7 +182,7 @@
1812.44 s
[opt-env-conf-test] settingReaders = [],
1812.44 s
[opt-env-conf-test] settingTryArgument = False,
1812.44 s
[opt-env-conf-test] settingSwitchValue = Nothing,
1812.44 s
[opt-env-conf-test] - settingTryOption = F al s e,
1812.44 s
[opt-env-conf-test] + settingTryOption = T ru e,
1812.44 s
[opt-env-conf-test] settingEnvVars = Nothing,
1812.44 s
[opt-env-conf-test] settingConfigVals = Nothing,
1812.44 s
[opt-env-conf-test] settingMetavar = Nothing,
1812.44 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:229:23-25
1812.44 s
[opt-env-conf-test] @@ -226,7 +226,7 @@
1812.44 s
[opt-env-conf-test] . showString " "
1812.44 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingCompleter
1812.44 s
[opt-env-conf-test] . showString " "
1812.45 s
[opt-env-conf-test] - . showsPrec 1 1 settingRequiredCapabilities
1812.45 s
[opt-env-conf-test] + . showsPrec 1 settingRequiredCapabilities
1812.45 s
[opt-env-conf-test]
1812.45 s
[opt-env-conf-test] showConfigValSettingABit :: ConfigValSetting a -> ShowS
1812.45 s
[opt-env-conf-test] showConfigValSettingABit ConfigValSetting {..} =
1812.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
1812.45 s
[opt-env-conf-test] @@ -170,9 +170,8 @@
1816.54 s
[opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
1816.60 s
[opt-env-conf-test] where
1816.60 s
[opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
1816.60 s
[opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
1816.60 s
[opt-env-conf-test] - Nothing -> (f <> suffix) :| []
1816.60 s
[opt-env-conf-test] Just ne -> f NE.<| suffixPath ne
1816.60 s
[opt-env-conf-test]
1816.60 s
[opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
1816.60 s
[opt-env-conf-test] emptySetting :: Setting a
1816.60 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:229:23-25
1816.60 s
[opt-env-conf-test] @@ -226,7 +226,7 @@
1816.60 s
[opt-env-conf-test] . showString " "
1816.60 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingCompleter
1816.60 s
[opt-env-conf-test] . showString " "
1816.60 s
[opt-env-conf-test] - . showsPrec 11 settingRequiredCapabilities
1816.60 s
[opt-env-conf-test] + . showsPrec - 11 settingRequiredCapabilities
1816.61 s
[opt-env-conf-test]
1816.61 s
[opt-env-conf-test] showConfigValSettingABit :: ConfigValSetting a -> ShowS
1816.61 s
[opt-env-conf-test] showConfigValSettingABit ConfigValSetting {..} =
1816.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:229:23-25
1816.61 s
[opt-env-conf-test] @@ -226,7 +226,7 @@
1816.61 s
[opt-env-conf-test] . showString " "
1816.61 s
[opt-env-conf-test] . showMaybeWith (\_ -> showString "_") settingCompleter
1816.61 s
[opt-env-conf-test] . showString " "
1816.61 s
[opt-env-conf-test] - . showsPrec 1 1 settingRequiredCapabilities
1816.61 s
[opt-env-conf-test] + . showsPrec 0 settingRequiredCapabilities
1816.61 s
[opt-env-conf-test]
1816.61 s
[opt-env-conf-test] showConfigValSettingABit :: ConfigValSetting a -> ShowS
1816.61 s
[opt-env-conf-test] showConfigValSettingABit ConfigValSetting {..} =
1816.61 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:244:13-17
1816.61 s
[opt-env-conf-test] @@ -241,7 +241,7 @@
1816.61 s
[opt-env-conf-test]
1816.61 s
[opt-env-conf-test] showNonEmptyWith :: (a -> ShowS) -> NonEmpty a -> ShowS
1816.61 s
[opt-env-conf-test] showNonEmptyWith func (a :| as) =
1816.61 s
[opt-env-conf-test] - showParen Tr u e $
1816.61 s
[opt-env-conf-test] + showParen F a ls e $
1816.61 s
[opt-env-conf-test] func a
1816.61 s
[opt-env-conf-test] . showString " :| "
1816.61 s
[opt-env-conf-test] . showListWith func as
1816.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:127:24-49
1816.61 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1816.61 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1816.61 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1816.61 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.61 s
[opt-env-conf-test] - `hashWithSalt` i s J u s t s e t tin gSwitchValue
1816.61 s
[opt-env-conf-test] + `hashWithSalt` Tr u e
1816.61 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1816.61 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1816.61 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1816.61 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:125:24-42
1816.61 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1816.61 s
[opt-env-conf-test] SettingHash
1816.61 s
[opt-env-conf-test] ( 42
1816.61 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1816.61 s
[opt-env-conf-test] - `hashWithSalt` s e tt ing T ry A r g u m e n t
1816.61 s
[opt-env-conf-test] + `hashWithSalt` T r u e
1816.61 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.61 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1816.61 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1816.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:123:7-9
1816.61 s
[opt-env-conf-test] @@ -120,7 +120,7 @@
1816.61 s
[opt-env-conf-test] hashSetting :: Setting a -> SettingHash
1816.61 s
[opt-env-conf-test] hashSetting Setting {..} =
1816.61 s
[opt-env-conf-test] SettingHash
1816.61 s
[opt-env-conf-test] - ( 4 2
1816.61 s
[opt-env-conf-test] + ( 0
1816.61 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1816.61 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1816.61 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.61 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:123:7-9
1816.61 s
[opt-env-conf-test] @@ -120,7 +120,7 @@
1816.61 s
[opt-env-conf-test] hashSetting :: Setting a -> SettingHash
1816.61 s
[opt-env-conf-test] hashSetting Setting {..} =
1816.61 s
[opt-env-conf-test] SettingHash
1816.61 s
[opt-env-conf-test] - ( 42
1816.61 s
[opt-env-conf-test] + ( - 42
1816.62 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1816.62 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.62 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Setting.hs:191:23-28
1816.62 s
[opt-env-conf-test] @@ -188,7 +188,7 @@
1816.62 s
[opt-env-conf-test] settingMetavar = Nothing,
1816.62 s
[opt-env-conf-test] settingHelp = Nothing,
1816.62 s
[opt-env-conf-test] settingExamples = [],
1816.62 s
[opt-env-conf-test] - settingHidden = F al s e,
1816.62 s
[opt-env-conf-test] + settingHidden = T ru e,
1816.62 s
[opt-env-conf-test] settingDefaultValue = Nothing,
1816.62 s
[opt-env-conf-test] settingCompleter = Nothing,
1816.62 s
[opt-env-conf-test] settingRequiredCapabilities = Set.empty
1816.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:127:24-49
1816.62 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1816.62 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1816.62 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.62 s
[opt-env-conf-test] - `hashWithSalt` i s Jus t s e tti ngSwit chV al u e
1816.62 s
[opt-env-conf-test] + `hashWithSalt` F al s e
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1816.62 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1816.62 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:125:24-42
1816.62 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1816.62 s
[opt-env-conf-test] SettingHash
1816.62 s
[opt-env-conf-test] ( 42
1816.62 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1816.62 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
1816.62 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryArgument )
1816.62 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.62 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1816.62 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:148:6-32
1816.62 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1816.62 s
[opt-env-conf-test]
1816.62 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1816.62 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1816.62 s
[opt-env-conf-test] - if envVarSettingAllowPrefix e
1816.62 s
[opt-env-conf-test] + if n o t ( envVarSettingAllowPrefix e )
1816.62 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
1816.62 s
[opt-env-conf-test] else e
1816.62 s
[opt-env-conf-test]
1816.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:128:24-40
1816.62 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1816.62 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.62 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1816.62 s
[opt-env-conf-test] - `hashWithSalt` s e tt in g Tr y Opti on
1816.62 s
[opt-env-conf-test] + `hashWithSalt` Tr ue
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1816.62 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1816.62 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1816.62 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:128:24-40
1816.62 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1816.62 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1816.62 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1816.62 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
1816.62 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryOption )
1816.62 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1816.62 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1816.62 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1816.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:89:5-23
1816.62 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1816.62 s
[opt-env-conf-test] -- | Which readers should be tried to parse a value from a string
1816.62 s
[opt-env-conf-test] settingReaders :: ![Reader a],
1816.62 s
[opt-env-conf-test] -- | Whether the readers should be used to parsed arguments
1816.62 s
[opt-env-conf-test] - se tt ingTr yArgu me n t :: !Bool,
1816.62 s
[opt-env-conf-test] + F a l se :: !Bool,
1816.62 s
[opt-env-conf-test] -- | What value to parse when the switch exists.
1816.62 s
[opt-env-conf-test] --
1816.62 s
[opt-env-conf-test] -- Nothing means this is not a switch.
1816.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:96:5-21
1816.62 s
[opt-env-conf-test] @@ -93,7 +93,7 @@
1816.62 s
[opt-env-conf-test] settingSwitchValue :: !(Maybe a),
1816.62 s
[opt-env-conf-test] -- | Whether the dasheds should be tried together with the readers as
1816.62 s
[opt-env-conf-test] -- options.
1816.62 s
[opt-env-conf-test] - s e tt in g Tr y Opti on :: !Bool,
1816.62 s
[opt-env-conf-test] + Tr u e :: !Bool,
1816.62 s
[opt-env-conf-test] -- | Which env vars can be read.
1816.62 s
[opt-env-conf-test] settingEnvVars :: !(Maybe (NonEmpty EnvVarSetting)),
1816.62 s
[opt-env-conf-test] -- | Which and how to parse config values
1816.62 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:106:5-18
1816.62 s
[opt-env-conf-test] @@ -103,7 +103,7 @@
1818.28 s
[opt-env-conf-test] -- | Example values
1818.28 s
[opt-env-conf-test] settingExamples :: ![String],
1818.28 s
[opt-env-conf-test] -- | Whether to hide docs
1818.28 s
[opt-env-conf-test] - s e ttin gHid de n :: !Bool,
1818.28 s
[opt-env-conf-test] + T ru e :: !Bool,
1818.28 s
[opt-env-conf-test] -- | Which metavar should be show in documentation
1818.28 s
[opt-env-conf-test] settingMetavar :: !(Maybe Metavar),
1818.28 s
[opt-env-conf-test] settingHelp :: !(Maybe String),
1818.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
1818.28 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
1818.28 s
[opt-env-conf-test] ["Missing command, available commands:"]
1818.28 s
[opt-env-conf-test] : availableCommandsLines cs
1818.28 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1818.28 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1818.28 s
[opt-env-conf-test] [fore blue "available commands:"]
1818.28 s
[opt-env-conf-test] ]
1818.28 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:13-80
1818.28 s
[opt-env-conf-test] @@ -124,7 +124,6 @@
1818.28 s
[opt-env-conf-test] ["Missing command, available commands:"]
1818.28 s
[opt-env-conf-test] : availableCommandsLines cs
1818.28 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1818.28 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1818.28 s
[opt-env-conf-test] [fore blue "available commands:"]
1818.28 s
[opt-env-conf-test] ]
1818.28 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
1818.28 s
[opt-env-conf-test] @@ -124,9 +124,7 @@
1818.28 s
[opt-env-conf-test] ["Missing command, available commands:"]
1818.28 s
[opt-env-conf-test] : availableCommandsLines cs
1818.28 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1818.28 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1818.28 s
[opt-env-conf-test] - [fore blue "available commands:"]
1818.28 s
[opt-env-conf-test] ]
1818.28 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.28 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1818.28 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1818.28 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:127:11-12
1818.28 s
[opt-env-conf-test] @@ -124,9 +124,8 @@
1818.28 s
[opt-env-conf-test] ["Missing command, available commands:"]
1818.28 s
[opt-env-conf-test] : availableCommandsLines cs
1818.28 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1818.28 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1818.28 s
[opt-env-conf-test] [fore blue "available commands:"]
1818.28 s
[opt-env-conf-test] ]
1818.28 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.28 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1818.28 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1818.29 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
1818.29 s
[opt-env-conf-test] @@ -129,9 +129,7 @@
1818.29 s
[opt-env-conf-test] ]
1818.29 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.29 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1818.29 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1818.29 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1818.29 s
[opt-env-conf-test] ]
1818.29 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1818.29 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1818.29 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1818.29 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:132:11-12
1818.29 s
[opt-env-conf-test] @@ -129,9 +129,8 @@
1818.29 s
[opt-env-conf-test] ]
1818.29 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.29 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1818.29 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1818.29 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1818.29 s
[opt-env-conf-test] ]
1818.29 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1818.29 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1818.29 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1818.29 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
1818.29 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
1818.29 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1818.29 s
[opt-env-conf-test] ]
1818.29 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1818.29 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1818.29 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1818.29 s
[opt-env-conf-test] [ "Missing argument: "
1818.29 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1818.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1818.29 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1818.29 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1818.29 s
[opt-env-conf-test] renderError ParseError {..} =
1818.29 s
[opt-env-conf-test] concat
1818.29 s
[opt-env-conf-test] [ case parseErrorMessage of
1818.29 s
[opt-env-conf-test] ParseErrorEmpty ->
1818.29 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1818.29 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1818.29 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1818.29 s
[opt-env-conf-test] ParseErrorNoReaders ->
1818.29 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1818.29 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1818.29 s
[opt-env-conf-test] ]
1818.29 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1818.29 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1818.29 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1818.29 s
[opt-env-conf-test] [ "Missing argument: "
1818.29 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1818.29 s
[opt-env-conf-test] ]
1818.29 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1818.29 s
[opt-env-conf-test] ["Failed to read argument: "]
1818.29 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.29 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.29 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1818.29 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.29 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1818.29 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.29 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1818.29 s
[opt-env-conf-test] ["Failed to read option: "]
1818.29 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.29 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.29 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1818.29 s
[opt-env-conf-test] ["Missing env var: "]
1818.29 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.29 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1818.29 s
[opt-env-conf-test] ["Failed to read env var: "]
1818.29 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.29 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.29 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1818.29 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1818.29 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1818.70 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1818.70 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1818.70 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1818.70 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1818.70 s
[opt-env-conf-test] ["Missing command, available commands:"]
1818.70 s
[opt-env-conf-test] : availableCommandsLines cs
1818.70 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1818.70 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1818.70 s
[opt-env-conf-test] [fore blue "available commands:"]
1818.71 s
[opt-env-conf-test] ]
1818.71 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.71 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1818.71 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1818.71 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1818.71 s
[opt-env-conf-test] ]
1818.71 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1818.71 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1818.71 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1818.71 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1818.71 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1818.71 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1818.71 s
[opt-env-conf-test] ]
1818.71 s
[opt-env-conf-test]
1818.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1818.71 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1818.71 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1818.71 s
[opt-env-conf-test] renderError ParseError {..} =
1818.71 s
[opt-env-conf-test] concat
1818.71 s
[opt-env-conf-test] [ case parseErrorMessage of
1818.71 s
[opt-env-conf-test] ParseErrorEmpty ->
1818.71 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1818.71 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1818.71 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1818.71 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1818.71 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1818.71 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1818.71 s
[opt-env-conf-test] - ]
1818.71 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1818.71 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1818.71 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1818.71 s
[opt-env-conf-test] [ "Missing argument: "
1818.71 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1818.71 s
[opt-env-conf-test] ]
1818.71 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1818.71 s
[opt-env-conf-test] ["Failed to read argument: "]
1818.71 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.71 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.71 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1818.71 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.71 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1818.71 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.71 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1818.71 s
[opt-env-conf-test] ["Failed to read option: "]
1818.71 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.71 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.71 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1818.71 s
[opt-env-conf-test] ["Missing env var: "]
1818.71 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.71 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1818.71 s
[opt-env-conf-test] ["Failed to read env var: "]
1818.71 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.71 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.71 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1818.71 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1818.71 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1818.72 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1818.72 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1818.72 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1818.72 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1818.72 s
[opt-env-conf-test] ["Missing command, available commands:"]
1818.72 s
[opt-env-conf-test] : availableCommandsLines cs
1818.72 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1818.72 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1818.72 s
[opt-env-conf-test] [fore blue "available commands:"]
1818.72 s
[opt-env-conf-test] ]
1818.72 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.72 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1818.72 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1818.72 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1818.72 s
[opt-env-conf-test] ]
1818.72 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1818.72 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1818.72 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1818.72 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1818.72 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1818.72 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1818.72 s
[opt-env-conf-test] ]
1818.72 s
[opt-env-conf-test]
1818.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1818.72 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1818.72 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1818.72 s
[opt-env-conf-test] renderError ParseError {..} =
1818.72 s
[opt-env-conf-test] concat
1818.72 s
[opt-env-conf-test] [ case parseErrorMessage of
1818.72 s
[opt-env-conf-test] - ParseErrorEmpty ->
1818.72 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1818.72 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1818.72 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1818.72 s
[opt-env-conf-test] ParseErrorNoReaders ->
1818.72 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1818.72 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1818.72 s
[opt-env-conf-test] ]
1818.72 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1818.72 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1818.72 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1818.72 s
[opt-env-conf-test] [ "Missing argument: "
1818.72 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1818.72 s
[opt-env-conf-test] ]
1818.72 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1818.72 s
[opt-env-conf-test] ["Failed to read argument: "]
1818.72 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.72 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.72 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1818.72 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.72 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1818.72 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.72 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1818.72 s
[opt-env-conf-test] ["Failed to read option: "]
1818.72 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.72 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.72 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1818.72 s
[opt-env-conf-test] ["Missing env var: "]
1818.72 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.72 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1818.72 s
[opt-env-conf-test] ["Failed to read env var: "]
1818.72 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.72 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.73 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1818.73 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1818.73 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1818.90 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1818.90 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1818.90 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1818.90 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1818.90 s
[opt-env-conf-test] ["Missing command, available commands:"]
1818.90 s
[opt-env-conf-test] : availableCommandsLines cs
1818.90 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1818.90 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1818.90 s
[opt-env-conf-test] [fore blue "available commands:"]
1818.90 s
[opt-env-conf-test] ]
1818.90 s
[opt-env-conf-test] ++ availableCommandsLines cs
1818.90 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1818.90 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1818.90 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1818.90 s
[opt-env-conf-test] ]
1818.90 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1818.90 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1818.90 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1818.90 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1818.90 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1818.90 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1818.90 s
[opt-env-conf-test] ]
1818.90 s
[opt-env-conf-test]
1818.90 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1818.90 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1818.90 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1818.90 s
[opt-env-conf-test] renderError ParseError {..} =
1818.90 s
[opt-env-conf-test] concat
1818.90 s
[opt-env-conf-test] [ case parseErrorMessage of
1818.90 s
[opt-env-conf-test] ParseErrorEmpty ->
1818.90 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1818.90 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1818.90 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1818.90 s
[opt-env-conf-test] ParseErrorNoReaders ->
1818.90 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1818.91 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1818.91 s
[opt-env-conf-test] ]
1818.91 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1818.91 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1818.91 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1818.91 s
[opt-env-conf-test] [ "Missing argument: "
1818.91 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1818.91 s
[opt-env-conf-test] ]
1818.91 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1818.91 s
[opt-env-conf-test] ["Failed to read argument: "]
1818.91 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.91 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.91 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1818.91 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.91 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1818.91 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1818.91 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1818.91 s
[opt-env-conf-test] ["Failed to read option: "]
1818.91 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1818.91 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.91 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1818.91 s
[opt-env-conf-test] ["Missing env var: "]
1818.91 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.91 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1818.91 s
[opt-env-conf-test] ["Failed to read env var: "]
1818.91 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1818.91 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1818.91 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1818.91 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1818.91 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1819.03 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1819.03 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1819.03 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1819.03 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1819.03 s
[opt-env-conf-test] ["Missing command, available commands:"]
1819.03 s
[opt-env-conf-test] : availableCommandsLines cs
1819.03 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1819.03 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1819.03 s
[opt-env-conf-test] [fore blue "available commands:"]
1819.03 s
[opt-env-conf-test] ]
1819.03 s
[opt-env-conf-test] ++ availableCommandsLines cs
1819.03 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1819.03 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1819.03 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1819.03 s
[opt-env-conf-test] ]
1819.03 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1819.03 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1819.03 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1819.03 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1819.03 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1819.03 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1819.03 s
[opt-env-conf-test] ]
1819.03 s
[opt-env-conf-test]
1819.03 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1819.03 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1819.03 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1819.03 s
[opt-env-conf-test] renderError ParseError {..} =
1819.03 s
[opt-env-conf-test] concat
1819.03 s
[opt-env-conf-test] [ case parseErrorMessage of
1819.03 s
[opt-env-conf-test] ParseErrorEmpty ->
1819.03 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1819.03 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1819.03 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1819.03 s
[opt-env-conf-test] ParseErrorNoReaders ->
1819.03 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1819.03 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1819.03 s
[opt-env-conf-test] ]
1819.03 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1819.03 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1819.03 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1819.03 s
[opt-env-conf-test] - [ "Missing argument: "
1819.03 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1819.03 s
[opt-env-conf-test] - ]
1819.03 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1819.03 s
[opt-env-conf-test] ["Failed to read argument: "]
1819.03 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.03 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.03 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1819.03 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.03 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1819.03 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.03 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1819.04 s
[opt-env-conf-test] ["Failed to read option: "]
1819.04 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.04 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.04 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1819.04 s
[opt-env-conf-test] ["Missing env var: "]
1819.04 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.04 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1819.04 s
[opt-env-conf-test] ["Failed to read env var: "]
1819.04 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.04 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.04 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1819.04 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1819.04 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1819.08 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1819.08 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1819.08 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1819.08 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1819.08 s
[opt-env-conf-test] ["Missing command, available commands:"]
1819.08 s
[opt-env-conf-test] : availableCommandsLines cs
1819.08 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1819.08 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1819.08 s
[opt-env-conf-test] [fore blue "available commands:"]
1819.08 s
[opt-env-conf-test] ]
1819.08 s
[opt-env-conf-test] ++ availableCommandsLines cs
1819.08 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1819.08 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1819.08 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1819.08 s
[opt-env-conf-test] ]
1819.08 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1819.08 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1819.08 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1819.08 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1819.08 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1819.08 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1819.08 s
[opt-env-conf-test] ]
1819.08 s
[opt-env-conf-test]
1819.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1819.08 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1819.08 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1819.08 s
[opt-env-conf-test] renderError ParseError {..} =
1819.08 s
[opt-env-conf-test] concat
1819.08 s
[opt-env-conf-test] [ case parseErrorMessage of
1819.08 s
[opt-env-conf-test] ParseErrorEmpty ->
1819.08 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1819.08 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1819.08 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1819.08 s
[opt-env-conf-test] ParseErrorNoReaders ->
1819.08 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1819.08 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1819.08 s
[opt-env-conf-test] ]
1819.08 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1819.08 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1819.08 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1819.08 s
[opt-env-conf-test] [ "Missing argument: "
1819.08 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1819.08 s
[opt-env-conf-test] ]
1819.08 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1819.08 s
[opt-env-conf-test] ["Failed to read argument: "]
1819.08 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.08 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.08 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1819.08 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.08 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1819.08 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.08 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1819.08 s
[opt-env-conf-test] ["Failed to read option: "]
1819.08 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.08 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.08 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1819.09 s
[opt-env-conf-test] ["Missing env var: "]
1819.09 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.09 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1819.09 s
[opt-env-conf-test] ["Failed to read env var: "]
1819.09 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.09 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.09 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1819.09 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1819.09 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1819.12 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1819.12 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1819.12 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1819.12 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1819.12 s
[opt-env-conf-test] ["Missing command, available commands:"]
1819.12 s
[opt-env-conf-test] : availableCommandsLines cs
1819.12 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1819.12 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1819.12 s
[opt-env-conf-test] [fore blue "available commands:"]
1819.12 s
[opt-env-conf-test] ]
1819.12 s
[opt-env-conf-test] ++ availableCommandsLines cs
1819.12 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1819.12 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1819.12 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1819.12 s
[opt-env-conf-test] ]
1819.12 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1819.12 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1819.12 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1819.12 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1819.12 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1819.12 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1819.12 s
[opt-env-conf-test] ]
1819.12 s
[opt-env-conf-test]
1819.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1819.12 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1819.12 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1819.12 s
[opt-env-conf-test] renderError ParseError {..} =
1819.12 s
[opt-env-conf-test] concat
1819.12 s
[opt-env-conf-test] [ case parseErrorMessage of
1819.12 s
[opt-env-conf-test] ParseErrorEmpty ->
1819.12 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1819.13 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1819.13 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1819.13 s
[opt-env-conf-test] ParseErrorNoReaders ->
1819.13 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1819.13 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1819.13 s
[opt-env-conf-test] ]
1819.13 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1819.13 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1819.13 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1819.13 s
[opt-env-conf-test] [ "Missing argument: "
1819.13 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1819.13 s
[opt-env-conf-test] ]
1819.13 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1819.13 s
[opt-env-conf-test] - ["Failed to read argument: "]
1819.13 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1819.13 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.13 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1819.13 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.13 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1819.13 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.13 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1819.13 s
[opt-env-conf-test] ["Failed to read option: "]
1819.13 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.13 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.13 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1819.13 s
[opt-env-conf-test] ["Missing env var: "]
1819.13 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.13 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1819.13 s
[opt-env-conf-test] ["Failed to read env var: "]
1819.13 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.13 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.13 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1819.13 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1819.13 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1819.29 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1819.29 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1819.29 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1819.29 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1819.30 s
[opt-env-conf-test] ["Missing command, available commands:"]
1819.30 s
[opt-env-conf-test] : availableCommandsLines cs
1819.30 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1819.30 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1819.30 s
[opt-env-conf-test] [fore blue "available commands:"]
1819.30 s
[opt-env-conf-test] ]
1819.30 s
[opt-env-conf-test] ++ availableCommandsLines cs
1819.30 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1819.30 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1819.30 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1819.30 s
[opt-env-conf-test] ]
1819.30 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1819.30 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1819.30 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1819.30 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1819.30 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1819.30 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1819.30 s
[opt-env-conf-test] ]
1819.30 s
[opt-env-conf-test]
1819.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1819.30 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1819.30 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1819.30 s
[opt-env-conf-test] renderError ParseError {..} =
1819.30 s
[opt-env-conf-test] concat
1819.30 s
[opt-env-conf-test] [ case parseErrorMessage of
1819.30 s
[opt-env-conf-test] ParseErrorEmpty ->
1819.30 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1819.30 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1819.30 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1819.30 s
[opt-env-conf-test] ParseErrorNoReaders ->
1819.30 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1819.30 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1819.30 s
[opt-env-conf-test] ]
1819.30 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1819.30 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1819.30 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1819.30 s
[opt-env-conf-test] [ "Missing argument: "
1819.30 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1819.30 s
[opt-env-conf-test] ]
1819.30 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1819.30 s
[opt-env-conf-test] ["Failed to read argument: "]
1819.30 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.30 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.30 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1819.30 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.30 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1819.30 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.30 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1819.30 s
[opt-env-conf-test] - ["Failed to read option: "]
1819.30 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1819.30 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.30 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1819.30 s
[opt-env-conf-test] ["Missing env var: "]
1819.30 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.30 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1819.30 s
[opt-env-conf-test] ["Failed to read env var: "]
1819.30 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.30 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.30 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1819.30 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1819.30 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1819.70 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1819.70 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1819.70 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1819.70 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1819.70 s
[opt-env-conf-test] ["Missing command, available commands:"]
1819.70 s
[opt-env-conf-test] : availableCommandsLines cs
1819.70 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1819.70 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1819.70 s
[opt-env-conf-test] [fore blue "available commands:"]
1819.70 s
[opt-env-conf-test] ]
1819.70 s
[opt-env-conf-test] ++ availableCommandsLines cs
1819.70 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1819.70 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1819.70 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1819.70 s
[opt-env-conf-test] ]
1819.70 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1819.70 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1819.70 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1819.70 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1819.70 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1819.70 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1819.70 s
[opt-env-conf-test] ]
1819.70 s
[opt-env-conf-test]
1819.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1819.70 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1819.70 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1819.70 s
[opt-env-conf-test] renderError ParseError {..} =
1819.70 s
[opt-env-conf-test] concat
1819.70 s
[opt-env-conf-test] [ case parseErrorMessage of
1819.70 s
[opt-env-conf-test] ParseErrorEmpty ->
1819.70 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1819.70 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1819.70 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1819.70 s
[opt-env-conf-test] ParseErrorNoReaders ->
1819.70 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1819.70 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1819.70 s
[opt-env-conf-test] ]
1819.70 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1819.70 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1819.70 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1819.70 s
[opt-env-conf-test] [ "Missing argument: "
1819.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1819.70 s
[opt-env-conf-test] ]
1819.70 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1819.70 s
[opt-env-conf-test] ["Failed to read argument: "]
1819.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.70 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.70 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1819.70 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.70 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1819.70 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1819.70 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1819.70 s
[opt-env-conf-test] ["Failed to read option: "]
1819.70 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1819.70 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.70 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1819.70 s
[opt-env-conf-test] ["Missing env var: "]
1819.70 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.70 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1819.70 s
[opt-env-conf-test] ["Failed to read env var: "]
1819.70 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1819.70 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1819.70 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1819.70 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1819.70 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1820.12 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1820.12 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1820.12 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1820.12 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1820.12 s
[opt-env-conf-test] ["Missing command, available commands:"]
1820.12 s
[opt-env-conf-test] : availableCommandsLines cs
1820.12 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1820.12 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1820.12 s
[opt-env-conf-test] [fore blue "available commands:"]
1820.12 s
[opt-env-conf-test] ]
1820.12 s
[opt-env-conf-test] ++ availableCommandsLines cs
1820.12 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1820.12 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1820.12 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1820.12 s
[opt-env-conf-test] ]
1820.12 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1820.12 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1820.12 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1820.12 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1820.12 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1820.12 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1820.12 s
[opt-env-conf-test] ]
1820.12 s
[opt-env-conf-test]
1820.12 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1820.12 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1820.12 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1820.12 s
[opt-env-conf-test] renderError ParseError {..} =
1820.12 s
[opt-env-conf-test] concat
1820.12 s
[opt-env-conf-test] [ case parseErrorMessage of
1820.12 s
[opt-env-conf-test] ParseErrorEmpty ->
1820.12 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1820.12 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1820.12 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1820.12 s
[opt-env-conf-test] ParseErrorNoReaders ->
1820.13 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1820.13 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1820.13 s
[opt-env-conf-test] ]
1820.13 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1820.13 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1820.13 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1820.13 s
[opt-env-conf-test] [ "Missing argument: "
1820.13 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1820.13 s
[opt-env-conf-test] ]
1820.13 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1820.13 s
[opt-env-conf-test] ["Failed to read argument: "]
1820.13 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1820.13 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1820.13 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1820.13 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1820.13 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1820.13 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1820.13 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1820.13 s
[opt-env-conf-test] ["Failed to read option: "]
1820.13 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1820.13 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1820.13 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1820.13 s
[opt-env-conf-test] ["Missing env var: "]
1820.13 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1820.13 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1820.13 s
[opt-env-conf-test] - ["Failed to read env var: "]
1820.13 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1820.13 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1820.13 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1820.13 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1820.13 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1820.77 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1820.78 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1820.78 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1820.78 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1820.78 s
[opt-env-conf-test] ["Missing command, available commands:"]
1820.78 s
[opt-env-conf-test] : availableCommandsLines cs
1820.78 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1820.78 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1820.78 s
[opt-env-conf-test] [fore blue "available commands:"]
1820.78 s
[opt-env-conf-test] ]
1820.78 s
[opt-env-conf-test] ++ availableCommandsLines cs
1820.78 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1820.78 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1820.78 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1820.78 s
[opt-env-conf-test] ]
1820.78 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1820.78 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1820.78 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1820.78 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1820.78 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1820.78 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1820.78 s
[opt-env-conf-test] ]
1820.78 s
[opt-env-conf-test]
1820.78 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1820.78 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
1820.78 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1820.78 s
[opt-env-conf-test] renderError ParseError {..} =
1820.78 s
[opt-env-conf-test] concat
1820.78 s
[opt-env-conf-test] [ case parseErrorMessage of
1820.78 s
[opt-env-conf-test] ParseErrorEmpty ->
1820.78 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1820.78 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1820.78 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1820.78 s
[opt-env-conf-test] ParseErrorNoReaders ->
1820.78 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1820.78 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1820.78 s
[opt-env-conf-test] ]
1820.78 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1820.78 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1820.78 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1820.78 s
[opt-env-conf-test] [ "Missing argument: "
1820.78 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1820.78 s
[opt-env-conf-test] ]
1820.78 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1820.78 s
[opt-env-conf-test] ["Failed to read argument: "]
1820.78 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1820.78 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1820.78 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1820.78 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1820.78 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1820.78 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1820.78 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1820.79 s
[opt-env-conf-test] ["Failed to read option: "]
1820.79 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1820.79 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1820.79 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1820.79 s
[opt-env-conf-test] - ["Missing env var: "]
1820.79 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1820.79 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1820.79 s
[opt-env-conf-test] ["Failed to read env var: "]
1820.79 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1820.79 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1820.79 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1820.79 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1820.79 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1821.38 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1821.38 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1821.38 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1821.38 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1821.38 s
[opt-env-conf-test] ["Missing command, available commands:"]
1821.38 s
[opt-env-conf-test] : availableCommandsLines cs
1821.38 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1821.38 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1821.38 s
[opt-env-conf-test] [fore blue "available commands:"]
1821.38 s
[opt-env-conf-test] ]
1821.38 s
[opt-env-conf-test] ++ availableCommandsLines cs
1821.38 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1821.38 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1821.38 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1821.38 s
[opt-env-conf-test] ]
1821.38 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1821.38 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1821.38 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1821.38 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1821.38 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1821.38 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1821.38 s
[opt-env-conf-test] ]
1821.38 s
[opt-env-conf-test]
1821.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1821.38 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1821.38 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1821.38 s
[opt-env-conf-test] renderError ParseError {..} =
1821.38 s
[opt-env-conf-test] concat
1821.38 s
[opt-env-conf-test] [ case parseErrorMessage of
1821.38 s
[opt-env-conf-test] ParseErrorEmpty ->
1821.38 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1821.38 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1821.38 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1821.38 s
[opt-env-conf-test] ParseErrorNoReaders ->
1821.38 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1821.39 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1821.39 s
[opt-env-conf-test] ]
1821.39 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1821.39 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1821.39 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1821.39 s
[opt-env-conf-test] [ "Missing argument: "
1821.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1821.39 s
[opt-env-conf-test] ]
1821.39 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1821.39 s
[opt-env-conf-test] ["Failed to read argument: "]
1821.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1821.39 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1821.39 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1821.39 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1821.39 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1821.39 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1821.39 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1821.39 s
[opt-env-conf-test] ["Failed to read option: "]
1821.39 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1821.39 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1821.39 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1821.39 s
[opt-env-conf-test] ["Missing env var: "]
1821.39 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1821.39 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1821.39 s
[opt-env-conf-test] ["Failed to read env var: "]
1821.39 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1821.39 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1821.39 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1821.39 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1821.39 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1822.97 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1822.97 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1823.09 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1823.09 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1823.09 s
[opt-env-conf-test] ["Missing command, available commands:"]
1823.09 s
[opt-env-conf-test] : availableCommandsLines cs
1823.09 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1823.09 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1823.09 s
[opt-env-conf-test] [fore blue "available commands:"]
1823.09 s
[opt-env-conf-test] ]
1823.09 s
[opt-env-conf-test] ++ availableCommandsLines cs
1823.09 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1823.09 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1823.09 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1823.09 s
[opt-env-conf-test] ]
1823.09 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1823.09 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1823.09 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1823.09 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1823.09 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1823.09 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1823.09 s
[opt-env-conf-test] ]
1823.09 s
[opt-env-conf-test]
1823.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:136:5-29
1823.09 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1823.09 s
[opt-env-conf-test]
1823.09 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
1823.09 s
[opt-env-conf-test] { envVarSettingVar :: !String,
1823.09 s
[opt-env-conf-test] - e n v Var Settin gAllow P r e fi x :: !Bool
1823.09 s
[opt-env-conf-test] + T r u e :: !Bool
1823.09 s
[opt-env-conf-test] }
1823.09 s
[opt-env-conf-test] deriving (Show, Eq)
1823.09 s
[opt-env-conf-test]
1823.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:159:5-32
1823.09 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
1823.09 s
[opt-env-conf-test] = forall void.
1823.09 s
[opt-env-conf-test] ConfigValSetting
1823.09 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
1823.09 s
[opt-env-conf-test] - c o nf igV al S ett ingAllo wP r e fi x :: !Bool,
1823.09 s
[opt-env-conf-test] + T r u e :: !Bool,
1823.09 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
1823.09 s
[opt-env-conf-test] }
1823.09 s
[opt-env-conf-test]
1823.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1823.10 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
1823.10 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1823.10 s
[opt-env-conf-test] renderError ParseError {..} =
1823.10 s
[opt-env-conf-test] concat
1823.10 s
[opt-env-conf-test] [ case parseErrorMessage of
1823.10 s
[opt-env-conf-test] ParseErrorEmpty ->
1823.10 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1823.10 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1823.10 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1823.10 s
[opt-env-conf-test] ParseErrorNoReaders ->
1823.10 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1823.10 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1823.10 s
[opt-env-conf-test] ]
1823.10 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1823.10 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1823.10 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1823.10 s
[opt-env-conf-test] [ "Missing argument: "
1823.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1823.10 s
[opt-env-conf-test] ]
1823.10 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1823.10 s
[opt-env-conf-test] ["Failed to read argument: "]
1823.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1823.10 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.10 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1823.10 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1823.10 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1823.10 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1823.10 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1823.10 s
[opt-env-conf-test] ["Failed to read option: "]
1823.10 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1823.10 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.10 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1823.10 s
[opt-env-conf-test] ["Missing env var: "]
1823.10 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1823.10 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1823.10 s
[opt-env-conf-test] ["Failed to read env var: "]
1823.10 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1823.10 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.10 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1823.10 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1823.10 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1823.14 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1823.14 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1823.14 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1823.14 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1823.14 s
[opt-env-conf-test] ["Missing command, available commands:"]
1823.14 s
[opt-env-conf-test] : availableCommandsLines cs
1823.14 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1823.14 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1823.14 s
[opt-env-conf-test] [fore blue "available commands:"]
1823.14 s
[opt-env-conf-test] ]
1823.14 s
[opt-env-conf-test] ++ availableCommandsLines cs
1823.14 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1823.14 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1823.14 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1823.14 s
[opt-env-conf-test] ]
1823.14 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1823.15 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1823.15 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1823.15 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1823.15 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1823.15 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1823.15 s
[opt-env-conf-test] ]
1823.15 s
[opt-env-conf-test]
1823.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:106:5-18
1823.15 s
[opt-env-conf-test] @@ -103,7 +103,7 @@
1823.15 s
[opt-env-conf-test] -- | Example values
1823.15 s
[opt-env-conf-test] settingExamples :: ![String],
1823.15 s
[opt-env-conf-test] -- | Whether to hide docs
1823.15 s
[opt-env-conf-test] - s e tti ngHi dd e n :: !Bool,
1823.15 s
[opt-env-conf-test] + F a l s e :: !Bool,
1823.15 s
[opt-env-conf-test] -- | Which metavar should be show in documentation
1823.15 s
[opt-env-conf-test] settingMetavar :: !(Maybe Metavar),
1823.15 s
[opt-env-conf-test] settingHelp :: !(Maybe String),
1823.15 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:96:5-21
1823.15 s
[opt-env-conf-test] @@ -93,7 +93,7 @@
1823.15 s
[opt-env-conf-test] settingSwitchValue :: !(Maybe a),
1823.15 s
[opt-env-conf-test] -- | Whether the dasheds should be tried together with the readers as
1823.15 s
[opt-env-conf-test] -- options.
1823.15 s
[opt-env-conf-test] - settingTryOption :: !Bool,
1823.15 s
[opt-env-conf-test] + n o t ( settingTryOption ) :: !Bool,
1823.15 s
[opt-env-conf-test] -- | Which env vars can be read.
1823.15 s
[opt-env-conf-test] settingEnvVars :: !(Maybe (NonEmpty EnvVarSetting)),
1823.15 s
[opt-env-conf-test] -- | Which and how to parse config values
1823.15 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1823.15 s
[opt-env-conf-test] @@ -80,63 +80,60 @@
1823.15 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1823.15 s
[opt-env-conf-test] renderError ParseError {..} =
1823.15 s
[opt-env-conf-test] concat
1823.15 s
[opt-env-conf-test] [ case parseErrorMessage of
1823.15 s
[opt-env-conf-test] ParseErrorEmpty ->
1823.15 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1823.15 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1823.15 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1823.15 s
[opt-env-conf-test] ParseErrorNoReaders ->
1823.15 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1823.15 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1823.15 s
[opt-env-conf-test] ]
1823.15 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1823.15 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1823.15 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1823.15 s
[opt-env-conf-test] [ "Missing argument: "
1823.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1823.15 s
[opt-env-conf-test] ]
1823.15 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1823.15 s
[opt-env-conf-test] ["Failed to read argument: "]
1823.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1823.15 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.15 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1823.15 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1823.15 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1823.15 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1823.15 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1823.15 s
[opt-env-conf-test] ["Failed to read option: "]
1823.15 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1823.15 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.15 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1823.15 s
[opt-env-conf-test] ["Missing env var: "]
1823.15 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1823.15 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1823.15 s
[opt-env-conf-test] ["Failed to read env var: "]
1823.15 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1823.15 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.15 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1823.15 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1823.15 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1823.15 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1823.34 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1823.34 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1823.34 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1823.34 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1823.34 s
[opt-env-conf-test] - : availableCommandsLines cs
1823.34 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1823.34 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1823.34 s
[opt-env-conf-test] [fore blue "available commands:"]
1823.34 s
[opt-env-conf-test] ]
1823.34 s
[opt-env-conf-test] ++ availableCommandsLines cs
1823.34 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1823.34 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1823.34 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1823.34 s
[opt-env-conf-test] ]
1823.34 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1823.34 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1823.34 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1823.34 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1823.34 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1823.34 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1823.35 s
[opt-env-conf-test] ]
1823.35 s
[opt-env-conf-test]
1823.35 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1823.35 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
1823.35 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1823.35 s
[opt-env-conf-test] renderError ParseError {..} =
1823.35 s
[opt-env-conf-test] concat
1823.35 s
[opt-env-conf-test] [ case parseErrorMessage of
1823.35 s
[opt-env-conf-test] ParseErrorEmpty ->
1823.35 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1823.35 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1823.35 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1823.35 s
[opt-env-conf-test] ParseErrorNoReaders ->
1823.35 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1823.35 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1823.35 s
[opt-env-conf-test] ]
1823.35 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1823.35 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1823.35 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1823.35 s
[opt-env-conf-test] [ "Missing argument: "
1823.35 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1823.35 s
[opt-env-conf-test] ]
1823.35 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1823.35 s
[opt-env-conf-test] ["Failed to read argument: "]
1823.35 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1823.35 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.35 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1823.35 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1823.35 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1823.35 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1823.35 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1823.35 s
[opt-env-conf-test] ["Failed to read option: "]
1823.35 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1823.35 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.35 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1823.35 s
[opt-env-conf-test] ["Missing env var: "]
1823.35 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1823.35 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1823.35 s
[opt-env-conf-test] ["Failed to read env var: "]
1823.35 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1823.35 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1823.35 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1823.35 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1823.35 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1823.35 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1824.18 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1824.18 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1824.18 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1824.18 s
[opt-env-conf-test] ["Missing command, available commands:"]
1824.18 s
[opt-env-conf-test] : availableCommandsLines cs
1824.18 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1824.18 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1824.18 s
[opt-env-conf-test] - [fore blue "available commands:"]
1824.18 s
[opt-env-conf-test] - ]
1824.18 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1824.18 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1824.18 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1824.18 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1824.18 s
[opt-env-conf-test] ]
1824.18 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1824.18 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1824.18 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1824.18 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1824.18 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1824.18 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1824.18 s
[opt-env-conf-test] ]
1824.18 s
[opt-env-conf-test]
1824.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:136:5-29
1824.18 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1824.18 s
[opt-env-conf-test]
1824.18 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
1824.18 s
[opt-env-conf-test] { envVarSettingVar :: !String,
1824.18 s
[opt-env-conf-test] - e n v V a r Settin gAl l o w Pr e f i x :: !Bool
1824.18 s
[opt-env-conf-test] + F a l s e :: !Bool
1824.18 s
[opt-env-conf-test] }
1824.18 s
[opt-env-conf-test] deriving (Show, Eq)
1824.18 s
[opt-env-conf-test]
1824.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1824.18 s
[opt-env-conf-test] @@ -80,63 +80,58 @@
1824.18 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1824.18 s
[opt-env-conf-test] renderError ParseError {..} =
1824.18 s
[opt-env-conf-test] concat
1824.18 s
[opt-env-conf-test] [ case parseErrorMessage of
1824.18 s
[opt-env-conf-test] ParseErrorEmpty ->
1824.18 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1824.18 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1824.18 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1824.18 s
[opt-env-conf-test] ParseErrorNoReaders ->
1824.18 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1824.18 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1824.18 s
[opt-env-conf-test] ]
1824.18 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1824.18 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1824.18 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1824.18 s
[opt-env-conf-test] [ "Missing argument: "
1824.18 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1824.18 s
[opt-env-conf-test] ]
1824.18 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1824.18 s
[opt-env-conf-test] ["Failed to read argument: "]
1824.19 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1824.19 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.19 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1824.19 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1824.19 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1824.19 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1824.19 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1824.19 s
[opt-env-conf-test] ["Failed to read option: "]
1824.19 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1824.19 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.19 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1824.19 s
[opt-env-conf-test] ["Missing env var: "]
1824.19 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1824.19 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1824.19 s
[opt-env-conf-test] ["Failed to read env var: "]
1824.19 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1824.19 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.19 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1824.19 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1824.19 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1824.19 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1824.66 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1824.66 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1824.66 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1824.66 s
[opt-env-conf-test] ["Missing command, available commands:"]
1824.66 s
[opt-env-conf-test] : availableCommandsLines cs
1824.66 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1824.66 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1824.66 s
[opt-env-conf-test] [fore blue "available commands:"]
1824.66 s
[opt-env-conf-test] ]
1824.66 s
[opt-env-conf-test] ++ availableCommandsLines cs
1824.66 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1824.66 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1824.66 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1824.66 s
[opt-env-conf-test] - ]
1824.66 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1824.66 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1824.66 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1824.66 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1824.66 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1824.66 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1824.66 s
[opt-env-conf-test] ]
1824.66 s
[opt-env-conf-test]
1824.66 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1824.66 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1824.66 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1824.66 s
[opt-env-conf-test] renderError ParseError {..} =
1824.66 s
[opt-env-conf-test] concat
1824.66 s
[opt-env-conf-test] [ case parseErrorMessage of
1824.66 s
[opt-env-conf-test] ParseErrorEmpty ->
1824.66 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1824.66 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1824.66 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1824.66 s
[opt-env-conf-test] ParseErrorNoReaders ->
1824.66 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1824.66 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1824.66 s
[opt-env-conf-test] ]
1824.66 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1824.66 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1824.66 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1824.66 s
[opt-env-conf-test] [ "Missing argument: "
1824.66 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1824.66 s
[opt-env-conf-test] ]
1824.66 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1824.66 s
[opt-env-conf-test] ["Failed to read argument: "]
1824.66 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1824.66 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.66 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1824.66 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1824.66 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1824.66 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1824.66 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1824.66 s
[opt-env-conf-test] ["Failed to read option: "]
1824.66 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1824.66 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.66 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1824.66 s
[opt-env-conf-test] ["Missing env var: "]
1824.66 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1824.66 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1824.66 s
[opt-env-conf-test] ["Failed to read env var: "]
1824.66 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1824.66 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.66 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1824.66 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1824.66 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1824.66 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1824.88 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1824.88 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1824.89 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1824.89 s
[opt-env-conf-test] ["Missing command, available commands:"]
1824.89 s
[opt-env-conf-test] : availableCommandsLines cs
1824.89 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1824.89 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1824.89 s
[opt-env-conf-test] [fore blue "available commands:"]
1824.89 s
[opt-env-conf-test] ]
1824.89 s
[opt-env-conf-test] ++ availableCommandsLines cs
1824.89 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1824.89 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1824.89 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1824.89 s
[opt-env-conf-test] ]
1824.89 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1824.89 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1824.89 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1824.89 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
1824.89 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
1824.89 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1824.89 s
[opt-env-conf-test] ]
1824.89 s
[opt-env-conf-test]
1824.89 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:89:5-23
1824.89 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1824.89 s
[opt-env-conf-test] -- | Which readers should be tried to parse a value from a string
1824.89 s
[opt-env-conf-test] settingReaders :: ![Reader a],
1824.89 s
[opt-env-conf-test] -- | Whether the readers should be used to parsed arguments
1824.89 s
[opt-env-conf-test] - settingTryArgument :: !Bool,
1824.89 s
[opt-env-conf-test] + n o t ( settingTryArgument ) :: !Bool,
1824.89 s
[opt-env-conf-test] -- | What value to parse when the switch exists.
1824.89 s
[opt-env-conf-test] --
1824.89 s
[opt-env-conf-test] -- Nothing means this is not a switch.
1824.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Error.hs:83:7-65
1824.89 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
1824.89 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1824.89 s
[opt-env-conf-test] renderError ParseError {..} =
1824.89 s
[opt-env-conf-test] concat
1824.89 s
[opt-env-conf-test] [ case parseErrorMessage of
1824.89 s
[opt-env-conf-test] ParseErrorEmpty ->
1824.89 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
1824.89 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1824.89 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1824.89 s
[opt-env-conf-test] ParseErrorNoReaders ->
1824.89 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
1824.89 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1824.89 s
[opt-env-conf-test] ]
1824.89 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1824.89 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1824.89 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1824.89 s
[opt-env-conf-test] [ "Missing argument: "
1824.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1824.89 s
[opt-env-conf-test] ]
1824.89 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
1824.89 s
[opt-env-conf-test] ["Failed to read argument: "]
1824.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1824.89 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.89 s
[opt-env-conf-test] ParseErrorMissingOption o ->
1824.89 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1824.89 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
1824.89 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1824.89 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
1824.89 s
[opt-env-conf-test] ["Failed to read option: "]
1824.89 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
1824.89 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.89 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
1824.89 s
[opt-env-conf-test] ["Missing env var: "]
1824.89 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1824.89 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
1824.89 s
[opt-env-conf-test] ["Failed to read env var: "]
1824.89 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
1824.89 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1824.89 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
1824.89 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
1824.90 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
1824.90 s
[opt-env-conf-test] ["Failed to parse configuration: "]
1826.88 s
[opt-env-conf-test] : maybe [] renderConfDoc md
1826.88 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
1826.88 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
1826.88 s
[opt-env-conf-test] ["Missing command, available commands:"]
1826.88 s
[opt-env-conf-test] : availableCommandsLines cs
1826.89 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
1826.89 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1826.89 s
[opt-env-conf-test] [fore blue "available commands:"]
1826.89 s
[opt-env-conf-test] ]
1826.89 s
[opt-env-conf-test] ++ availableCommandsLines cs
1826.89 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
1826.89 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1826.89 s
[opt-env-conf-test] ["The following settings have been parsed:"]
1826.89 s
[opt-env-conf-test] ]
1826.89 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
1826.89 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
1826.89 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1826.89 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1826.89 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1826.89 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1826.89 s
[opt-env-conf-test] ]
1826.89 s
[opt-env-conf-test]
1826.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:96:5-21
1826.89 s
[opt-env-conf-test] @@ -93,7 +93,7 @@
1826.89 s
[opt-env-conf-test] settingSwitchValue :: !(Maybe a),
1826.89 s
[opt-env-conf-test] -- | Whether the dasheds should be tried together with the readers as
1826.89 s
[opt-env-conf-test] -- options.
1826.89 s
[opt-env-conf-test] - se tt ingT ryOp ti o n :: !Bool,
1826.89 s
[opt-env-conf-test] + F a l se :: !Bool,
1826.89 s
[opt-env-conf-test] -- | Which env vars can be read.
1826.89 s
[opt-env-conf-test] settingEnvVars :: !(Maybe (NonEmpty EnvVarSetting)),
1826.89 s
[opt-env-conf-test] -- | Which and how to parse config values
1826.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1826.89 s
[opt-env-conf-test] @@ -142,7 +142,4 @@
1826.89 s
[opt-env-conf-test]
1826.89 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1826.89 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1826.89 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
1826.89 s
[opt-env-conf-test] - ": ",
1826.89 s
[opt-env-conf-test] - helpChunk commandDocHelp
1826.89 s
[opt-env-conf-test] ]
1826.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:89:5-23
1826.89 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1826.89 s
[opt-env-conf-test] -- | Which readers should be tried to parse a value from a string
1826.89 s
[opt-env-conf-test] settingReaders :: ![Reader a],
1826.89 s
[opt-env-conf-test] -- | Whether the readers should be used to parsed arguments
1826.89 s
[opt-env-conf-test] - s e tt ing T ry A r g u m e n t :: !Bool,
1826.89 s
[opt-env-conf-test] + T r u e :: !Bool,
1826.89 s
[opt-env-conf-test] -- | What value to parse when the switch exists.
1826.89 s
[opt-env-conf-test] --
1826.89 s
[opt-env-conf-test] -- Nothing means this is not a switch.
1826.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:144:22-46
1826.90 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1826.90 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1826.90 s
[opt-env-conf-test] salt
1826.90 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1826.90 s
[opt-env-conf-test] - `hashWithSalt` e n v V a r Settin gAl l o w Pr e f ix
1826.90 s
[opt-env-conf-test] + `hashWithSalt` F a l s e
1826.90 s
[opt-env-conf-test]
1826.90 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1826.90 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1826.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:93:11-53
1826.90 s
[opt-env-conf-test] @@ -90,7 +90,6 @@
1826.90 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1826.90 s
[opt-env-conf-test] ]
1826.90 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1826.90 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1826.90 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1826.90 s
[opt-env-conf-test] [ "Missing argument: "
1826.90 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
1826.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:159:5-32
1826.90 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
1826.90 s
[opt-env-conf-test] = forall void.
1826.90 s
[opt-env-conf-test] ConfigValSetting
1826.90 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
1826.90 s
[opt-env-conf-test] - configValSettingAllowPrefix :: !Bool,
1826.90 s
[opt-env-conf-test] + n o t ( configValSettingAllowPrefix ) :: !Bool,
1826.90 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
1826.90 s
[opt-env-conf-test] }
1826.90 s
[opt-env-conf-test]
1826.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:159:5-32
1826.90 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
1826.90 s
[opt-env-conf-test] = forall void.
1826.90 s
[opt-env-conf-test] ConfigValSetting
1826.90 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
1826.90 s
[opt-env-conf-test] - c o n fig V a l S ett ingA l l o wPr e fi x :: !Bool,
1826.90 s
[opt-env-conf-test] + F a l s e :: !Bool,
1826.90 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
1826.90 s
[opt-env-conf-test] }
1826.90 s
[opt-env-conf-test]
1826.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
1826.90 s
[opt-env-conf-test] @@ -86,9 +86,7 @@
1826.90 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1826.90 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1826.90 s
[opt-env-conf-test] ParseErrorNoReaders ->
1826.90 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1826.90 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1826.90 s
[opt-env-conf-test] ]
1826.90 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1826.90 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1826.90 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1826.90 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1826.90 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
1826.90 s
[opt-env-conf-test]
1826.90 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1826.90 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1826.90 s
[opt-env-conf-test] - [ commandChunk commandDocArgument,
1826.90 s
[opt-env-conf-test] ": ",
1826.90 s
[opt-env-conf-test] helpChunk commandDocHelp
1826.90 s
[opt-env-conf-test] ]
1826.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:144:22-46
1826.90 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1826.90 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1826.90 s
[opt-env-conf-test] salt
1826.90 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1826.90 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
1826.90 s
[opt-env-conf-test] + `hashWithSalt` n o t ( envVarSettingAllowPrefix )
1826.90 s
[opt-env-conf-test]
1826.90 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1826.90 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1826.90 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:136:5-29
1826.90 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
1826.90 s
[opt-env-conf-test]
1826.90 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
1826.90 s
[opt-env-conf-test] { envVarSettingVar :: !String,
1826.90 s
[opt-env-conf-test] - envVarSettingAllowPrefix :: !Bool
1826.90 s
[opt-env-conf-test] + n o t ( envVarSettingAllowPrefix ) :: !Bool
1826.91 s
[opt-env-conf-test] }
1826.91 s
[opt-env-conf-test] deriving (Show, Eq)
1826.91 s
[opt-env-conf-test]
1826.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:89:11-12
1826.91 s
[opt-env-conf-test] @@ -86,9 +86,8 @@
1826.91 s
[opt-env-conf-test] ParseErrorEmptySetting ->
1826.91 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
1826.91 s
[opt-env-conf-test] ParseErrorNoReaders ->
1826.91 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1826.91 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
1826.91 s
[opt-env-conf-test] ]
1826.91 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
1826.91 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
1826.91 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
1826.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:144:22-46
1826.91 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
1826.91 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
1826.91 s
[opt-env-conf-test] salt
1826.91 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
1826.91 s
[opt-env-conf-test] - `hashWithSalt` e n v Var Settin gAllow P r e fix
1826.91 s
[opt-env-conf-test] + `hashWithSalt` T r u e
1826.91 s
[opt-env-conf-test]
1826.91 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
1826.91 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
1826.91 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:145:3-4
1826.91 s
[opt-env-conf-test] @@ -142,7 +142,6 @@
1826.91 s
[opt-env-conf-test]
1826.91 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1826.91 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1826.91 s
[opt-env-conf-test] [ commandChunk commandDocArgument,
1826.91 s
[opt-env-conf-test] ": ",
1826.91 s
[opt-env-conf-test] - helpChunk commandDocHelp
1826.91 s
[opt-env-conf-test] ]
1826.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:127:24-49
1826.91 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
1826.91 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1826.91 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1826.91 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1826.91 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
1826.91 s
[opt-env-conf-test] + `hashWithSalt` n o t ( isJust settingSwitchValue )
1827.42 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1827.42 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1827.42 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1827.42 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Setting.hs:106:5-18
1827.42 s
[opt-env-conf-test] @@ -103,7 +103,7 @@
1827.42 s
[opt-env-conf-test] -- | Example values
1827.42 s
[opt-env-conf-test] settingExamples :: ![String],
1827.42 s
[opt-env-conf-test] -- | Whether to hide docs
1827.42 s
[opt-env-conf-test] - settingHidden :: !Bool,
1827.42 s
[opt-env-conf-test] + n o t ( settingHidden ) :: !Bool,
1827.42 s
[opt-env-conf-test] -- | Which metavar should be show in documentation
1827.42 s
[opt-env-conf-test] settingMetavar :: !(Maybe Metavar),
1827.42 s
[opt-env-conf-test] settingHelp :: !(Maybe String),
1827.42 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:125:24-42
1827.43 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
1827.43 s
[opt-env-conf-test] SettingHash
1827.43 s
[opt-env-conf-test] ( 42
1827.43 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1827.43 s
[opt-env-conf-test] - `hashWithSalt` se tt ingTr yArgument
1827.43 s
[opt-env-conf-test] + `hashWithSalt` F a l se
1827.43 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1827.43 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1827.43 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
1827.43 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Setting.hs:123:7-9
1827.43 s
[opt-env-conf-test] @@ -120,7 +120,7 @@
1827.43 s
[opt-env-conf-test] hashSetting :: Setting a -> SettingHash
1827.43 s
[opt-env-conf-test] hashSetting Setting {..} =
1827.43 s
[opt-env-conf-test] SettingHash
1827.43 s
[opt-env-conf-test] - ( 4 2
1827.43 s
[opt-env-conf-test] + ( 1
1827.43 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
1827.43 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1827.43 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1827.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Setting.hs:128:24-40
1827.43 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
1827.43 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
1827.43 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
1827.43 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
1827.43 s
[opt-env-conf-test] - `hashWithSalt` se tt ingT ryOption
1827.43 s
[opt-env-conf-test] + `hashWithSalt` F a l se
1827.43 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
1827.43 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
1827.43 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
1827.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
1827.43 s
[opt-env-conf-test] @@ -80,65 +80,7 @@
1827.43 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1827.43 s
[opt-env-conf-test] renderError ParseError {..} =
1827.43 s
[opt-env-conf-test] concat
1827.43 s
[opt-env-conf-test] - [ case parseErrorMessage of
1827.43 s
[opt-env-conf-test] - ParseErrorEmpty ->
1827.43 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1827.43 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1827.43 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1827.43 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1827.43 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1827.43 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1827.43 s
[opt-env-conf-test] - ]
1827.43 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1827.43 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1827.43 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1827.43 s
[opt-env-conf-test] - [ "Missing argument: "
1827.43 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1827.43 s
[opt-env-conf-test] - ]
1827.43 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1827.43 s
[opt-env-conf-test] - ["Failed to read argument: "]
1827.43 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1827.43 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1827.43 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1827.43 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1827.43 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1827.43 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1827.43 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1827.43 s
[opt-env-conf-test] - ["Failed to read option: "]
1827.43 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1827.43 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1827.43 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1827.43 s
[opt-env-conf-test] - ["Missing env var: "]
1827.43 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1827.43 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1827.43 s
[opt-env-conf-test] - ["Failed to read env var: "]
1827.43 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1828.77 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1828.85 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1828.85 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1828.85 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1828.85 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1828.85 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1828.85 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1828.85 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1828.85 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1828.85 s
[opt-env-conf-test] - : availableCommandsLines cs
1828.85 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1828.85 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1828.85 s
[opt-env-conf-test] - [fore blue "available commands:"]
1828.85 s
[opt-env-conf-test] - ]
1828.85 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1828.85 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1828.85 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1828.85 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1828.85 s
[opt-env-conf-test] - ]
1828.85 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1828.85 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1828.85 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1828.85 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1828.86 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1828.86 s
[opt-env-conf-test] - maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1828.86 s
[opt-env-conf-test] ]
1828.86 s
[opt-env-conf-test]
1828.86 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1828.86 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1828.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
1828.86 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1828.86 s
[opt-env-conf-test] ParseErrorEmpty -> True
1828.86 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1828.86 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1828.86 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o r gi v a b l e
1828.86 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> T r u e
1828.86 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1828.86 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1828.86 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1828.86 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:54:26-31
1828.86 s
[opt-env-conf-test] @@ -51,7 +51,7 @@
1828.86 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1828.86 s
[opt-env-conf-test] ParseErrorEmpty -> True
1828.86 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1828.86 s
[opt-env-conf-test] - ParseErrorNoReaders -> F al s e
1828.86 s
[opt-env-conf-test] + ParseErrorNoReaders -> T ru e
1828.86 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1828.86 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1828.86 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1828.86 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:53:29-34
1828.86 s
[opt-env-conf-test] @@ -50,7 +50,7 @@
1828.86 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
1828.86 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1828.86 s
[opt-env-conf-test] ParseErrorEmpty -> True
1828.86 s
[opt-env-conf-test] - ParseErrorEmptySetting -> F al s e
1828.86 s
[opt-env-conf-test] + ParseErrorEmptySetting -> T ru e
1828.86 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1828.86 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1828.86 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1828.86 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:57:33-38
1828.86 s
[opt-env-conf-test] @@ -54,7 +54,7 @@
1828.86 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1828.86 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1828.86 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1828.86 s
[opt-env-conf-test] - ParseErrorArgumentRead _ _ -> F al s e
1828.86 s
[opt-env-conf-test] + ParseErrorArgumentRead _ _ -> T ru e
1828.86 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1828.86 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1828.86 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1828.86 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:56:34-38
1828.86 s
[opt-env-conf-test] @@ -53,7 +53,7 @@
1828.86 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1828.86 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1828.86 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1828.86 s
[opt-env-conf-test] - ParseErrorMissingArgument _ -> Tr u e
1828.87 s
[opt-env-conf-test] + ParseErrorMissingArgument _ -> F a ls e
1828.87 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1828.87 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1828.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:58:32-36
1828.87 s
[opt-env-conf-test] @@ -55,7 +55,7 @@
1828.87 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1828.87 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1828.87 s
[opt-env-conf-test] - ParseErrorMissingSwitch _ -> Tr u e
1828.87 s
[opt-env-conf-test] + ParseErrorMissingSwitch _ -> F a ls e
1828.87 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1828.87 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1828.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:59:31-36
1828.87 s
[opt-env-conf-test] @@ -56,7 +56,7 @@
1828.87 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1828.87 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1828.87 s
[opt-env-conf-test] - ParseErrorOptionRead _ _ -> F al s e
1828.87 s
[opt-env-conf-test] + ParseErrorOptionRead _ _ -> T ru e
1828.87 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1828.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:52:22-26
1828.87 s
[opt-env-conf-test] @@ -49,7 +49,7 @@
1828.87 s
[opt-env-conf-test]
1828.87 s
[opt-env-conf-test] errorMessageIsForgivable :: ParseErrorMessage -> Bool
1828.87 s
[opt-env-conf-test] errorMessageIsForgivable = \case
1828.87 s
[opt-env-conf-test] - ParseErrorEmpty -> Tr u e
1828.87 s
[opt-env-conf-test] + ParseErrorEmpty -> F a ls e
1828.87 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1828.87 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1828.87 s
[opt-env-conf-test] ParseErrorCheckFailed forgivable _ -> forgivable
1828.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:62:28-33
1828.87 s
[opt-env-conf-test] @@ -59,7 +59,7 @@
1828.87 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1828.87 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1828.87 s
[opt-env-conf-test] - ParseErrorEnvRead _ _ -> F al s e
1828.87 s
[opt-env-conf-test] + ParseErrorEnvRead _ _ -> T ru e
1828.87 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1828.87 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1828.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:63:33-37
1828.87 s
[opt-env-conf-test] @@ -60,7 +60,7 @@
1828.87 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1828.87 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1828.87 s
[opt-env-conf-test] - ParseErrorMissingConfVal _ -> Tr u e
1828.87 s
[opt-env-conf-test] + ParseErrorMissingConfVal _ -> F a ls e
1828.87 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1828.87 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1828.87 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1828.87 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Error.hs:83:5-6
1828.87 s
[opt-env-conf-test] @@ -80,65 +80,8 @@
1828.87 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
1828.87 s
[opt-env-conf-test] renderError ParseError {..} =
1828.87 s
[opt-env-conf-test] concat
1828.87 s
[opt-env-conf-test] - [ case parseErrorMessage of
1828.87 s
[opt-env-conf-test] - ParseErrorEmpty ->
1828.87 s
[opt-env-conf-test] - [["Hit the 'empty' case of the Parser type, this should not happen."]]
1828.87 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
1828.87 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
1828.87 s
[opt-env-conf-test] - ParseErrorNoReaders ->
1828.87 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
1828.87 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
1828.87 s
[opt-env-conf-test] - ]
1828.87 s
[opt-env-conf-test] - ParseErrorCheckFailed _ err ->
1828.88 s
[opt-env-conf-test] - [["Check failed: "], [chunk $ T.pack err]]
1828.88 s
[opt-env-conf-test] - ParseErrorMissingArgument o ->
1828.88 s
[opt-env-conf-test] - [ "Missing argument: "
1828.88 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong o)
1828.88 s
[opt-env-conf-test] - ]
1828.88 s
[opt-env-conf-test] - ParseErrorArgumentRead md errs ->
1828.88 s
[opt-env-conf-test] - ["Failed to read argument: "]
1828.88 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1828.88 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1828.88 s
[opt-env-conf-test] - ParseErrorMissingOption o ->
1828.88 s
[opt-env-conf-test] - ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
1828.88 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
1828.88 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
1828.88 s
[opt-env-conf-test] - ParseErrorOptionRead md errs ->
1828.88 s
[opt-env-conf-test] - ["Failed to read option: "]
1828.88 s
[opt-env-conf-test] - : unwordsChunks (maybe [] renderOptDocLong md)
1828.88 s
[opt-env-conf-test] - : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1828.88 s
[opt-env-conf-test] - ParseErrorMissingEnvVar md ->
1828.88 s
[opt-env-conf-test] - ["Missing env var: "]
1828.88 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1828.88 s
[opt-env-conf-test] - ParseErrorEnvRead md errs ->
1828.88 s
[opt-env-conf-test] - ["Failed to read env var: "]
1828.88 s
[opt-env-conf-test] - : maybe [] renderEnvDoc md
1834.15 s
[opt-env-conf-test] - ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
1834.17 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
1834.17 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
1834.17 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
1834.17 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
1834.17 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
1834.17 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
1834.17 s
[opt-env-conf-test] - ParseErrorMissingCommand cs ->
1834.17 s
[opt-env-conf-test] - ["Missing command, available commands:"]
1834.17 s
[opt-env-conf-test] - : availableCommandsLines cs
1834.17 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand c cs ->
1834.17 s
[opt-env-conf-test] - [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
1834.17 s
[opt-env-conf-test] - [fore blue "available commands:"]
1834.17 s
[opt-env-conf-test] - ]
1834.17 s
[opt-env-conf-test] - ++ availableCommandsLines cs
1834.17 s
[opt-env-conf-test] - ParseErrorAllOrNothing locs ->
1834.17 s
[opt-env-conf-test] - [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
1834.17 s
[opt-env-conf-test] - ["The following settings have been parsed:"]
1834.17 s
[opt-env-conf-test] - ]
1834.17 s
[opt-env-conf-test] - ++ map (pure . srcLocChunk) (M.elems locs)
1834.17 s
[opt-env-conf-test] - ParseErrorUnrecognised leftovers ->
1834.17 s
[opt-env-conf-test] - ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
1834.17 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
1834.17 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
1834.18 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
1834.18 s
[opt-env-conf-test] ]
1834.18 s
[opt-env-conf-test]
1834.18 s
[opt-env-conf-test] availableCommandsLines :: [CommandDoc a] -> [[Chunk]]
1834.18 s
[opt-env-conf-test] availableCommandsLines = map $ \CommandDoc {..} ->
1834.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1834.18 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1834.18 s
[opt-env-conf-test] NonEmpty Char ->
1834.18 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1834.18 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1834.18 s
[opt-env-conf-test] - if i s L on g
1834.18 s
[opt-env-conf-test] + if Tru e
1834.18 s
[opt-env-conf-test] then
1834.18 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1834.18 s
[opt-env-conf-test] then Just Nothing
1834.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:352:6-12
1834.18 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1834.18 s
[opt-env-conf-test] NonEmpty Char ->
1834.18 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1834.18 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1834.18 s
[opt-env-conf-test] - if i s Long
1834.18 s
[opt-env-conf-test] + if F a l s e
1834.18 s
[opt-env-conf-test] then
1834.18 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1834.18 s
[opt-env-conf-test] then Just Nothing
1834.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:352:6-12
1834.18 s
[opt-env-conf-test] @@ -349,7 +349,7 @@
1834.18 s
[opt-env-conf-test] NonEmpty Char ->
1834.18 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char, Bool))
1834.18 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1834.18 s
[opt-env-conf-test] - if isLong
1834.18 s
[opt-env-conf-test] + if n o t ( isLong )
1834.18 s
[opt-env-conf-test] then
1834.18 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1834.18 s
[opt-env-conf-test] then Just Nothing
1834.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1834.18 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1834.18 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1834.18 s
[opt-env-conf-test] if isLong
1834.18 s
[opt-env-conf-test] then
1834.18 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
1834.18 s
[opt-env-conf-test] + if Tr u e
1834.18 s
[opt-env-conf-test] then Just Nothing
1834.18 s
[opt-env-conf-test] else Nothing
1834.18 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1834.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:354:10-38
1834.18 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1834.18 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1834.18 s
[opt-env-conf-test] if isLong
1834.18 s
[opt-env-conf-test] then
1834.18 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
1834.18 s
[opt-env-conf-test] + if F a l s e
1834.18 s
[opt-env-conf-test] then Just Nothing
1834.18 s
[opt-env-conf-test] else Nothing
1834.18 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1834.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:354:10-38
1834.18 s
[opt-env-conf-test] @@ -351,7 +351,7 @@
1834.18 s
[opt-env-conf-test] consumeDashedSwitch dasheds isLong cs =
1834.18 s
[opt-env-conf-test] if isLong
1834.18 s
[opt-env-conf-test] then
1834.18 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1834.19 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
1834.19 s
[opt-env-conf-test] then Just Nothing
1834.19 s
[opt-env-conf-test] else Nothing
1834.19 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1834.19 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:355:14-26
1834.19 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
1834.19 s
[opt-env-conf-test] if isLong
1834.19 s
[opt-env-conf-test] then
1834.19 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1834.19 s
[opt-env-conf-test] - then J u s t Nothing
1834.19 s
[opt-env-conf-test] + then Nothing
1834.19 s
[opt-env-conf-test] else Nothing
1834.19 s
[opt-env-conf-test] else consumeChar (shortDasheds dasheds) cs
1834.19 s
[opt-env-conf-test]
1834.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1834.19 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1834.19 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1834.19 s
[opt-env-conf-test] case go (argsBefore as) of
1834.19 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1834.19 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1834.19 s
[opt-env-conf-test] - Just newAfters -> Just $ as {argsAfter = newAfters}
1834.19 s
[opt-env-conf-test] Nothing -> Nothing
1834.19 s
[opt-env-conf-test] where
1834.19 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1834.19 s
[opt-env-conf-test] go = \case
1834.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:324:16-25
1834.19 s
[opt-env-conf-test] @@ -321,9 +321,8 @@
1834.19 s
[opt-env-conf-test] consumeSwitch dasheds as = do
1834.19 s
[opt-env-conf-test] case go (argsBefore as) of
1834.19 s
[opt-env-conf-test] Just newBefores -> Just $ as {argsBefore = newBefores}
1834.19 s
[opt-env-conf-test] Nothing -> case go (argsAfter as) of
1834.19 s
[opt-env-conf-test] Just newAfters -> Just $ as {argsAfter = newAfters}
1834.19 s
[opt-env-conf-test] - Nothing -> Nothing
1834.19 s
[opt-env-conf-test] where
1834.19 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe [Tomb Arg]
1834.19 s
[opt-env-conf-test] go = \case
1834.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1834.19 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1834.19 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1834.19 s
[opt-env-conf-test] (Live o : rest) -> case o of
1834.19 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1834.19 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s L on g cs of
1834.19 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds Tru e cs of
1834.19 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1834.19 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1834.19 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1834.19 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:334:65-71
1834.19 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1834.19 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1834.19 s
[opt-env-conf-test] (Live o : rest) -> case o of
1834.19 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1834.19 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1834.19 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds n o t ( isLong ) cs of
1834.19 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1834.19 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1834.19 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1834.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:334:65-71
1834.19 s
[opt-env-conf-test] @@ -331,7 +331,7 @@
1834.19 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1834.19 s
[opt-env-conf-test] (Live o : rest) -> case o of
1834.19 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1834.19 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds i s Lo n g cs of
1834.19 s
[opt-env-conf-test] + ArgDashed isLong cs -> case consumeDashedSwitch dasheds F a l s e cs of
1834.19 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1834.19 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1834.19 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1834.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1834.19 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1834.19 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1834.19 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1834.19 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1834.19 s
[opt-env-conf-test] - let rest' = if n e ed T o mbs to n e then Dead : rest else rest
1834.19 s
[opt-env-conf-test] + let rest' = if T ru e then Dead : rest else rest
1834.19 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1834.20 s
[opt-env-conf-test] _ -> do
1834.20 s
[opt-env-conf-test] os <- go rest
1834.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:338:28-41
1834.20 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1834.20 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1834.20 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1834.20 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.26 s
[opt-env-conf-test] - let rest' = if n e ed Tom b s to n e then Dead : rest else rest
1839.28 s
[opt-env-conf-test] + let rest' = if F al s e then Dead : rest else rest
1839.28 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1839.28 s
[opt-env-conf-test] _ -> do
1839.28 s
[opt-env-conf-test] os <- go rest
1839.28 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:338:28-41
1839.28 s
[opt-env-conf-test] @@ -335,7 +335,7 @@
1839.28 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1839.28 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.28 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.28 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1839.28 s
[opt-env-conf-test] + let rest' = if n o t ( needTombstone ) then Dead : rest else rest
1839.28 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1839.28 s
[opt-env-conf-test] _ -> do
1839.28 s
[opt-env-conf-test] os <- go rest
1839.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1839.28 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1839.28 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.28 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.28 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1839.28 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s L on g cs') : rest'
1839.28 s
[opt-env-conf-test] + in Just $ Live (ArgDashed Tru e cs') : rest'
1839.28 s
[opt-env-conf-test] _ -> do
1839.28 s
[opt-env-conf-test] os <- go rest
1839.28 s
[opt-env-conf-test] pure $ Live o : os
1839.28 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:339:40-46
1839.28 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1839.28 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.28 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.28 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1839.28 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
1839.28 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
1839.28 s
[opt-env-conf-test] _ -> do
1839.29 s
[opt-env-conf-test] os <- go rest
1839.29 s
[opt-env-conf-test] pure $ Live o : os
1839.29 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:339:40-46
1839.29 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
1839.29 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.29 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.29 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1839.29 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1839.29 s
[opt-env-conf-test] + in Just $ Live (ArgDashed n o t ( isLong ) cs') : rest'
1839.29 s
[opt-env-conf-test] _ -> do
1839.29 s
[opt-env-conf-test] os <- go rest
1839.29 s
[opt-env-conf-test] pure $ Live o : os
1839.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1839.29 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1839.29 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1839.29 s
[opt-env-conf-test] (Live o : rest) -> case o of
1839.29 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1839.29 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1839.29 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1839.29 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.29 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.29 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1839.29 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1839.29 s
[opt-env-conf-test] _ -> do
1839.29 s
[opt-env-conf-test] os <- go rest
1839.29 s
[opt-env-conf-test] pure $ Live o : os
1839.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1839.29 s
[opt-env-conf-test] @@ -331,12 +331,11 @@
1839.29 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1839.29 s
[opt-env-conf-test] (Live o : rest) -> case o of
1839.29 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1839.29 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1839.29 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1839.29 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1839.29 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.29 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1839.29 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1839.29 s
[opt-env-conf-test] _ -> do
1839.29 s
[opt-env-conf-test] os <- go rest
1839.29 s
[opt-env-conf-test] pure $ Live o : os
1839.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:334:32-59
1839.29 s
[opt-env-conf-test] @@ -331,12 +331,9 @@
1839.29 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1839.29 s
[opt-env-conf-test] (Live o : rest) -> case o of
1839.29 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1839.29 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1839.29 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1839.29 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.29 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1839.29 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1839.29 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1839.29 s
[opt-env-conf-test] _ -> do
1839.29 s
[opt-env-conf-test] os <- go rest
1839.29 s
[opt-env-conf-test] pure $ Live o : os
1839.29 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1839.29 s
[opt-env-conf-test] @@ -329,17 +329,16 @@
1839.29 s
[opt-env-conf-test] go = \case
1839.29 s
[opt-env-conf-test] [] -> Nothing
1839.29 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1839.29 s
[opt-env-conf-test] (Live o : rest) -> case o of
1839.29 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
1839.29 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1839.29 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1839.29 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.29 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.29 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1839.29 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1839.30 s
[opt-env-conf-test] _ -> do
1839.30 s
[opt-env-conf-test] os <- go rest
1839.30 s
[opt-env-conf-test] pure $ Live o : os
1839.30 s
[opt-env-conf-test]
1839.30 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1839.30 s
[opt-env-conf-test] -- character because then we need a tombstone.
1839.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1839.30 s
[opt-env-conf-test] @@ -329,17 +329,11 @@
1839.30 s
[opt-env-conf-test] go = \case
1839.30 s
[opt-env-conf-test] [] -> Nothing
1839.30 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1839.30 s
[opt-env-conf-test] (Live o : rest) -> case o of
1839.30 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1839.30 s
[opt-env-conf-test] - ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1839.30 s
[opt-env-conf-test] - Nothing -> (Live o :) <$> go rest
1839.30 s
[opt-env-conf-test] - Just Nothing -> Just $ Dead : rest
1839.30 s
[opt-env-conf-test] - Just (Just (cs', needTombstone)) ->
1839.30 s
[opt-env-conf-test] - let rest' = if needTombstone then Dead : rest else rest
1839.30 s
[opt-env-conf-test] - in Just $ Live (ArgDashed isLong cs') : rest'
1839.30 s
[opt-env-conf-test] _ -> do
1839.30 s
[opt-env-conf-test] os <- go rest
1839.30 s
[opt-env-conf-test] pure $ Live o : os
1839.30 s
[opt-env-conf-test]
1839.30 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1839.30 s
[opt-env-conf-test] -- character because then we need a tombstone.
1839.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:332:26-29
1839.30 s
[opt-env-conf-test] @@ -329,17 +329,14 @@
1839.30 s
[opt-env-conf-test] go = \case
1839.30 s
[opt-env-conf-test] [] -> Nothing
1839.30 s
[opt-env-conf-test] (Dead : rest) -> (Dead :) <$> go rest
1839.30 s
[opt-env-conf-test] (Live o : rest) -> case o of
1839.30 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1839.30 s
[opt-env-conf-test] ArgDashed isLong cs -> case consumeDashedSwitch dasheds isLong cs of
1839.30 s
[opt-env-conf-test] Nothing -> (Live o :) <$> go rest
1839.30 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
1839.30 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
1839.30 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
1839.30 s
[opt-env-conf-test] in Just $ Live (ArgDashed isLong cs') : rest'
1839.30 s
[opt-env-conf-test] - _ -> do
1839.30 s
[opt-env-conf-test] - os <- go rest
1839.30 s
[opt-env-conf-test] - pure $ Live o : os
1839.30 s
[opt-env-conf-test]
1839.30 s
[opt-env-conf-test] -- Can consume anywhere in a folded dashed, return True if it was the last
1839.30 s
[opt-env-conf-test] -- character because then we need a tombstone.
1839.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1839.30 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1839.30 s
[opt-env-conf-test] where
1839.30 s
[opt-env-conf-test] go acc ne =
1839.30 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1839.30 s
[opt-env-conf-test] in case mRest of
1839.30 s
[opt-env-conf-test] - Nothing -> (NE.nonEmpty $ reverse acc, a)
1839.30 s
[opt-env-conf-test] Just rest -> go (a : acc) rest
1839.30 s
[opt-env-conf-test]
1839.30 s
[opt-env-conf-test] -- | Consume a switch.
1839.30 s
[opt-env-conf-test] --
1839.30 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:309:11-43
1839.30 s
[opt-env-conf-test] @@ -306,9 +306,8 @@
1839.30 s
[opt-env-conf-test] where
1839.30 s
[opt-env-conf-test] go acc ne =
1839.30 s
[opt-env-conf-test] let (a, mRest) = NE.uncons ne
1839.30 s
[opt-env-conf-test] in case mRest of
1839.30 s
[opt-env-conf-test] Nothing -> (NE.nonEmpty $ reverse acc, a)
1839.30 s
[opt-env-conf-test] - Just rest -> go (a : acc) rest
1839.30 s
[opt-env-conf-test]
1839.30 s
[opt-env-conf-test] -- | Consume a switch.
1839.30 s
[opt-env-conf-test] --
1839.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1839.30 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1839.30 s
[opt-env-conf-test] NonEmpty Char ->
1839.30 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1839.30 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1839.30 s
[opt-env-conf-test] - if i s L on g
1839.30 s
[opt-env-conf-test] + if Tru e
1839.30 s
[opt-env-conf-test] then
1839.30 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1839.30 s
[opt-env-conf-test] then Just Nothing
1839.30 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:293:6-12
1839.30 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1839.30 s
[opt-env-conf-test] NonEmpty Char ->
1839.30 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1839.30 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1845.02 s
[opt-env-conf-test] - if i s Long
1845.02 s
[opt-env-conf-test] + if F a l s e
1845.08 s
[opt-env-conf-test] then
1845.09 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1845.09 s
[opt-env-conf-test] then Just Nothing
1845.09 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:293:6-12
1845.09 s
[opt-env-conf-test] @@ -290,7 +290,7 @@
1845.09 s
[opt-env-conf-test] NonEmpty Char ->
1845.09 s
[opt-env-conf-test] Maybe (Maybe (NonEmpty Char))
1845.09 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1845.09 s
[opt-env-conf-test] - if isLong
1845.09 s
[opt-env-conf-test] + if n o t ( isLong )
1845.09 s
[opt-env-conf-test] then
1845.09 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1845.09 s
[opt-env-conf-test] then Just Nothing
1845.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1845.09 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1845.09 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1845.09 s
[opt-env-conf-test] if isLong
1845.09 s
[opt-env-conf-test] then
1845.09 s
[opt-env-conf-test] - if D as hedL ong cs `ele m` da s h e d s
1845.09 s
[opt-env-conf-test] + if Tr u e
1845.09 s
[opt-env-conf-test] then Just Nothing
1845.09 s
[opt-env-conf-test] else Nothing
1845.09 s
[opt-env-conf-test] else
1845.09 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:295:10-38
1845.09 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1845.09 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1845.09 s
[opt-env-conf-test] if isLong
1845.09 s
[opt-env-conf-test] then
1845.09 s
[opt-env-conf-test] - if D a sh edL ong cs `e l em` da s h e d s
1845.09 s
[opt-env-conf-test] + if F a l s e
1845.09 s
[opt-env-conf-test] then Just Nothing
1845.09 s
[opt-env-conf-test] else Nothing
1845.09 s
[opt-env-conf-test] else
1845.09 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:295:10-38
1845.09 s
[opt-env-conf-test] @@ -292,7 +292,7 @@
1845.09 s
[opt-env-conf-test] consumeDashedOption dasheds isLong cs =
1845.10 s
[opt-env-conf-test] if isLong
1845.10 s
[opt-env-conf-test] then
1845.10 s
[opt-env-conf-test] - if DashedLong cs `elem` dasheds
1845.10 s
[opt-env-conf-test] + if n o t ( DashedLong cs `elem` dasheds )
1845.10 s
[opt-env-conf-test] then Just Nothing
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test] else
1845.10 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:296:14-26
1845.10 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
1845.10 s
[opt-env-conf-test] if isLong
1845.10 s
[opt-env-conf-test] then
1845.10 s
[opt-env-conf-test] if DashedLong cs `elem` dasheds
1845.10 s
[opt-env-conf-test] - then J u s t Nothing
1845.10 s
[opt-env-conf-test] + then Nothing
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test] else
1845.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1845.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1845.10 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test] else
1845.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1845.10 s
[opt-env-conf-test] - in if D a sh edS ho r t c `elem` da s h e d s
1845.10 s
[opt-env-conf-test] + in if T r u e
1845.10 s
[opt-env-conf-test] then Just mRest
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test]
1845.10 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:300:14-42
1845.10 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test] else
1845.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1845.10 s
[opt-env-conf-test] - in if D a sh edS hort c `e l em` da s h e d s
1845.10 s
[opt-env-conf-test] + in if F a l s e
1845.10 s
[opt-env-conf-test] then Just mRest
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test]
1845.10 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:300:14-42
1845.10 s
[opt-env-conf-test] @@ -297,7 +297,7 @@
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test] else
1845.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1845.10 s
[opt-env-conf-test] - in if DashedShort c `elem` dasheds
1845.10 s
[opt-env-conf-test] + in if n o t ( DashedShort c `elem` dasheds )
1845.10 s
[opt-env-conf-test] then Just mRest
1845.10 s
[opt-env-conf-test] else Nothing
1845.10 s
[opt-env-conf-test]
1845.10 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:301:18-28
1845.10 s
[opt-env-conf-test] @@ -298,7 +298,7 @@
1845.10 s
[opt-env-conf-test] else
1845.10 s
[opt-env-conf-test] let (mRest, c) = unsnocNE cs
1845.10 s
[opt-env-conf-test] in if DashedShort c `elem` dasheds
1845.10 s
[opt-env-conf-test] - then J u s t m R est
1845.10 s
[opt-env-conf-test] + then N o t h in g
1845.10 s
[opt-env-conf-test] else Nothing
1845.11 s
[opt-env-conf-test]
1845.11 s
[opt-env-conf-test] unsnocNE :: NonEmpty a -> (Maybe (NonEmpty a), a)
1845.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-23
1845.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.11 s
[opt-env-conf-test] Maybe String
1845.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.11 s
[opt-env-conf-test] (c :| rest)
1845.11 s
[opt-env-conf-test] - | c `e lem` da sh e d s && not (null rest) ->
1845.11 s
[opt-env-conf-test] + | Tru e && not (null rest) ->
1845.11 s
[opt-env-conf-test] Just rest
1845.11 s
[opt-env-conf-test] _ -> Nothing
1845.11 s
[opt-env-conf-test]
1845.11 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-23
1845.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.11 s
[opt-env-conf-test] Maybe String
1845.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.11 s
[opt-env-conf-test] (c :| rest)
1845.11 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1845.11 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds ) && not (null rest) ->
1845.11 s
[opt-env-conf-test] Just rest
1845.11 s
[opt-env-conf-test] _ -> Nothing
1845.11 s
[opt-env-conf-test]
1845.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:32-41
1845.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.11 s
[opt-env-conf-test] Maybe String
1845.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.11 s
[opt-env-conf-test] (c :| rest)
1845.11 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u ll r e s t ) ->
1845.11 s
[opt-env-conf-test] + | c `elem` dasheds && not ( T r u e ) ->
1845.11 s
[opt-env-conf-test] Just rest
1845.11 s
[opt-env-conf-test] _ -> Nothing
1845.11 s
[opt-env-conf-test]
1845.11 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:32-41
1845.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.11 s
[opt-env-conf-test] Maybe String
1845.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.11 s
[opt-env-conf-test] (c :| rest)
1845.11 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1845.11 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
1845.11 s
[opt-env-conf-test] Just rest
1845.11 s
[opt-env-conf-test] _ -> Nothing
1845.11 s
[opt-env-conf-test]
1845.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:31-42
1845.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.11 s
[opt-env-conf-test] Maybe String
1845.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.11 s
[opt-env-conf-test] (c :| rest)
1845.11 s
[opt-env-conf-test] - | c `elem` dasheds && not ( n u l l r e s t ) ->
1845.11 s
[opt-env-conf-test] + | c `elem` dasheds && not T r u e ->
1845.11 s
[opt-env-conf-test] Just rest
1845.11 s
[opt-env-conf-test] _ -> Nothing
1845.11 s
[opt-env-conf-test]
1845.11 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:31-42
1845.11 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.11 s
[opt-env-conf-test] Maybe String
1845.11 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.12 s
[opt-env-conf-test] (c :| rest)
1845.12 s
[opt-env-conf-test] - | c `elem` dasheds && not ( null rest) ->
1845.12 s
[opt-env-conf-test] + | c `elem` dasheds && n o t not ( ( null rest) ) ->
1845.12 s
[opt-env-conf-test] Just rest
1845.12 s
[opt-env-conf-test] _ -> Nothing
1845.12 s
[opt-env-conf-test]
1845.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:27-42
1845.12 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.12 s
[opt-env-conf-test] Maybe String
1845.12 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.12 s
[opt-env-conf-test] (c :| rest)
1845.12 s
[opt-env-conf-test] - | c `elem` dasheds && n ot (n u ll r e st ) ->
1845.12 s
[opt-env-conf-test] + | c `elem` dasheds && Tr u e ->
1845.12 s
[opt-env-conf-test] Just rest
1845.12 s
[opt-env-conf-test] _ -> Nothing
1845.12 s
[opt-env-conf-test]
1845.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:27-42
1845.12 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.12 s
[opt-env-conf-test] Maybe String
1845.12 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.12 s
[opt-env-conf-test] (c :| rest)
1845.12 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1845.12 s
[opt-env-conf-test] + | c `elem` dasheds && n o t ( not (null rest) ) ->
1845.12 s
[opt-env-conf-test] Just rest
1845.12 s
[opt-env-conf-test] _ -> Nothing
1845.12 s
[opt-env-conf-test]
1845.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:282:7-42
1845.12 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.12 s
[opt-env-conf-test] Maybe String
1845.12 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1845.12 s
[opt-env-conf-test] (c :| rest)
1845.12 s
[opt-env-conf-test] - | c `e lem` d as heds && not ( n u l l r e s t ) ->
1845.12 s
[opt-env-conf-test] + | Tr u e ->
1845.12 s
[opt-env-conf-test] Just rest
1845.12 s
[opt-env-conf-test] _ -> Nothing
1845.12 s
[opt-env-conf-test]
1845.12 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Args.hs:282:7-42
1845.12 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1845.12 s
[opt-env-conf-test] Maybe String
1851.29 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1851.29 s
[opt-env-conf-test] (c :| rest)
1851.31 s
[opt-env-conf-test] - | c `elem` dasheds & & not (null rest) ->
1851.31 s
[opt-env-conf-test] + | c `elem` dasheds | | not (null rest) ->
1851.31 s
[opt-env-conf-test] Just rest
1851.31 s
[opt-env-conf-test] _ -> Nothing
1851.31 s
[opt-env-conf-test]
1851.31 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:282:7-42
1851.31 s
[opt-env-conf-test] @@ -279,7 +279,7 @@
1851.31 s
[opt-env-conf-test] Maybe String
1851.31 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1851.31 s
[opt-env-conf-test] (c :| rest)
1851.31 s
[opt-env-conf-test] - | c `elem` dasheds && not (null rest) ->
1851.31 s
[opt-env-conf-test] + | n o t ( c `elem` dasheds && not (null rest) ) ->
1851.31 s
[opt-env-conf-test] Just rest
1851.31 s
[opt-env-conf-test] _ -> Nothing
1851.31 s
[opt-env-conf-test]
1851.31 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:283:9-18
1851.31 s
[opt-env-conf-test] @@ -280,7 +280,7 @@
1851.31 s
[opt-env-conf-test] consumeShortDashedShorthandOption dasheds = \case
1851.31 s
[opt-env-conf-test] (c :| rest)
1851.32 s
[opt-env-conf-test] | c `elem` dasheds && not (null rest) ->
1851.32 s
[opt-env-conf-test] - J u st re s t
1851.32 s
[opt-env-conf-test] + N o t h ing
1851.32 s
[opt-env-conf-test] _ -> Nothing
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] -- Can consume only the last in a folded dashed
1851.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1851.32 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1851.32 s
[opt-env-conf-test] NonEmpty Char ->
1851.32 s
[opt-env-conf-test] Maybe String
1851.32 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1851.32 s
[opt-env-conf-test] - if i s L on g
1851.32 s
[opt-env-conf-test] + if Tru e
1851.32 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1851.32 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:258:6-12
1851.32 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1851.32 s
[opt-env-conf-test] NonEmpty Char ->
1851.32 s
[opt-env-conf-test] Maybe String
1851.32 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1851.32 s
[opt-env-conf-test] - if i s Long
1851.32 s
[opt-env-conf-test] + if F a l s e
1851.32 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1851.32 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:258:6-12
1851.32 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
1851.32 s
[opt-env-conf-test] NonEmpty Char ->
1851.32 s
[opt-env-conf-test] Maybe String
1851.32 s
[opt-env-conf-test] consumeDashedShorthandOption dasheds isLong cs =
1851.32 s
[opt-env-conf-test] - if isLong
1851.32 s
[opt-env-conf-test] + if n o t ( isLong )
1851.32 s
[opt-env-conf-test] then consumeLongDashedShorthandOption (longDasheds dasheds) cs
1851.32 s
[opt-env-conf-test] else consumeShortDashedShorthandOption (shortDasheds dasheds) cs
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1851.32 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1851.32 s
[opt-env-conf-test] renderArg = \case
1851.32 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1851.32 s
[opt-env-conf-test] ArgBareDash -> "-"
1851.32 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1851.32 s
[opt-env-conf-test] + ArgDashed l cs -> (if T r u e then "--" else "-") <> NE.toList cs
1851.32 s
[opt-env-conf-test] ArgPlain a -> a
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1851.32 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:89:25-26
1851.32 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1851.32 s
[opt-env-conf-test] renderArg = \case
1851.32 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1851.32 s
[opt-env-conf-test] ArgBareDash -> "-"
1851.32 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1851.32 s
[opt-env-conf-test] + ArgDashed l cs -> (if F a l s e then "--" else "-") <> NE.toList cs
1851.32 s
[opt-env-conf-test] ArgPlain a -> a
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1851.32 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:89:25-26
1851.32 s
[opt-env-conf-test] @@ -86,7 +86,7 @@
1851.32 s
[opt-env-conf-test] renderArg = \case
1851.32 s
[opt-env-conf-test] ArgBareDoubleDash -> "--"
1851.32 s
[opt-env-conf-test] ArgBareDash -> "-"
1851.32 s
[opt-env-conf-test] - ArgDashed l cs -> (if l then "--" else "-") <> NE.toList cs
1851.32 s
[opt-env-conf-test] + ArgDashed l cs -> (if n o t ( l ) then "--" else "-") <> NE.toList cs
1851.32 s
[opt-env-conf-test] ArgPlain a -> a
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] -- | An abstraction over '[String]' that makes it easier to implement
1851.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1851.32 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1851.32 s
[opt-env-conf-test] -- things like a default command.
1851.32 s
[opt-env-conf-test] let addConsumeNothing = \case
1851.32 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1851.32 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1851.32 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1851.32 s
[opt-env-conf-test] - Nothing -> r
1851.32 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1851.32 s
[opt-env-conf-test]
1851.32 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1851.32 s
[opt-env-conf-test] [] -> []
1851.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:133:33-47
1851.33 s
[opt-env-conf-test] @@ -130,10 +130,9 @@
1851.33 s
[opt-env-conf-test] -- things like a default command.
1851.33 s
[opt-env-conf-test] let addConsumeNothing = \case
1851.33 s
[opt-env-conf-test] [] -> [(Nothing, as)]
1851.33 s
[opt-env-conf-test] r@(t@(mA, _) : rest) -> case mA of
1851.33 s
[opt-env-conf-test] -- If not consuming anything is already an option, don't add it to the end.
1851.33 s
[opt-env-conf-test] Nothing -> r
1851.33 s
[opt-env-conf-test] - Just _ -> t : addConsumeNothing rest
1851.33 s
[opt-env-conf-test]
1851.33 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1851.33 s
[opt-env-conf-test] [] -> []
1851.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:148:35-45
1851.33 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
1851.33 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1851.33 s
[opt-env-conf-test] Live a -> case a of
1851.33 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1851.33 s
[opt-env-conf-test] - ArgPlain plain -> [( J u s t pl a in , consumed)]
1851.33 s
[opt-env-conf-test] + ArgPlain plain -> [( No t h in g , consumed)]
1851.33 s
[opt-env-conf-test] -- A single dash is always an argument
1851.33 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1851.33 s
[opt-env-conf-test] -- Bare double-dash
1851.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:150:32-40
1851.33 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
1851.33 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1851.33 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1851.33 s
[opt-env-conf-test] -- A single dash is always an argument
1851.33 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
1851.33 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
1851.33 s
[opt-env-conf-test] -- Bare double-dash
1851.33 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1851.33 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1851.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:154:25-34
1851.33 s
[opt-env-conf-test] @@ -151,7 +151,7 @@
1851.33 s
[opt-env-conf-test] -- Bare double-dash
1851.33 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1851.33 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1851.33 s
[opt-env-conf-test] - [] -> [( J u s t " -- " , consumed)]
1851.33 s
[opt-env-conf-test] + [] -> [( No t hing , consumed)]
1851.33 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1851.33 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1851.33 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1851.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:168:45-60
1851.33 s
[opt-env-conf-test] @@ -165,7 +165,7 @@
1851.33 s
[opt-env-conf-test] let go = \case
1851.33 s
[opt-env-conf-test] [] -> Nothing
1851.33 s
[opt-env-conf-test] (Dead : rest) -> go rest
1851.33 s
[opt-env-conf-test] - (Live a' : rest) -> J u st (a', r es t )
1851.33 s
[opt-env-conf-test] + (Live a' : rest) -> No t hin g
1851.33 s
[opt-env-conf-test] in case go afters of
1851.33 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1851.33 s
[opt-env-conf-test] Just (firstLive, rest) ->
1851.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1851.33 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
1851.33 s
[opt-env-conf-test] [] -> Nothing
1851.33 s
[opt-env-conf-test] (Dead : rest) -> go rest
1851.33 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1851.33 s
[opt-env-conf-test] in case go afters of
1851.33 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1851.33 s
[opt-env-conf-test] Just (firstLive, rest) ->
1851.33 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1851.33 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1851.33 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1851.34 s
[opt-env-conf-test] -- arguments.
1851.34 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1851.50 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1851.50 s
[opt-env-conf-test] )
1851.50 s
[opt-env-conf-test] ]
1851.50 s
[opt-env-conf-test] ArgDashed {} ->
1851.50 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1851.50 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1851.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:169:23-28
1851.50 s
[opt-env-conf-test] @@ -166,17 +166,8 @@
1851.50 s
[opt-env-conf-test] [] -> Nothing
1851.50 s
[opt-env-conf-test] (Dead : rest) -> go rest
1851.50 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1851.50 s
[opt-env-conf-test] in case go afters of
1851.50 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1851.50 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1851.50 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1851.50 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1851.50 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1851.50 s
[opt-env-conf-test] - -- arguments.
1851.50 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1851.50 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1851.50 s
[opt-env-conf-test] - )
1851.50 s
[opt-env-conf-test] - ]
1851.50 s
[opt-env-conf-test] ArgDashed {} ->
1851.50 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1851.50 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1851.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1851.50 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1851.50 s
[opt-env-conf-test] -- A single dash is always an argument
1851.50 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1851.50 s
[opt-env-conf-test] -- Bare double-dash
1851.50 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1851.50 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1851.50 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1851.50 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1851.50 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1851.50 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1851.50 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1851.50 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1851.50 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1851.50 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1851.50 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1851.50 s
[opt-env-conf-test] -- pop the args as they come.
1851.50 s
[opt-env-conf-test] _ ->
1851.50 s
[opt-env-conf-test] let go = \case
1851.50 s
[opt-env-conf-test] [] -> Nothing
1851.50 s
[opt-env-conf-test] (Dead : rest) -> go rest
1851.50 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1851.50 s
[opt-env-conf-test] in case go afters of
1851.50 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1851.50 s
[opt-env-conf-test] Just (firstLive, rest) ->
1851.50 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1851.50 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1851.50 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1851.51 s
[opt-env-conf-test] -- arguments.
1851.51 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1851.51 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1851.51 s
[opt-env-conf-test] )
1851.51 s
[opt-env-conf-test] ]
1851.51 s
[opt-env-conf-test] ArgDashed {} ->
1852.08 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1852.09 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1852.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1852.09 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
1852.09 s
[opt-env-conf-test] -- A single dash is always an argument
1852.09 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1852.09 s
[opt-env-conf-test] -- Bare double-dash
1852.09 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1852.09 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1852.09 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1852.09 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1852.09 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1852.09 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1852.09 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1852.09 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1852.09 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1852.09 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1852.09 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1852.09 s
[opt-env-conf-test] -- pop the args as they come.
1852.09 s
[opt-env-conf-test] _ ->
1852.09 s
[opt-env-conf-test] let go = \case
1852.09 s
[opt-env-conf-test] [] -> Nothing
1852.09 s
[opt-env-conf-test] (Dead : rest) -> go rest
1852.09 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1852.09 s
[opt-env-conf-test] in case go afters of
1852.09 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1852.09 s
[opt-env-conf-test] Just (firstLive, rest) ->
1852.09 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1852.09 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1852.09 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1852.09 s
[opt-env-conf-test] -- arguments.
1852.09 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1852.09 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1852.09 s
[opt-env-conf-test] )
1852.09 s
[opt-env-conf-test] ]
1852.09 s
[opt-env-conf-test] ArgDashed {} ->
1852.21 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1852.21 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1852.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:152:36-28
1852.21 s
[opt-env-conf-test] @@ -149,34 +149,18 @@
1852.21 s
[opt-env-conf-test] -- A single dash is always an argument
1852.21 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1852.21 s
[opt-env-conf-test] -- Bare double-dash
1852.21 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1852.21 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1852.21 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1852.21 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1852.21 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1852.21 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1852.21 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1852.21 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1852.21 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1852.21 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1852.21 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1852.21 s
[opt-env-conf-test] -- pop the args as they come.
1852.21 s
[opt-env-conf-test] - _ ->
1852.21 s
[opt-env-conf-test] - let go = \case
1852.21 s
[opt-env-conf-test] - [] -> Nothing
1852.21 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1852.21 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1852.21 s
[opt-env-conf-test] - in case go afters of
1852.21 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1852.21 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1852.21 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1852.21 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1852.21 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1852.21 s
[opt-env-conf-test] - -- arguments.
1852.21 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1852.21 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1852.21 s
[opt-env-conf-test] - )
1855.08 s
[opt-env-conf-test] - ]
1855.08 s
[opt-env-conf-test] ArgDashed {} ->
1855.08 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1855.08 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1855.08 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:187:31-49
1855.08 s
[opt-env-conf-test] @@ -184,7 +184,7 @@
1855.08 s
[opt-env-conf-test] -- TODO we need to continue looking too
1855.08 s
[opt-env-conf-test] let switchCase =
1855.08 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1855.08 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
1855.08 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
1855.08 s
[opt-env-conf-test] ]
1855.08 s
[opt-env-conf-test] in case afters of
1855.08 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1855.08 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:201:39-57
1855.08 s
[opt-env-conf-test] @@ -198,7 +198,7 @@
1855.08 s
[opt-env-conf-test] ( case a' of
1855.08 s
[opt-env-conf-test] ArgDashed {} ->
1855.08 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1855.08 s
[opt-env-conf-test] - ++ [ ( J us t (r e n d e rA r g a ) , consumed)
1855.08 s
[opt-env-conf-test] + ++ [ ( N o t hi n g , consumed)
1855.08 s
[opt-env-conf-test] ]
1855.08 s
[opt-env-conf-test] _ ->
1855.08 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
1855.08 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
1855.08 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1855.08 s
[opt-env-conf-test] ]
1855.08 s
[opt-env-conf-test] _ ->
1855.08 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.08 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.08 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1855.08 s
[opt-env-conf-test] ]
1855.08 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:204:65-82
1855.08 s
[opt-env-conf-test] @@ -201,7 +201,6 @@
1855.08 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1855.08 s
[opt-env-conf-test] ]
1855.08 s
[opt-env-conf-test] _ ->
1855.08 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.08 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.08 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1855.08 s
[opt-env-conf-test] ]
1855.08 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:205:39-58
1855.08 s
[opt-env-conf-test] @@ -202,7 +202,7 @@
1855.08 s
[opt-env-conf-test] ]
1855.08 s
[opt-env-conf-test] _ ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] - ++ [ ( J us t ( re n d e rA r g a ' ) , Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] + ++ [ ( N o t h i n g , Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] )
1855.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1855.09 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] _ ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] )
1855.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:77-91
1855.09 s
[opt-env-conf-test] @@ -202,7 +202,6 @@
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] _ ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] )
1855.09 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:206:39-57
1855.09 s
[opt-env-conf-test] @@ -203,7 +203,7 @@
1855.09 s
[opt-env-conf-test] _ ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] - ( J us t (r e n d e rA r g a ) , consumed)
1855.09 s
[opt-env-conf-test] + ( N o t hi n g , consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] )
1855.09 s
[opt-env-conf-test]
1855.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
1855.09 s
[opt-env-conf-test] @@ -202,9 +202,7 @@
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] _ ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] )
1855.09 s
[opt-env-conf-test]
1855.09 s
[opt-env-conf-test] -- | Consume an option.
1855.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:205:36-37
1855.09 s
[opt-env-conf-test] @@ -202,9 +202,8 @@
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] _ ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] )
1855.09 s
[opt-env-conf-test]
1855.09 s
[opt-env-conf-test] -- | Consume an option.
1855.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
1855.09 s
[opt-env-conf-test] @@ -195,16 +195,12 @@
1855.09 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1855.09 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1855.09 s
[opt-env-conf-test] -- * The dashed is an argument
1855.09 s
[opt-env-conf-test] ( case a' of
1855.09 s
[opt-env-conf-test] - ArgDashed {} ->
1855.09 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1855.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] - ]
1855.09 s
[opt-env-conf-test] _ ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1855.09 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] )
1855.09 s
[opt-env-conf-test]
1855.09 s
[opt-env-conf-test] -- | Consume an option.
1855.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:198:27-37
1855.09 s
[opt-env-conf-test] @@ -195,16 +195,11 @@
1855.09 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1855.09 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1855.09 s
[opt-env-conf-test] -- * The dashed is an argument
1855.09 s
[opt-env-conf-test] ( case a' of
1855.09 s
[opt-env-conf-test] ArgDashed {} ->
1855.09 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1855.09 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1855.09 s
[opt-env-conf-test] ]
1855.09 s
[opt-env-conf-test] - _ ->
1855.09 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1855.09 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1857.83 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1857.91 s
[opt-env-conf-test] - ]
1857.91 s
[opt-env-conf-test] )
1857.91 s
[opt-env-conf-test]
1857.91 s
[opt-env-conf-test] -- | Consume an option.
1857.91 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1857.91 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
1857.91 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1857.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] ]
1857.92 s
[opt-env-conf-test] in case afters of
1857.92 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1857.92 s
[opt-env-conf-test] - [] -> switchCase
1857.92 s
[opt-env-conf-test] (Dead : _) -> switchCase
1857.92 s
[opt-env-conf-test] (Live a' : rest) ->
1857.92 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1857.92 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1857.92 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1857.92 s
[opt-env-conf-test] -- * The dashed is an argument
1857.92 s
[opt-env-conf-test] ( case a' of
1857.92 s
[opt-env-conf-test] ArgDashed {} ->
1857.92 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1857.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] ]
1857.92 s
[opt-env-conf-test] _ ->
1857.92 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1857.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1857.92 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] ]
1857.92 s
[opt-env-conf-test] )
1857.92 s
[opt-env-conf-test]
1857.92 s
[opt-env-conf-test] -- | Consume an option.
1857.92 s
[opt-env-conf-test] --
1857.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1857.92 s
[opt-env-conf-test] @@ -186,26 +186,25 @@
1857.92 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1857.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] ]
1857.92 s
[opt-env-conf-test] in case afters of
1857.92 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1857.92 s
[opt-env-conf-test] [] -> switchCase
1857.92 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1857.92 s
[opt-env-conf-test] (Live a' : rest) ->
1857.92 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1857.92 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1857.92 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1857.92 s
[opt-env-conf-test] -- * The dashed is an argument
1857.92 s
[opt-env-conf-test] ( case a' of
1857.92 s
[opt-env-conf-test] ArgDashed {} ->
1857.92 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1857.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] ]
1857.92 s
[opt-env-conf-test] _ ->
1857.92 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1857.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1857.92 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] ]
1857.92 s
[opt-env-conf-test] )
1857.92 s
[opt-env-conf-test]
1857.92 s
[opt-env-conf-test] -- | Consume an option.
1857.92 s
[opt-env-conf-test] --
1857.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:189:21-26
1857.92 s
[opt-env-conf-test] @@ -186,26 +186,10 @@
1857.92 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1857.92 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] ]
1857.92 s
[opt-env-conf-test] in case afters of
1857.92 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1857.92 s
[opt-env-conf-test] [] -> switchCase
1857.92 s
[opt-env-conf-test] (Dead : _) -> switchCase
1857.92 s
[opt-env-conf-test] - (Live a' : rest) ->
1857.92 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1857.92 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1857.92 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1857.92 s
[opt-env-conf-test] - -- * The dashed is an argument
1857.92 s
[opt-env-conf-test] - ( case a' of
1857.92 s
[opt-env-conf-test] - ArgDashed {} ->
1857.92 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1857.92 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] - ]
1857.92 s
[opt-env-conf-test] - _ ->
1857.92 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1857.92 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1857.92 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1857.92 s
[opt-env-conf-test] - ]
1857.92 s
[opt-env-conf-test] - )
1857.92 s
[opt-env-conf-test]
1857.92 s
[opt-env-conf-test] -- | Consume an option.
1857.92 s
[opt-env-conf-test] --
1857.92 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1857.92 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
1857.92 s
[opt-env-conf-test] in case firstArg of
1857.92 s
[opt-env-conf-test] -- Skip any dead argument
1857.92 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1857.92 s
[opt-env-conf-test] Live a -> case a of
1857.92 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1857.92 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1857.92 s
[opt-env-conf-test] -- A single dash is always an argument
1857.92 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1857.92 s
[opt-env-conf-test] -- Bare double-dash
1857.93 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1857.93 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1857.93 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1857.93 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1857.93 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1857.93 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1857.93 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1857.93 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1857.93 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1857.93 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1857.93 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1857.93 s
[opt-env-conf-test] -- pop the args as they come.
1857.93 s
[opt-env-conf-test] _ ->
1857.93 s
[opt-env-conf-test] let go = \case
1857.93 s
[opt-env-conf-test] [] -> Nothing
1857.93 s
[opt-env-conf-test] (Dead : rest) -> go rest
1857.93 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1857.93 s
[opt-env-conf-test] in case go afters of
1857.93 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1857.93 s
[opt-env-conf-test] Just (firstLive, rest) ->
1857.93 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1857.93 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1857.93 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1857.93 s
[opt-env-conf-test] -- arguments.
1858.31 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1858.31 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1858.31 s
[opt-env-conf-test] )
1858.31 s
[opt-env-conf-test] ]
1858.31 s
[opt-env-conf-test] ArgDashed {} ->
1858.31 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1858.31 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1858.31 s
[opt-env-conf-test] -- * The dashed is an argument
1858.31 s
[opt-env-conf-test] -- TODO we need to continue looking too
1858.31 s
[opt-env-conf-test] let switchCase =
1858.31 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1858.31 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1858.32 s
[opt-env-conf-test] ]
1858.32 s
[opt-env-conf-test] in case afters of
1858.32 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1858.32 s
[opt-env-conf-test] [] -> switchCase
1858.32 s
[opt-env-conf-test] (Dead : _) -> switchCase
1858.32 s
[opt-env-conf-test] (Live a' : rest) ->
1858.32 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1858.32 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1858.32 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1858.32 s
[opt-env-conf-test] -- * The dashed is an argument
1858.32 s
[opt-env-conf-test] ( case a' of
1858.32 s
[opt-env-conf-test] ArgDashed {} ->
1858.32 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1858.32 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1858.32 s
[opt-env-conf-test] ]
1858.32 s
[opt-env-conf-test] _ ->
1858.32 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1858.32 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1858.32 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1858.32 s
[opt-env-conf-test] ]
1858.32 s
[opt-env-conf-test] )
1858.32 s
[opt-env-conf-test]
1858.32 s
[opt-env-conf-test] -- | Consume an option.
1858.32 s
[opt-env-conf-test] --
1858.32 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1858.32 s
[opt-env-conf-test] @@ -143,69 +143,68 @@
1858.32 s
[opt-env-conf-test] in case firstArg of
1858.32 s
[opt-env-conf-test] -- Skip any dead argument
1858.32 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1858.32 s
[opt-env-conf-test] Live a -> case a of
1858.32 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1858.32 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1858.32 s
[opt-env-conf-test] -- A single dash is always an argument
1858.32 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1858.32 s
[opt-env-conf-test] -- Bare double-dash
1858.32 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1858.32 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1858.32 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1858.32 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1858.32 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1858.32 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1858.32 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1858.32 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1858.32 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1858.32 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1858.32 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1858.32 s
[opt-env-conf-test] -- pop the args as they come.
1858.32 s
[opt-env-conf-test] _ ->
1858.32 s
[opt-env-conf-test] let go = \case
1858.32 s
[opt-env-conf-test] [] -> Nothing
1858.32 s
[opt-env-conf-test] (Dead : rest) -> go rest
1858.32 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1858.32 s
[opt-env-conf-test] in case go afters of
1858.32 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1858.32 s
[opt-env-conf-test] Just (firstLive, rest) ->
1858.32 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1858.32 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1858.32 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1858.32 s
[opt-env-conf-test] -- arguments.
1858.37 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1858.37 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1858.37 s
[opt-env-conf-test] )
1858.37 s
[opt-env-conf-test] ]
1858.37 s
[opt-env-conf-test] ArgDashed {} ->
1858.37 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1858.37 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1858.37 s
[opt-env-conf-test] -- * The dashed is an argument
1858.37 s
[opt-env-conf-test] -- TODO we need to continue looking too
1858.37 s
[opt-env-conf-test] let switchCase =
1858.37 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1858.37 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1858.37 s
[opt-env-conf-test] ]
1858.37 s
[opt-env-conf-test] in case afters of
1858.37 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1858.37 s
[opt-env-conf-test] [] -> switchCase
1858.37 s
[opt-env-conf-test] (Dead : _) -> switchCase
1858.37 s
[opt-env-conf-test] (Live a' : rest) ->
1858.37 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1858.37 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1858.37 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1858.37 s
[opt-env-conf-test] -- * The dashed is an argument
1858.37 s
[opt-env-conf-test] ( case a' of
1858.38 s
[opt-env-conf-test] ArgDashed {} ->
1858.38 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1858.38 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1858.38 s
[opt-env-conf-test] ]
1858.38 s
[opt-env-conf-test] _ ->
1858.38 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1858.38 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1858.38 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1858.38 s
[opt-env-conf-test] ]
1858.38 s
[opt-env-conf-test] )
1858.38 s
[opt-env-conf-test]
1858.38 s
[opt-env-conf-test] -- | Consume an option.
1858.38 s
[opt-env-conf-test] --
1858.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1858.38 s
[opt-env-conf-test] @@ -143,69 +143,41 @@
1858.38 s
[opt-env-conf-test] in case firstArg of
1858.38 s
[opt-env-conf-test] -- Skip any dead argument
1858.38 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1858.38 s
[opt-env-conf-test] Live a -> case a of
1858.38 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1858.38 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1858.38 s
[opt-env-conf-test] -- A single dash is always an argument
1858.38 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1858.38 s
[opt-env-conf-test] -- Bare double-dash
1858.38 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1858.38 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1858.38 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1858.38 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1858.38 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1858.38 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1858.38 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1858.38 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1858.38 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1858.38 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1858.38 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1858.38 s
[opt-env-conf-test] - -- pop the args as they come.
1858.38 s
[opt-env-conf-test] - _ ->
1858.38 s
[opt-env-conf-test] - let go = \case
1858.38 s
[opt-env-conf-test] - [] -> Nothing
1858.38 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1858.38 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1858.38 s
[opt-env-conf-test] - in case go afters of
1858.38 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1858.38 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1858.38 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1858.38 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1858.38 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1858.38 s
[opt-env-conf-test] - -- arguments.
1858.38 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1858.38 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1858.38 s
[opt-env-conf-test] - )
1858.38 s
[opt-env-conf-test] - ]
1858.38 s
[opt-env-conf-test] ArgDashed {} ->
1858.38 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1858.38 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1858.38 s
[opt-env-conf-test] -- * The dashed is an argument
1858.38 s
[opt-env-conf-test] -- TODO we need to continue looking too
1858.38 s
[opt-env-conf-test] let switchCase =
1858.38 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1858.38 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1858.38 s
[opt-env-conf-test] ]
1858.38 s
[opt-env-conf-test] in case afters of
1858.38 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1858.38 s
[opt-env-conf-test] [] -> switchCase
1858.38 s
[opt-env-conf-test] (Dead : _) -> switchCase
1858.38 s
[opt-env-conf-test] (Live a' : rest) ->
1858.38 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1858.38 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1858.38 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1858.38 s
[opt-env-conf-test] -- * The dashed is an argument
1858.38 s
[opt-env-conf-test] ( case a' of
1858.38 s
[opt-env-conf-test] ArgDashed {} ->
1858.38 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1858.38 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1858.38 s
[opt-env-conf-test] ]
1858.38 s
[opt-env-conf-test] _ ->
1858.38 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1858.38 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1858.38 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1858.59 s
[opt-env-conf-test] ]
1858.60 s
[opt-env-conf-test] )
1858.60 s
[opt-env-conf-test]
1858.60 s
[opt-env-conf-test] -- | Consume an option.
1858.60 s
[opt-env-conf-test] --
1858.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:146:23-26
1858.60 s
[opt-env-conf-test] @@ -143,69 +143,40 @@
1858.60 s
[opt-env-conf-test] in case firstArg of
1858.60 s
[opt-env-conf-test] -- Skip any dead argument
1858.60 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1858.60 s
[opt-env-conf-test] Live a -> case a of
1858.60 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1858.60 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1858.60 s
[opt-env-conf-test] -- A single dash is always an argument
1858.60 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1858.60 s
[opt-env-conf-test] -- Bare double-dash
1858.60 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1858.60 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1858.60 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1858.60 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1858.60 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1858.60 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1858.60 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1858.60 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1858.60 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1858.60 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1858.60 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1858.60 s
[opt-env-conf-test] -- pop the args as they come.
1858.60 s
[opt-env-conf-test] _ ->
1858.60 s
[opt-env-conf-test] let go = \case
1858.60 s
[opt-env-conf-test] [] -> Nothing
1858.60 s
[opt-env-conf-test] (Dead : rest) -> go rest
1858.60 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1858.60 s
[opt-env-conf-test] in case go afters of
1858.60 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1858.60 s
[opt-env-conf-test] Just (firstLive, rest) ->
1858.61 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1858.61 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1858.61 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1858.61 s
[opt-env-conf-test] -- arguments.
1858.61 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1858.61 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1858.61 s
[opt-env-conf-test] )
1858.61 s
[opt-env-conf-test] ]
1858.61 s
[opt-env-conf-test] - ArgDashed {} ->
1858.61 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1858.61 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1858.61 s
[opt-env-conf-test] - -- * The dashed is an argument
1858.61 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1858.61 s
[opt-env-conf-test] - let switchCase =
1858.61 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1858.61 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1858.61 s
[opt-env-conf-test] - ]
1858.61 s
[opt-env-conf-test] - in case afters of
1858.61 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1858.61 s
[opt-env-conf-test] - [] -> switchCase
1858.61 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1858.61 s
[opt-env-conf-test] - (Live a' : rest) ->
1858.61 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1858.61 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1858.61 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1858.61 s
[opt-env-conf-test] - -- * The dashed is an argument
1858.61 s
[opt-env-conf-test] - ( case a' of
1858.61 s
[opt-env-conf-test] - ArgDashed {} ->
1858.61 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1858.61 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1858.61 s
[opt-env-conf-test] - ]
1858.61 s
[opt-env-conf-test] - _ ->
1858.61 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1858.61 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1858.61 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1859.18 s
[opt-env-conf-test] - ]
1859.18 s
[opt-env-conf-test] - )
1859.18 s
[opt-env-conf-test]
1859.18 s
[opt-env-conf-test] -- | Consume an option.
1859.18 s
[opt-env-conf-test] --
1859.18 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
1859.18 s
[opt-env-conf-test] @@ -140,72 +140,71 @@
1859.18 s
[opt-env-conf-test] (firstArg : afters) ->
1859.18 s
[opt-env-conf-test] let befores = argsBefore as
1859.18 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1859.18 s
[opt-env-conf-test] in case firstArg of
1859.18 s
[opt-env-conf-test] -- Skip any dead argument
1859.18 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
1859.18 s
[opt-env-conf-test] Live a -> case a of
1859.19 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1859.19 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1859.19 s
[opt-env-conf-test] -- A single dash is always an argument
1859.19 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1859.19 s
[opt-env-conf-test] -- Bare double-dash
1859.19 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1859.19 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1859.19 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1859.19 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1859.19 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1859.19 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1859.19 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1859.19 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1859.19 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1859.19 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1859.19 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1859.19 s
[opt-env-conf-test] -- pop the args as they come.
1859.19 s
[opt-env-conf-test] _ ->
1859.19 s
[opt-env-conf-test] let go = \case
1859.19 s
[opt-env-conf-test] [] -> Nothing
1859.19 s
[opt-env-conf-test] (Dead : rest) -> go rest
1859.19 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1859.19 s
[opt-env-conf-test] in case go afters of
1859.19 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1859.19 s
[opt-env-conf-test] Just (firstLive, rest) ->
1859.19 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1859.19 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1859.70 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1859.70 s
[opt-env-conf-test] -- arguments.
1859.71 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1859.71 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1859.71 s
[opt-env-conf-test] )
1859.71 s
[opt-env-conf-test] ]
1859.71 s
[opt-env-conf-test] ArgDashed {} ->
1859.71 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1859.71 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1859.71 s
[opt-env-conf-test] -- * The dashed is an argument
1859.71 s
[opt-env-conf-test] -- TODO we need to continue looking too
1859.71 s
[opt-env-conf-test] let switchCase =
1859.71 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1859.71 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1859.71 s
[opt-env-conf-test] ]
1859.71 s
[opt-env-conf-test] in case afters of
1859.71 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1859.71 s
[opt-env-conf-test] [] -> switchCase
1859.71 s
[opt-env-conf-test] (Dead : _) -> switchCase
1859.71 s
[opt-env-conf-test] (Live a' : rest) ->
1859.71 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1859.71 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1859.71 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1859.71 s
[opt-env-conf-test] -- * The dashed is an argument
1859.71 s
[opt-env-conf-test] ( case a' of
1859.71 s
[opt-env-conf-test] ArgDashed {} ->
1859.71 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1859.71 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1859.71 s
[opt-env-conf-test] ]
1859.71 s
[opt-env-conf-test] _ ->
1859.71 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1859.71 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1859.71 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1859.71 s
[opt-env-conf-test] ]
1859.71 s
[opt-env-conf-test] )
1859.71 s
[opt-env-conf-test]
1859.71 s
[opt-env-conf-test] -- | Consume an option.
1859.71 s
[opt-env-conf-test] --
1859.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:143:11-26
1859.71 s
[opt-env-conf-test] @@ -140,72 +140,9 @@
1859.71 s
[opt-env-conf-test] (firstArg : afters) ->
1859.71 s
[opt-env-conf-test] let befores = argsBefore as
1859.71 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1859.71 s
[opt-env-conf-test] in case firstArg of
1859.71 s
[opt-env-conf-test] -- Skip any dead argument
1859.71 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1859.71 s
[opt-env-conf-test] - Live a -> case a of
1859.71 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
1859.71 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1859.71 s
[opt-env-conf-test] - -- A single dash is always an argument
1859.71 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1859.71 s
[opt-env-conf-test] - -- Bare double-dash
1859.71 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1859.71 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1859.71 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1859.71 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1859.71 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1859.71 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1859.71 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1859.71 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1859.71 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1859.71 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1859.71 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1859.71 s
[opt-env-conf-test] - -- pop the args as they come.
1859.71 s
[opt-env-conf-test] - _ ->
1859.71 s
[opt-env-conf-test] - let go = \case
1859.71 s
[opt-env-conf-test] - [] -> Nothing
1859.71 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1859.71 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1859.71 s
[opt-env-conf-test] - in case go afters of
1859.71 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1859.72 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1859.72 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1859.72 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1859.72 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1859.72 s
[opt-env-conf-test] - -- arguments.
1859.72 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1859.72 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1859.72 s
[opt-env-conf-test] - )
1859.72 s
[opt-env-conf-test] - ]
1859.72 s
[opt-env-conf-test] - ArgDashed {} ->
1859.72 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1859.72 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1859.72 s
[opt-env-conf-test] - -- * The dashed is an argument
1859.72 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1859.72 s
[opt-env-conf-test] - let switchCase =
1859.72 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1859.72 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1859.72 s
[opt-env-conf-test] - ]
1859.72 s
[opt-env-conf-test] - in case afters of
1859.72 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1859.72 s
[opt-env-conf-test] - [] -> switchCase
1859.72 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1859.72 s
[opt-env-conf-test] - (Live a' : rest) ->
1859.72 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1859.72 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1859.72 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1859.72 s
[opt-env-conf-test] - -- * The dashed is an argument
1859.72 s
[opt-env-conf-test] - ( case a' of
1859.72 s
[opt-env-conf-test] - ArgDashed {} ->
1859.72 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1859.72 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1859.72 s
[opt-env-conf-test] - ]
1859.72 s
[opt-env-conf-test] - _ ->
1859.72 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1859.72 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1859.72 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1859.72 s
[opt-env-conf-test] - ]
1859.72 s
[opt-env-conf-test] - )
1859.72 s
[opt-env-conf-test]
1859.72 s
[opt-env-conf-test] -- | Consume an option.
1859.72 s
[opt-env-conf-test] --
1859.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
1859.72 s
[opt-env-conf-test] @@ -135,77 +135,76 @@
1859.72 s
[opt-env-conf-test] Nothing -> r
1859.72 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1859.72 s
[opt-env-conf-test]
1859.72 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1859.72 s
[opt-env-conf-test] - [] -> []
1859.72 s
[opt-env-conf-test] (firstArg : afters) ->
1859.72 s
[opt-env-conf-test] let befores = argsBefore as
1859.72 s
[opt-env-conf-test] consumed = Args (befores ++ [Dead]) afters
1859.72 s
[opt-env-conf-test] in case firstArg of
1859.72 s
[opt-env-conf-test] -- Skip any dead argument
1859.72 s
[opt-env-conf-test] Dead -> consumeArgument consumed
1859.72 s
[opt-env-conf-test] Live a -> case a of
1859.72 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
1859.72 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
1859.72 s
[opt-env-conf-test] -- A single dash is always an argument
1859.72 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
1859.72 s
[opt-env-conf-test] -- Bare double-dash
1859.72 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
1859.72 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
1859.72 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
1859.72 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
1859.72 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
1859.72 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
1859.72 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1859.72 s
[opt-env-conf-test] [Dead] -> [(Nothing, Args befores [])]
1859.72 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
1859.72 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
1859.72 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
1859.72 s
[opt-env-conf-test] -- pop the args as they come.
1859.72 s
[opt-env-conf-test] _ ->
1859.72 s
[opt-env-conf-test] let go = \case
1859.72 s
[opt-env-conf-test] [] -> Nothing
1859.72 s
[opt-env-conf-test] (Dead : rest) -> go rest
1859.72 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
1859.72 s
[opt-env-conf-test] in case go afters of
1859.72 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
1859.72 s
[opt-env-conf-test] Just (firstLive, rest) ->
1859.72 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
1859.72 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
1859.72 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
1859.72 s
[opt-env-conf-test] -- arguments.
1859.72 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
1859.72 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
1859.72 s
[opt-env-conf-test] )
1859.72 s
[opt-env-conf-test] ]
1859.72 s
[opt-env-conf-test] ArgDashed {} ->
1859.72 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
1859.72 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
1859.72 s
[opt-env-conf-test] -- * The dashed is an argument
1859.72 s
[opt-env-conf-test] -- TODO we need to continue looking too
1859.72 s
[opt-env-conf-test] let switchCase =
1859.72 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [firstArg]) afters)
1859.72 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1859.72 s
[opt-env-conf-test] ]
1859.72 s
[opt-env-conf-test] in case afters of
1859.72 s
[opt-env-conf-test] -- Last argument is is dashed, that's the same as being followed by a dead argument
1859.72 s
[opt-env-conf-test] [] -> switchCase
1859.72 s
[opt-env-conf-test] (Dead : _) -> switchCase
1859.72 s
[opt-env-conf-test] (Live a' : rest) ->
1859.72 s
[opt-env-conf-test] -- Live after dashed, three options, in order that they should be considered:
1859.72 s
[opt-env-conf-test] -- * The dashed is an option and the live is the value
1859.72 s
[opt-env-conf-test] -- * The dashed is a switch and the live is an argument
1859.72 s
[opt-env-conf-test] -- * The dashed is an argument
1859.72 s
[opt-env-conf-test] ( case a' of
1859.72 s
[opt-env-conf-test] ArgDashed {} ->
1859.72 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a]) afters)
1859.72 s
[opt-env-conf-test] ++ [ (Just (renderArg a), consumed)
1859.72 s
[opt-env-conf-test] ]
1859.72 s
[opt-env-conf-test] _ ->
1859.72 s
[opt-env-conf-test] consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1859.72 s
[opt-env-conf-test] ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1860.27 s
[opt-env-conf-test] (Just (renderArg a), consumed)
1860.27 s
[opt-env-conf-test] ]
1860.27 s
[opt-env-conf-test] )
1860.27 s
[opt-env-conf-test]
1860.27 s
[opt-env-conf-test] -- | Consume an option.
1860.27 s
[opt-env-conf-test] --
1860.27 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:222:31-71
1860.27 s
[opt-env-conf-test] @@ -219,7 +219,7 @@
1860.27 s
[opt-env-conf-test] consumeOption :: [Dashed] -> Args -> Maybe (String, Args)
1860.27 s
[opt-env-conf-test] consumeOption dasheds as = do
1860.27 s
[opt-env-conf-test] case go (argsBefore as) of
1860.27 s
[opt-env-conf-test] - Just (val, newBefores) -> J u s t (val, as {a r g s Before = newBefores})
1860.27 s
[opt-env-conf-test] + Just (val, newBefores) -> No t hin g
1860.27 s
[opt-env-conf-test] Nothing ->
1860.27 s
[opt-env-conf-test] -- TODO option value on the border
1860.27 s
[opt-env-conf-test] case go (argsAfter as) of
1860.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:138:23-26
1860.27 s
[opt-env-conf-test] @@ -135,77 +135,8 @@
1860.27 s
[opt-env-conf-test] Nothing -> r
1860.27 s
[opt-env-conf-test] Just _ -> t : addConsumeNothing rest
1860.27 s
[opt-env-conf-test]
1860.27 s
[opt-env-conf-test] addConsumeNothing $ case argsAfter as of
1860.27 s
[opt-env-conf-test] [] -> []
1860.27 s
[opt-env-conf-test] - (firstArg : afters) ->
1860.27 s
[opt-env-conf-test] - let befores = argsBefore as
1860.28 s
[opt-env-conf-test] - consumed = Args (befores ++ [Dead]) afters
1860.28 s
[opt-env-conf-test] - in case firstArg of
1860.28 s
[opt-env-conf-test] - -- Skip any dead argument
1860.28 s
[opt-env-conf-test] - Dead -> consumeArgument consumed
1860.28 s
[opt-env-conf-test] - Live a -> case a of
1860.28 s
[opt-env-conf-test] - -- Plain argument: that's the only option, consume it.
1860.28 s
[opt-env-conf-test] - ArgPlain plain -> [(Just plain, consumed)]
1860.28 s
[opt-env-conf-test] - -- A single dash is always an argument
1860.28 s
[opt-env-conf-test] - ArgBareDash -> [(Just "-", consumed)]
1860.28 s
[opt-env-conf-test] - -- Bare double-dash
1860.28 s
[opt-env-conf-test] - ArgBareDoubleDash -> case afters of
1860.28 s
[opt-env-conf-test] - -- If it's the last argument, consume it as an argument
1860.28 s
[opt-env-conf-test] - [] -> [(Just "--", consumed)]
1860.28 s
[opt-env-conf-test] - -- If there's only a dead argument after the double dash, that
1860.28 s
[opt-env-conf-test] - -- means we've been parsing bare args and are now done.
1860.28 s
[opt-env-conf-test] - -- We can stop consuming but get rid of the tombstone as well.
1860.28 s
[opt-env-conf-test] - -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
1860.28 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
1860.28 s
[opt-env-conf-test] - -- If it's not the last argument, anything after here is an argument.
1860.28 s
[opt-env-conf-test] - -- In order to not have to maintain whether the cursor is after
1860.28 s
[opt-env-conf-test] - -- a bare double dash already, we keep the cursor here and just
1860.28 s
[opt-env-conf-test] - -- pop the args as they come.
1860.28 s
[opt-env-conf-test] - _ ->
1860.28 s
[opt-env-conf-test] - let go = \case
1860.28 s
[opt-env-conf-test] - [] -> Nothing
1860.28 s
[opt-env-conf-test] - (Dead : rest) -> go rest
1860.28 s
[opt-env-conf-test] - (Live a' : rest) -> Just (a', rest)
1860.28 s
[opt-env-conf-test] - in case go afters of
1860.28 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
1860.28 s
[opt-env-conf-test] - Just (firstLive, rest) ->
1860.28 s
[opt-env-conf-test] - -- We need to leave the dead argument there so that
1860.28 s
[opt-env-conf-test] - -- we don't consume the double-dash as an argument
1860.28 s
[opt-env-conf-test] - -- after consuming all the arguments after it as bare
1860.28 s
[opt-env-conf-test] - -- arguments.
1860.28 s
[opt-env-conf-test] - [ ( Just $ renderArg firstLive,
1860.28 s
[opt-env-conf-test] - Args befores (Live ArgBareDoubleDash : Dead : rest)
1860.28 s
[opt-env-conf-test] - )
1860.28 s
[opt-env-conf-test] - ]
1860.28 s
[opt-env-conf-test] - ArgDashed {} ->
1860.28 s
[opt-env-conf-test] - -- Dead after dashed, two options, in order that they should be considered:
1860.28 s
[opt-env-conf-test] - -- * The dashed is a switch (don't consume an arg)
1860.28 s
[opt-env-conf-test] - -- * The dashed is an argument
1860.28 s
[opt-env-conf-test] - -- TODO we need to continue looking too
1860.28 s
[opt-env-conf-test] - let switchCase =
1860.28 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [firstArg]) afters)
1860.28 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1860.28 s
[opt-env-conf-test] - ]
1860.28 s
[opt-env-conf-test] - in case afters of
1860.28 s
[opt-env-conf-test] - -- Last argument is is dashed, that's the same as being followed by a dead argument
1860.28 s
[opt-env-conf-test] - [] -> switchCase
1860.28 s
[opt-env-conf-test] - (Dead : _) -> switchCase
1860.28 s
[opt-env-conf-test] - (Live a' : rest) ->
1860.28 s
[opt-env-conf-test] - -- Live after dashed, three options, in order that they should be considered:
1860.28 s
[opt-env-conf-test] - -- * The dashed is an option and the live is the value
1860.28 s
[opt-env-conf-test] - -- * The dashed is a switch and the live is an argument
1860.28 s
[opt-env-conf-test] - -- * The dashed is an argument
1860.28 s
[opt-env-conf-test] - ( case a' of
1863.91 s
[opt-env-conf-test] - ArgDashed {} ->
1863.91 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a]) afters)
1864.01 s
[opt-env-conf-test] - ++ [ (Just (renderArg a), consumed)
1864.01 s
[opt-env-conf-test] - ]
1864.01 s
[opt-env-conf-test] - _ ->
1864.01 s
[opt-env-conf-test] - consumeArgument (Args (befores ++ [Live a, Live a']) rest)
1864.01 s
[opt-env-conf-test] - ++ [ (Just (renderArg a'), Args (befores ++ [Live a, Dead]) rest),
1864.01 s
[opt-env-conf-test] - (Just (renderArg a), consumed)
1864.01 s
[opt-env-conf-test] - ]
1864.01 s
[opt-env-conf-test] - )
1864.01 s
[opt-env-conf-test]
1864.01 s
[opt-env-conf-test] -- | Consume an option.
1864.01 s
[opt-env-conf-test] --
1864.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:226:34-72
1864.01 s
[opt-env-conf-test] @@ -223,7 +223,7 @@
1864.01 s
[opt-env-conf-test] Nothing ->
1864.01 s
[opt-env-conf-test] -- TODO option value on the border
1864.01 s
[opt-env-conf-test] case go (argsAfter as) of
1864.01 s
[opt-env-conf-test] - Just (val, newAfters) -> J u s t (v al, as {ar g sAfter = newAfters})
1864.01 s
[opt-env-conf-test] + Just (val, newAfters) -> No t h in g
1864.01 s
[opt-env-conf-test] Nothing -> Nothing
1864.01 s
[opt-env-conf-test] where
1864.01 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1864.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
1864.01 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
1864.01 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
1864.01 s
[opt-env-conf-test] Nothing ->
1864.01 s
[opt-env-conf-test] -- TODO option value on the border
1864.01 s
[opt-env-conf-test] case go (argsAfter as) of
1864.01 s
[opt-env-conf-test] - Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
1864.01 s
[opt-env-conf-test] Nothing -> Nothing
1864.01 s
[opt-env-conf-test] where
1864.01 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1864.01 s
[opt-env-conf-test] go = \case
1864.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:225:7-27
1864.01 s
[opt-env-conf-test] @@ -222,9 +222,8 @@
1864.01 s
[opt-env-conf-test] Just (val, newBefores) -> Just (val, as {argsBefore = newBefores})
1864.01 s
[opt-env-conf-test] Nothing ->
1864.01 s
[opt-env-conf-test] -- TODO option value on the border
1864.01 s
[opt-env-conf-test] case go (argsAfter as) of
1864.01 s
[opt-env-conf-test] Just (val, newAfters) -> Just (val, as {argsAfter = newAfters})
1864.01 s
[opt-env-conf-test] - Nothing -> Nothing
1864.01 s
[opt-env-conf-test] where
1864.01 s
[opt-env-conf-test] go :: [Tomb Arg] -> Maybe (String, [Tomb Arg])
1864.01 s
[opt-env-conf-test] go = \case
1864.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
1864.01 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1864.01 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1864.01 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1864.01 s
[opt-env-conf-test] ArgDashed isLong cs ->
1864.01 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s L on g cs of
1864.01 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds Tru e cs of
1864.01 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1864.01 s
[opt-env-conf-test] Nothing ->
1864.01 s
[opt-env-conf-test] case rest of
1864.01 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:240:55-61
1864.01 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1864.01 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1864.01 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1864.01 s
[opt-env-conf-test] ArgDashed isLong cs ->
1864.01 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds i s Lo n g cs of
1864.01 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds F a l s e cs of
1864.01 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1864.01 s
[opt-env-conf-test] Nothing ->
1864.01 s
[opt-env-conf-test] case rest of
1864.01 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:240:55-61
1864.01 s
[opt-env-conf-test] @@ -237,7 +237,7 @@
1864.01 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1864.01 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1864.01 s
[opt-env-conf-test] ArgDashed isLong cs ->
1864.01 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1864.01 s
[opt-env-conf-test] + case consumeDashedShorthandOption dasheds n o t ( isLong ) cs of
1864.01 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1864.01 s
[opt-env-conf-test] Nothing ->
1864.01 s
[opt-env-conf-test] case rest of
1864.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:241:25-46
1864.02 s
[opt-env-conf-test] @@ -238,7 +238,7 @@
1864.02 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1864.02 s
[opt-env-conf-test] ArgDashed isLong cs ->
1864.02 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1864.02 s
[opt-env-conf-test] - Just v -> J us t ( v, Dea d : re s t )
1864.02 s
[opt-env-conf-test] + Just v -> No t h ing
1864.02 s
[opt-env-conf-test] Nothing ->
1864.02 s
[opt-env-conf-test] case rest of
1864.02 s
[opt-env-conf-test] (Live v : rest') ->
1864.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:365:34-43
1864.02 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1864.02 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1864.02 s
[opt-env-conf-test] go (c :| rest) =
1864.02 s
[opt-env-conf-test] if c `elem` cs
1864.02 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1864.02 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, n o t ( null rest)) ) <$> NE.nonEmpty rest
1864.02 s
[opt-env-conf-test] else do
1864.02 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1864.02 s
[opt-env-conf-test] new <- go rest'
1864.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
1864.02 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1864.02 s
[opt-env-conf-test] Nothing ->
1864.02 s
[opt-env-conf-test] case rest of
1864.02 s
[opt-env-conf-test] (Live v : rest') ->
1864.02 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s L on g cs of
1864.02 s
[opt-env-conf-test] + case consumeDashedOption dasheds Tru e cs of
1864.02 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1864.02 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1864.02 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1864.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1864.02 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1864.02 s
[opt-env-conf-test]
1864.02 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1864.02 s
[opt-env-conf-test] renderDashed = \case
1864.02 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1864.02 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1864.02 s
[opt-env-conf-test]
1864.02 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1864.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1864.02 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1864.02 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1864.02 s
[opt-env-conf-test] go (c :| rest) =
1864.02 s
[opt-env-conf-test] if c `elem` cs
1864.02 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n u ll r e s t )) <$> NE.nonEmpty rest
1864.02 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, T r u e )) <$> NE.nonEmpty rest
1864.02 s
[opt-env-conf-test] else do
1864.02 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1864.02 s
[opt-env-conf-test] new <- go rest'
1864.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:245:54-60
1864.02 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1864.02 s
[opt-env-conf-test] Nothing ->
1864.02 s
[opt-env-conf-test] case rest of
1864.02 s
[opt-env-conf-test] (Live v : rest') ->
1864.02 s
[opt-env-conf-test] - case consumeDashedOption dasheds i s Lo n g cs of
1864.02 s
[opt-env-conf-test] + case consumeDashedOption dasheds F a l s e cs of
1864.02 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1864.02 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1864.02 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1864.02 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
1864.02 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1864.02 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1864.02 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1864.02 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1864.02 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
1864.02 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
1864.02 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1864.02 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1864.02 s
[opt-env-conf-test]
1864.02 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:248:77-83
1864.02 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1864.02 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1864.02 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1864.02 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.81 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.83 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed n o t ( isLong ) cs') : Dead : rest')
1869.83 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.83 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.83 s
[opt-env-conf-test]
1869.83 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:248:42-104
1869.83 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1869.83 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.83 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.83 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.84 s
[opt-env-conf-test] - Just (Just cs') -> J u s t (r enderAr g v, Live (ArgD as h ed i s Lo ng cs') : Dead : rest')
1869.84 s
[opt-env-conf-test] + Just (Just cs') -> N o t h i ng
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test]
1869.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1869.84 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1869.84 s
[opt-env-conf-test] Nothing ->
1869.84 s
[opt-env-conf-test] case rest of
1869.84 s
[opt-env-conf-test] (Live v : rest') ->
1869.84 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.84 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.84 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test]
1869.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1869.84 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1869.84 s
[opt-env-conf-test] Nothing ->
1869.84 s
[opt-env-conf-test] case rest of
1869.84 s
[opt-env-conf-test] (Live v : rest') ->
1869.84 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.84 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1869.84 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test]
1869.84 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:245:21-104
1869.84 s
[opt-env-conf-test] @@ -242,10 +242,9 @@
1869.84 s
[opt-env-conf-test] Nothing ->
1869.84 s
[opt-env-conf-test] case rest of
1869.84 s
[opt-env-conf-test] (Live v : rest') ->
1869.84 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.84 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.84 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test]
1869.84 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:248:77-83
1869.84 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
1869.84 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.84 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.84 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.85 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s L on g cs') : Dead : rest')
1869.85 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed Tru e cs') : Dead : rest')
1869.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test]
1869.85 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:247:39-71
1869.85 s
[opt-env-conf-test] @@ -244,7 +244,7 @@
1869.85 s
[opt-env-conf-test] (Live v : rest') ->
1869.85 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.85 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] - Just Nothing -> J us t ( re n de rA r g v, Dead : rest')
1869.85 s
[opt-env-conf-test] + Just Nothing -> N o t hi n g
1869.85 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:245:54-60
1869.85 s
[opt-env-conf-test] @@ -242,7 +242,7 @@
1869.85 s
[opt-env-conf-test] Nothing ->
1869.85 s
[opt-env-conf-test] case rest of
1869.85 s
[opt-env-conf-test] (Live v : rest') ->
1869.85 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1869.85 s
[opt-env-conf-test] + case consumeDashedOption dasheds n o t ( isLong ) cs of
1869.85 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.85 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
1869.85 s
[opt-env-conf-test] @@ -240,13 +240,12 @@
1869.85 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1869.85 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1869.85 s
[opt-env-conf-test] Nothing ->
1869.85 s
[opt-env-conf-test] case rest of
1869.85 s
[opt-env-conf-test] (Live v : rest') ->
1869.85 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.85 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.85 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.85 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test]
1869.85 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1869.85 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:243:17-53
1869.85 s
[opt-env-conf-test] @@ -240,13 +240,8 @@
1869.85 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1869.85 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1869.85 s
[opt-env-conf-test] Nothing ->
1869.85 s
[opt-env-conf-test] case rest of
1869.85 s
[opt-env-conf-test] - (Live v : rest') ->
1869.85 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1869.85 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1869.85 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.85 s
[opt-env-conf-test]
1869.85 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1869.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
1869.86 s
[opt-env-conf-test] @@ -237,16 +237,15 @@
1869.86 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1869.86 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1869.86 s
[opt-env-conf-test] ArgDashed isLong cs ->
1869.86 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1869.86 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
1869.86 s
[opt-env-conf-test] Nothing ->
1869.86 s
[opt-env-conf-test] case rest of
1869.86 s
[opt-env-conf-test] (Live v : rest') ->
1869.86 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1869.86 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1869.86 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1869.86 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1869.86 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.86 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1869.86 s
[opt-env-conf-test]
1869.86 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1869.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1869.86 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
1869.86 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1869.86 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1869.86 s
[opt-env-conf-test] (Live k : rest) ->
1869.86 s
[opt-env-conf-test] case k of
1869.86 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1869.86 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1869.86 s
[opt-env-conf-test] ArgDashed isLong cs ->
1869.86 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1869.86 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1869.86 s
[opt-env-conf-test] Nothing ->
1869.86 s
[opt-env-conf-test] case rest of
1872.93 s
[opt-env-conf-test] (Live v : rest') ->
1872.93 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1872.93 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1872.93 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1872.93 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1872.93 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1872.93 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1872.93 s
[opt-env-conf-test]
1872.93 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1872.93 s
[opt-env-conf-test] [Dashed] ->
1872.93 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:387:23-41
1872.93 s
[opt-env-conf-test] @@ -384,7 +384,7 @@
1872.93 s
[opt-env-conf-test] live =
1872.93 s
[opt-env-conf-test] mapMaybe
1872.93 s
[opt-env-conf-test] ( \case
1872.93 s
[opt-env-conf-test] - Live a -> J us t (r e n d e rA r g a)
1872.93 s
[opt-env-conf-test] + Live a -> N o t hi n g
1872.93 s
[opt-env-conf-test] Dead -> Nothing
1872.93 s
[opt-env-conf-test] )
1872.93 s
[opt-env-conf-test]
1872.93 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:79:26-30
1872.93 s
[opt-env-conf-test] @@ -76,7 +76,7 @@
1872.93 s
[opt-env-conf-test] parseArg = \case
1872.93 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1872.93 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1872.93 s
[opt-env-conf-test] - Just ne -> ArgDashed Tr u e ne
1872.93 s
[opt-env-conf-test] + Just ne -> ArgDashed F a ls e ne
1872.93 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1872.93 s
[opt-env-conf-test] Nothing -> ArgBareDash
1872.93 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1872.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
1872.93 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
1872.93 s
[opt-env-conf-test]
1872.93 s
[opt-env-conf-test] parseArg :: String -> Arg
1872.93 s
[opt-env-conf-test] parseArg = \case
1872.93 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1872.93 s
[opt-env-conf-test] - Nothing -> ArgBareDoubleDash
1872.93 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1872.93 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1872.93 s
[opt-env-conf-test] Nothing -> ArgBareDash
1872.93 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1872.93 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:77:23-33
1872.93 s
[opt-env-conf-test] @@ -74,9 +74,8 @@
1872.93 s
[opt-env-conf-test]
1872.93 s
[opt-env-conf-test] parseArg :: String -> Arg
1872.94 s
[opt-env-conf-test] parseArg = \case
1872.94 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1872.94 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1872.94 s
[opt-env-conf-test] - Just ne -> ArgDashed True ne
1872.94 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1872.94 s
[opt-env-conf-test] Nothing -> ArgBareDash
1872.94 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1872.94 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:82:26-31
1872.94 s
[opt-env-conf-test] @@ -79,7 +79,7 @@
1872.94 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1872.94 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1872.94 s
[opt-env-conf-test] Nothing -> ArgBareDash
1872.94 s
[opt-env-conf-test] - Just ne -> ArgDashed F al s e ne
1872.94 s
[opt-env-conf-test] + Just ne -> ArgDashed T ru e ne
1872.94 s
[opt-env-conf-test] s -> ArgPlain s
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] renderArg :: Arg -> String
1872.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
1872.94 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1872.94 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1872.94 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1872.94 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1872.94 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1872.94 s
[opt-env-conf-test] - Nothing -> ArgBareDash
1872.94 s
[opt-env-conf-test] Just ne -> ArgDashed False ne
1872.94 s
[opt-env-conf-test] s -> ArgPlain s
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] renderArg :: Arg -> String
1872.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:80:17-34
1872.94 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1872.94 s
[opt-env-conf-test] '-' : '-' : rest -> case NE.nonEmpty rest of
1872.94 s
[opt-env-conf-test] Nothing -> ArgBareDoubleDash
1872.94 s
[opt-env-conf-test] Just ne -> ArgDashed True ne
1872.94 s
[opt-env-conf-test] '-' : rest -> case NE.nonEmpty rest of
1872.94 s
[opt-env-conf-test] Nothing -> ArgBareDash
1872.94 s
[opt-env-conf-test] - Just ne -> ArgDashed False ne
1872.94 s
[opt-env-conf-test] s -> ArgPlain s
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] renderArg :: Arg -> String
1872.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1872.94 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1872.94 s
[opt-env-conf-test] instance Validity Dashed
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] instance IsString Dashed where
1872.94 s
[opt-env-conf-test] fromString s = case fromString s of
1872.94 s
[opt-env-conf-test] - ArgDashed True cs -> DashedLong cs
1872.94 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1872.94 s
[opt-env-conf-test] _ -> error "Invalid dashed"
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1872.94 s
[opt-env-conf-test] renderDashed = \case
1872.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1872.94 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1872.94 s
[opt-env-conf-test] instance Validity Dashed
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] instance IsString Dashed where
1872.94 s
[opt-env-conf-test] fromString s = case fromString s of
1872.94 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1872.94 s
[opt-env-conf-test] - ArgDashed False (c :| []) -> DashedShort c
1872.94 s
[opt-env-conf-test] _ -> error "Invalid dashed"
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1872.94 s
[opt-env-conf-test] renderDashed = \case
1872.94 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:399:18-32
1872.94 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
1872.94 s
[opt-env-conf-test] instance Validity Dashed
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] instance IsString Dashed where
1872.94 s
[opt-env-conf-test] fromString s = case fromString s of
1872.94 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
1872.94 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
1872.94 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
1872.94 s
[opt-env-conf-test]
1872.94 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1872.94 s
[opt-env-conf-test] renderDashed = \case
1872.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
1872.94 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1872.94 s
[opt-env-conf-test] mconcat
1872.94 s
[opt-env-conf-test] [ genericValidate arg,
1872.94 s
[opt-env-conf-test] case arg of
1872.94 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
1872.94 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
1872.94 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1872.94 s
[opt-env-conf-test] ('-' : _) -> False
1872.94 s
[opt-env-conf-test] _ -> True
1872.94 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:65:103-111
1872.94 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1872.94 s
[opt-env-conf-test] mconcat
1872.94 s
[opt-env-conf-test] [ genericValidate arg,
1872.95 s
[opt-env-conf-test] case arg of
1872.95 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1872.95 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ F a ls e
1872.95 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1872.95 s
[opt-env-conf-test] ('-' : _) -> False
1872.95 s
[opt-env-conf-test] _ -> True
1872.95 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:65:103-111
1872.95 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1872.95 s
[opt-env-conf-test] mconcat
1872.95 s
[opt-env-conf-test] [ genericValidate arg,
1872.95 s
[opt-env-conf-test] case arg of
1872.95 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1872.95 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ n o t ( c /= '-' )
1872.95 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1872.95 s
[opt-env-conf-test] ('-' : _) -> False
1872.95 s
[opt-env-conf-test] _ -> True
1872.95 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:67:26-31
1872.95 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
1872.95 s
[opt-env-conf-test] case arg of
1872.95 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1872.95 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1872.95 s
[opt-env-conf-test] - ('-' : _) -> F al s e
1872.95 s
[opt-env-conf-test] + ('-' : _) -> T ru e
1872.95 s
[opt-env-conf-test] _ -> True
1872.95 s
[opt-env-conf-test] _ -> valid
1872.95 s
[opt-env-conf-test] ]
1872.95 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:68:18-22
1872.95 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
1872.95 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1872.95 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1872.95 s
[opt-env-conf-test] ('-' : _) -> False
1872.95 s
[opt-env-conf-test] - _ -> Tr u e
1872.95 s
[opt-env-conf-test] + _ -> F a ls e
1872.95 s
[opt-env-conf-test] _ -> valid
1872.95 s
[opt-env-conf-test] ]
1872.95 s
[opt-env-conf-test]
1872.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
1872.95 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1872.95 s
[opt-env-conf-test] [ genericValidate arg,
1872.95 s
[opt-env-conf-test] case arg of
1872.95 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1872.95 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1872.95 s
[opt-env-conf-test] + ArgPlain s -> declar e "does not s t a r t w ith a d ash" $ Tr u e -> declare "does not start with a dash" $ case s of
1872.95 s
[opt-env-conf-test] ('-' : _) -> False
1872.95 s
[opt-env-conf-test] _ -> True
1872.95 s
[opt-env-conf-test] _ -> valid
1872.95 s
[opt-env-conf-test] ]
1872.95 s
[opt-env-conf-test]
1872.95 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:66:64-22
1872.95 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1872.95 s
[opt-env-conf-test] [ genericValidate arg,
1872.95 s
[opt-env-conf-test] case arg of
1878.83 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.83 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ c a s e s of
1878.85 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ F a lse -> d e c l a r e "doe s n ot s tart with a dash" $ c a s e s of
1878.85 s
[opt-env-conf-test] ('-' : _) -> False
1878.86 s
[opt-env-conf-test] _ -> True
1878.86 s
[opt-env-conf-test] _ -> valid
1878.86 s
[opt-env-conf-test] ]
1878.86 s
[opt-env-conf-test]
1878.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:66:64-22
1878.86 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
1878.86 s
[opt-env-conf-test] [ genericValidate arg,
1878.86 s
[opt-env-conf-test] case arg of
1878.86 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.86 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1878.86 s
[opt-env-conf-test] + ArgPlain s -> declare "does not start with a dash" $ n o t ( case s of
1878.86 s
[opt-env-conf-test] ('-' : _) -> False
1878.86 s
[opt-env-conf-test] - _ -> True
1878.86 s
[opt-env-conf-test] + _ -> True )
1878.86 s
[opt-env-conf-test] _ -> valid
1878.86 s
[opt-env-conf-test] ]
1878.86 s
[opt-env-conf-test]
1878.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1878.86 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1878.86 s
[opt-env-conf-test] [ genericValidate arg,
1878.86 s
[opt-env-conf-test] case arg of
1878.86 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.86 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1878.86 s
[opt-env-conf-test] - ('-' : _) -> False
1878.86 s
[opt-env-conf-test] _ -> True
1878.86 s
[opt-env-conf-test] _ -> valid
1878.86 s
[opt-env-conf-test] ]
1878.86 s
[opt-env-conf-test]
1878.86 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:66:64-22
1878.86 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
1878.86 s
[opt-env-conf-test] [ genericValidate arg,
1878.86 s
[opt-env-conf-test] case arg of
1878.86 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.86 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1878.86 s
[opt-env-conf-test] ('-' : _) -> False
1878.86 s
[opt-env-conf-test] - _ -> True
1878.86 s
[opt-env-conf-test] _ -> valid
1878.86 s
[opt-env-conf-test] ]
1878.86 s
[opt-env-conf-test]
1878.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1878.87 s
[opt-env-conf-test] @@ -233,21 +233,10 @@
1878.87 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1878.87 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1878.87 s
[opt-env-conf-test] (Live k : rest) ->
1878.87 s
[opt-env-conf-test] case k of
1878.87 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1878.87 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1878.87 s
[opt-env-conf-test] - ArgDashed isLong cs ->
1878.87 s
[opt-env-conf-test] - case consumeDashedShorthandOption dasheds isLong cs of
1878.87 s
[opt-env-conf-test] - Just v -> Just (v, Dead : rest)
1878.87 s
[opt-env-conf-test] - Nothing ->
1878.87 s
[opt-env-conf-test] - case rest of
1878.87 s
[opt-env-conf-test] - (Live v : rest') ->
1878.87 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1878.87 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1878.87 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1878.87 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1878.87 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1878.87 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1878.87 s
[opt-env-conf-test]
1878.87 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1878.87 s
[opt-env-conf-test] [Dashed] ->
1878.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1878.87 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1878.87 s
[opt-env-conf-test] validate arg =
1878.87 s
[opt-env-conf-test] mconcat
1878.87 s
[opt-env-conf-test] [ genericValidate arg,
1878.87 s
[opt-env-conf-test] case arg of
1878.87 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.87 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1878.87 s
[opt-env-conf-test] ('-' : _) -> False
1878.87 s
[opt-env-conf-test] _ -> True
1878.87 s
[opt-env-conf-test] _ -> valid
1878.87 s
[opt-env-conf-test] ]
1878.87 s
[opt-env-conf-test]
1878.87 s
[opt-env-conf-test] instance IsString Arg where
1878.87 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:240:13-53
1878.87 s
[opt-env-conf-test] @@ -237,16 +237,8 @@
1878.87 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1878.87 s
[opt-env-conf-test] ArgBareDoubleDash -> Nothing
1878.88 s
[opt-env-conf-test] ArgDashed isLong cs ->
1878.88 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1878.88 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1878.88 s
[opt-env-conf-test] - Nothing ->
1878.88 s
[opt-env-conf-test] - case rest of
1878.88 s
[opt-env-conf-test] - (Live v : rest') ->
1878.88 s
[opt-env-conf-test] - case consumeDashedOption dasheds isLong cs of
1878.88 s
[opt-env-conf-test] - Nothing -> second (Live k :) <$> go rest
1878.88 s
[opt-env-conf-test] - Just Nothing -> Just (renderArg v, Dead : rest')
1878.88 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1878.88 s
[opt-env-conf-test] - _ -> second (Live k :) <$> go rest
1878.88 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1878.88 s
[opt-env-conf-test]
1878.88 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1878.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1878.88 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
1878.88 s
[opt-env-conf-test] validate arg =
1878.88 s
[opt-env-conf-test] mconcat
1878.88 s
[opt-env-conf-test] [ genericValidate arg,
1878.88 s
[opt-env-conf-test] case arg of
1878.88 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.88 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1878.88 s
[opt-env-conf-test] - ('-' : _) -> False
1878.88 s
[opt-env-conf-test] - _ -> True
1878.88 s
[opt-env-conf-test] _ -> valid
1878.88 s
[opt-env-conf-test] ]
1878.88 s
[opt-env-conf-test]
1878.88 s
[opt-env-conf-test] instance IsString Arg where
1878.88 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:64:9-21
1878.88 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
1878.88 s
[opt-env-conf-test] validate arg =
1878.88 s
[opt-env-conf-test] mconcat
1878.88 s
[opt-env-conf-test] [ genericValidate arg,
1878.88 s
[opt-env-conf-test] case arg of
1878.88 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.88 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1878.88 s
[opt-env-conf-test] ('-' : _) -> False
1878.88 s
[opt-env-conf-test] _ -> True
1878.88 s
[opt-env-conf-test] - _ -> valid
1878.88 s
[opt-env-conf-test] ]
1878.88 s
[opt-env-conf-test]
1878.88 s
[opt-env-conf-test] instance IsString Arg where
1878.88 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
1878.88 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
1878.88 s
[opt-env-conf-test] instance Validity Arg where
1878.88 s
[opt-env-conf-test] validate arg =
1878.88 s
[opt-env-conf-test] mconcat
1878.88 s
[opt-env-conf-test] - [ genericValidate arg,
1878.88 s
[opt-env-conf-test] - case arg of
1878.88 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.88 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
1878.88 s
[opt-env-conf-test] - ('-' : _) -> False
1878.88 s
[opt-env-conf-test] - _ -> True
1878.88 s
[opt-env-conf-test] - _ -> valid
1878.88 s
[opt-env-conf-test] ]
1878.89 s
[opt-env-conf-test]
1878.89 s
[opt-env-conf-test] instance IsString Arg where
1878.89 s
[opt-env-conf-test] fromString = parseArg
1878.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:63:7-8
1878.89 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
1878.89 s
[opt-env-conf-test] instance Validity Arg where
1878.89 s
[opt-env-conf-test] validate arg =
1878.89 s
[opt-env-conf-test] mconcat
1878.89 s
[opt-env-conf-test] - [ genericValidate arg,
1878.89 s
[opt-env-conf-test] case arg of
1878.89 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
1878.89 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
1878.89 s
[opt-env-conf-test] ('-' : _) -> False
1878.89 s
[opt-env-conf-test] _ -> True
1878.89 s
[opt-env-conf-test] _ -> valid
1878.89 s
[opt-env-conf-test] ]
1878.89 s
[opt-env-conf-test]
1878.89 s
[opt-env-conf-test] instance IsString Arg where
1878.89 s
[opt-env-conf-test] fromString = parseArg
1878.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1878.89 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1878.89 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1878.89 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1878.89 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1878.89 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1878.89 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1878.89 s
[opt-env-conf-test] goCommand = go . commandParser
1878.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Args.hs:236:9-45
1878.89 s
[opt-env-conf-test] @@ -233,21 +233,20 @@
1878.89 s
[opt-env-conf-test] (Dead : rest) -> second (Dead :) <$> go rest
1878.89 s
[opt-env-conf-test] -- If we find a live key, try to consume it.
1878.89 s
[opt-env-conf-test] (Live k : rest) ->
1878.89 s
[opt-env-conf-test] case k of
1878.89 s
[opt-env-conf-test] -- We can either consume it as-is, or as a shorthand option.
1878.89 s
[opt-env-conf-test] - ArgBareDoubleDash -> Nothing
1878.89 s
[opt-env-conf-test] ArgDashed isLong cs ->
1878.89 s
[opt-env-conf-test] case consumeDashedShorthandOption dasheds isLong cs of
1878.89 s
[opt-env-conf-test] Just v -> Just (v, Dead : rest)
1878.89 s
[opt-env-conf-test] Nothing ->
1878.89 s
[opt-env-conf-test] case rest of
1878.89 s
[opt-env-conf-test] (Live v : rest') ->
1878.89 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
1878.89 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
1878.89 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
1878.89 s
[opt-env-conf-test] Just (Just cs') -> Just (renderArg v, Live (ArgDashed isLong cs') : Dead : rest')
1878.89 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1878.89 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
1878.89 s
[opt-env-conf-test]
1882.33 s
[opt-env-conf-test] consumeDashedShorthandOption ::
1882.33 s
[opt-env-conf-test] [Dashed] ->
1882.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1882.33 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1882.33 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1882.33 s
[opt-env-conf-test]
1882.33 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1882.33 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1882.33 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1882.33 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
1882.33 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1882.33 s
[opt-env-conf-test] goCommand = go . commandParser
1882.33 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:90:47-55
1882.33 s
[opt-env-conf-test] @@ -87,7 +87,7 @@
1882.33 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1882.33 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1882.33 s
[opt-env-conf-test] (Nothing, _) -> o2
1882.33 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = J u st ot 1 }
1882.33 s
[opt-env-conf-test] + (Just ot1, Nothing) -> o2 {optionType = N ot hin g }
1882.33 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1882.33 s
[opt-env-conf-test]
1882.33 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1882.33 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:96:28-38
1882.33 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
1882.33 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1882.33 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1882.33 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1882.33 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1882.33 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1882.34 s
[opt-env-conf-test] goCommand = go . commandParser
1882.34 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
1882.34 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
1882.34 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1882.34 s
[opt-env-conf-test]
1882.34 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1882.34 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1882.34 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
1882.34 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
1882.34 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
1882.34 s
[opt-env-conf-test] goCommand = go . commandParser
1882.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
1882.34 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1882.34 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1882.34 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1882.34 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l cs
1882.34 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ T r u e
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1882.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1882.34 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1882.34 s
[opt-env-conf-test] where
1882.34 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1882.34 s
[opt-env-conf-test] go (c :| rest) =
1882.34 s
[opt-env-conf-test] - if c ` e l em` c s
1882.34 s
[opt-env-conf-test] + if Fa l s e
1882.34 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1882.34 s
[opt-env-conf-test] else do
1882.34 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1882.34 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Args.hs:364:10-21
1882.34 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1882.34 s
[opt-env-conf-test] where
1882.34 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1882.34 s
[opt-env-conf-test] go (c :| rest) =
1882.34 s
[opt-env-conf-test] - if c `elem` cs
1882.34 s
[opt-env-conf-test] + if n o t ( c `elem` cs )
1882.34 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1882.34 s
[opt-env-conf-test] else do
1882.34 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1882.34 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Args.hs:372:27-31
1882.34 s
[opt-env-conf-test] @@ -369,7 +369,7 @@
1882.34 s
[opt-env-conf-test] pure $
1882.34 s
[opt-env-conf-test] Just $
1882.34 s
[opt-env-conf-test] maybe
1882.34 s
[opt-env-conf-test] - (c :| [], Tr u e)
1882.34 s
[opt-env-conf-test] + (c :| [], F a ls e)
1882.34 s
[opt-env-conf-test] (first (c NE.<|))
1882.34 s
[opt-env-conf-test] new
1882.34 s
[opt-env-conf-test]
1882.34 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:67:31-36
1882.34 s
[opt-env-conf-test] @@ -64,7 +64,7 @@
1882.34 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.34 s
[opt-env-conf-test] - ParseErrorAllOrNothing _ -> F al s e
1882.34 s
[opt-env-conf-test] + ParseErrorAllOrNothing _ -> T ru e
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1882.34 s
[opt-env-conf-test]
1882.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
1882.34 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1882.34 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1882.34 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1882.34 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
1882.34 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1882.34 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:40-47
1882.34 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1882.34 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1882.34 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1882.34 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1882.34 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ n o t ( null cs )
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1882.34 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1882.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:364:10-21
1882.35 s
[opt-env-conf-test] @@ -361,7 +361,7 @@
1882.35 s
[opt-env-conf-test] where
1882.35 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1882.35 s
[opt-env-conf-test] go (c :| rest) =
1882.35 s
[opt-env-conf-test] - if c ` e l em` cs
1882.35 s
[opt-env-conf-test] + if T ru e
1882.35 s
[opt-env-conf-test] then Just $ (\ne -> (ne, null rest)) <$> NE.nonEmpty rest
1882.35 s
[opt-env-conf-test] else do
1882.35 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1882.35 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:34-47
1882.35 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1882.35 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1882.35 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1882.35 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n o t $ n ul l c s
1882.35 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> F a l s e
1882.35 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1882.35 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:65:34-47
1882.35 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1882.35 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1882.35 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1882.35 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ null cs
1882.35 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> n o t ( not $ null cs )
1882.35 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1882.35 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:65:40-47
1882.35 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
1882.35 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1882.35 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1882.35 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
1882.35 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
1882.35 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1882.35 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:64:31-36
1882.35 s
[opt-env-conf-test] @@ -61,7 +61,7 @@
1882.35 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1882.35 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1882.35 s
[opt-env-conf-test] - ParseErrorConfigRead _ _ -> F al s e
1882.35 s
[opt-env-conf-test] + ParseErrorConfigRead _ _ -> T ru e
1882.35 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1882.35 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1882.35 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1886.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Args.hs:406:20-28
1886.87 s
[opt-env-conf-test] @@ -403,7 +403,6 @@
1886.87 s
[opt-env-conf-test]
1886.87 s
[opt-env-conf-test] renderDashed :: Dashed -> String
1886.87 s
[opt-env-conf-test] renderDashed = \case
1886.87 s
[opt-env-conf-test] - DashedShort c -> ['-', c]
1886.87 s
[opt-env-conf-test] DashedLong cs -> '-' : '-' : NE.toList cs
1886.87 s
[opt-env-conf-test]
1886.87 s
[opt-env-conf-test] prefixDashed :: String -> Dashed -> Dashed
1886.87 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:426:25-31
1886.87 s
[opt-env-conf-test] @@ -423,6 +423,6 @@
1886.87 s
[opt-env-conf-test] longDasheds =
1886.87 s
[opt-env-conf-test] mapMaybe
1886.87 s
[opt-env-conf-test] ( \case
1886.88 s
[opt-env-conf-test] - DashedLong l -> J u s t l
1886.88 s
[opt-env-conf-test] + DashedLong l -> No t h ing
1886.88 s
[opt-env-conf-test] DashedShort _ -> Nothing
1886.88 s
[opt-env-conf-test] )
1886.88 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:69:36-41
1886.88 s
[opt-env-conf-test] @@ -66,7 +66,7 @@
1886.88 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1886.88 s
[opt-env-conf-test] - ParseErrorMissingCapability _ -> F al s e
1886.88 s
[opt-env-conf-test] + ParseErrorMissingCapability _ -> T ru e
1886.88 s
[opt-env-conf-test]
1886.88 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
1886.88 s
[opt-env-conf-test] eraseErrorSrcLocs = fmap eraseErrorSrcLoc
1886.88 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Args.hs:418:26-32
1886.88 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1886.88 s
[opt-env-conf-test] shortDasheds =
1886.88 s
[opt-env-conf-test] mapMaybe
1886.88 s
[opt-env-conf-test] ( \case
1886.88 s
[opt-env-conf-test] - DashedShort c -> J u s t c
1886.88 s
[opt-env-conf-test] + DashedShort c -> No t h ing
1886.88 s
[opt-env-conf-test] DashedLong _ -> Nothing
1886.88 s
[opt-env-conf-test] )
1886.88 s
[opt-env-conf-test]
1886.88 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:66:40-45
1886.88 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
1886.88 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1886.88 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1886.88 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
1886.88 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
1886.88 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1886.88 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:61:32-36
1886.88 s
[opt-env-conf-test] @@ -58,7 +58,7 @@
1886.88 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1886.88 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorMissingOption _ -> True
1886.88 s
[opt-env-conf-test] - ParseErrorMissingEnvVar _ -> Tr u e
1886.88 s
[opt-env-conf-test] + ParseErrorMissingEnvVar _ -> F a ls e
1886.88 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1886.88 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
1886.88 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:60:32-36
1886.88 s
[opt-env-conf-test] @@ -57,7 +57,7 @@
1886.88 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1886.88 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1886.89 s
[opt-env-conf-test] ParseErrorOptionRead _ _ -> False
1886.89 s
[opt-env-conf-test] - ParseErrorMissingOption _ -> Tr u e
1886.89 s
[opt-env-conf-test] + ParseErrorMissingOption _ -> F a ls e
1886.89 s
[opt-env-conf-test] ParseErrorMissingEnvVar _ -> True
1886.89 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
1886.89 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
1886.89 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Error.hs:68:31-36
1886.89 s
[opt-env-conf-test] @@ -65,7 +65,7 @@
1886.89 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
1886.89 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
1886.89 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
1886.89 s
[opt-env-conf-test] - ParseErrorUnrecognised _ -> F al s e
1886.89 s
[opt-env-conf-test] + ParseErrorUnrecognised _ -> T ru e
1886.89 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
1886.89 s
[opt-env-conf-test]
1886.89 s
[opt-env-conf-test] eraseErrorSrcLocs :: (Functor f) => f ParseError -> f ParseError
1886.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Args.hs:365:34-43
1886.89 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
1886.89 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
1886.89 s
[opt-env-conf-test] go (c :| rest) =
1886.89 s
[opt-env-conf-test] if c `elem` cs
1886.89 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
1886.89 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
1886.89 s
[opt-env-conf-test] else do
1886.89 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
1886.89 s
[opt-env-conf-test] new <- go rest'
1886.89 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Error.hs:55:41-51
1886.89 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
1886.89 s
[opt-env-conf-test] ParseErrorEmpty -> True
1886.89 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
1886.89 s
[opt-env-conf-test] ParseErrorNoReaders -> False
1886.89 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> f o rg iv a b l e
1886.89 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> F a l s e
1886.89 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
1886.89 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
1886.89 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
1886.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:516:37-35
1886.89 s
[opt-env-conf-test] @@ -513,9 +513,8 @@
1886.89 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1886.89 s
[opt-env-conf-test] case mResOrNext of
1886.89 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
1886.89 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
1886.89 s
[opt-env-conf-test] - Failure errs -> Left errs
1886.89 s
[opt-env-conf-test] Success mDocs -> Right mDocs
1886.89 s
[opt-env-conf-test] where
1886.89 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1886.89 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1886.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:516:37-35
1886.89 s
[opt-env-conf-test] @@ -513,9 +513,8 @@
1886.89 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1886.89 s
[opt-env-conf-test] case mResOrNext of
1886.89 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
1886.89 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
1886.89 s
[opt-env-conf-test] Failure errs -> Left errs
1886.89 s
[opt-env-conf-test] - Success mDocs -> Right mDocs
1886.89 s
[opt-env-conf-test] where
1886.89 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1886.89 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1886.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:514:3-35
1886.89 s
[opt-env-conf-test] @@ -511,11 +511,10 @@
1886.89 s
[opt-env-conf-test] ppEnvIndent = 0
1886.89 s
[opt-env-conf-test] }
1886.89 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1886.89 s
[opt-env-conf-test] case mResOrNext of
1886.89 s
[opt-env-conf-test] - Nothing -> pure $ Right Nothing
1886.89 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
1886.89 s
[opt-env-conf-test] Failure errs -> Left errs
1886.89 s
[opt-env-conf-test] Success mDocs -> Right mDocs
1886.89 s
[opt-env-conf-test] where
1886.89 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1886.89 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1886.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:514:3-35
1886.89 s
[opt-env-conf-test] @@ -511,11 +511,8 @@
1886.89 s
[opt-env-conf-test] ppEnvIndent = 0
1886.89 s
[opt-env-conf-test] }
1886.89 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1886.89 s
[opt-env-conf-test] case mResOrNext of
1886.89 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
1886.89 s
[opt-env-conf-test] - Just ((result, _), _) -> pure $ case result of
1886.89 s
[opt-env-conf-test] - Failure errs -> Left errs
1886.89 s
[opt-env-conf-test] - Success mDocs -> Right mDocs
1886.89 s
[opt-env-conf-test] where
1886.89 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
1886.89 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
1886.89 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1886.89 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1886.89 s
[opt-env-conf-test] ("# " <>)
1886.89 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1886.89 s
[opt-env-conf-test] "This file was generated by running",
1886.89 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1886.89 s
[opt-env-conf-test] T.unpack content
1886.89 s
[opt-env-conf-test] ]
1886.89 s
[opt-env-conf-test]
1886.89 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:535:35-33
1886.89 s
[opt-env-conf-test] @@ -532,12 +532,11 @@
1886.89 s
[opt-env-conf-test] mf <- go ff
1886.89 s
[opt-env-conf-test] ma <- go fa
1886.89 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
1886.89 s
[opt-env-conf-test] ParserSelect fe ff -> do
1886.89 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
1886.89 s
[opt-env-conf-test] ppIndent $ do
1886.89 s
[opt-env-conf-test] me <- go fe
1886.89 s
[opt-env-conf-test] mf <- go ff
1886.89 s
[opt-env-conf-test] pure $ mf <|> me -- Reverse order
1886.89 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1886.89 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1886.89 s
[opt-env-conf-test] pure Nothing
1886.89 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:529:31-33
1886.89 s
[opt-env-conf-test] @@ -526,12 +526,11 @@
1886.89 s
[opt-env-conf-test] ParserPure _ -> do
1886.89 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
1886.89 s
[opt-env-conf-test] pure Nothing
1886.89 s
[opt-env-conf-test] ParserAp ff fa -> do
1886.89 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
1886.89 s
[opt-env-conf-test] ppIndent $ do
1886.89 s
[opt-env-conf-test] mf <- go ff
1886.89 s
[opt-env-conf-test] ma <- go fa
1886.89 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
1886.89 s
[opt-env-conf-test] ParserSelect fe ff -> do
1886.89 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1886.89 s
[opt-env-conf-test] ppIndent $ do
1886.89 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:549:17-37
1886.89 s
[opt-env-conf-test] @@ -546,13 +546,10 @@
1886.89 s
[opt-env-conf-test] ppIndent $ do
1886.89 s
[opt-env-conf-test] debug ["Trying left side."]
1888.63 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1888.63 s
[opt-env-conf-test] case eor of
1888.63 s
[opt-env-conf-test] - Just a -> do
1888.63 s
[opt-env-conf-test] - debug ["Left side succeeded."]
1888.63 s
[opt-env-conf-test] - pure a
1888.63 s
[opt-env-conf-test] Nothing -> do
1888.63 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1888.63 s
[opt-env-conf-test] ppIndent $ go p2
1888.63 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.64 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.64 s
[opt-env-conf-test] ppIndent $ go p'
1888.64 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:549:17-37
1888.64 s
[opt-env-conf-test] @@ -546,13 +546,10 @@
1888.64 s
[opt-env-conf-test] ppIndent $ do
1888.64 s
[opt-env-conf-test] debug ["Trying left side."]
1888.64 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1888.64 s
[opt-env-conf-test] case eor of
1888.64 s
[opt-env-conf-test] Just a -> do
1888.64 s
[opt-env-conf-test] debug ["Left side succeeded."]
1888.64 s
[opt-env-conf-test] pure a
1888.64 s
[opt-env-conf-test] - Nothing -> do
1888.64 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1888.64 s
[opt-env-conf-test] - ppIndent $ go p2
1888.64 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.64 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.64 s
[opt-env-conf-test] ppIndent $ go p'
1888.64 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:544:32-37
1888.64 s
[opt-env-conf-test] @@ -541,18 +541,17 @@
1888.64 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1888.64 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1888.64 s
[opt-env-conf-test] pure Nothing
1888.64 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1888.64 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
1888.64 s
[opt-env-conf-test] ppIndent $ do
1888.64 s
[opt-env-conf-test] debug ["Trying left side."]
1888.64 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1888.64 s
[opt-env-conf-test] case eor of
1888.64 s
[opt-env-conf-test] Just a -> do
1888.64 s
[opt-env-conf-test] debug ["Left side succeeded."]
1888.64 s
[opt-env-conf-test] pure a
1888.64 s
[opt-env-conf-test] Nothing -> do
1888.64 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1888.64 s
[opt-env-conf-test] ppIndent $ go p2
1888.64 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.64 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.64 s
[opt-env-conf-test] ppIndent $ go p'
1888.64 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:553:30-37
1888.64 s
[opt-env-conf-test] @@ -550,9 +550,8 @@
1888.64 s
[opt-env-conf-test] Just a -> do
1888.64 s
[opt-env-conf-test] debug ["Left side succeeded."]
1888.64 s
[opt-env-conf-test] pure a
1888.64 s
[opt-env-conf-test] Nothing -> do
1888.64 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1888.64 s
[opt-env-conf-test] ppIndent $ go p2
1888.64 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.64 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.64 s
[opt-env-conf-test] ppIndent $ go p'
1888.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:557:21-66
1888.64 s
[opt-env-conf-test] @@ -554,7 +554,6 @@
1888.64 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1888.64 s
[opt-env-conf-test] ppIndent $ go p2
1888.64 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.64 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.64 s
[opt-env-conf-test] ppIndent $ go p'
1888.64 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.64 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.64 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:556:35-31
1888.64 s
[opt-env-conf-test] @@ -553,9 +553,8 @@
1888.64 s
[opt-env-conf-test] Nothing -> do
1888.64 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1888.64 s
[opt-env-conf-test] ppIndent $ go p2
1888.64 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.64 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:557:21-66
1888.65 s
[opt-env-conf-test] @@ -554,7 +554,6 @@
1888.65 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1888.65 s
[opt-env-conf-test] ppIndent $ go p2
1888.65 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:560:21-66
1888.65 s
[opt-env-conf-test] @@ -557,7 +557,6 @@
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:560:21-66
1888.65 s
[opt-env-conf-test] @@ -557,7 +557,6 @@
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:557:21-66
1888.65 s
[opt-env-conf-test] @@ -554,7 +554,6 @@
1888.65 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1888.65 s
[opt-env-conf-test] ppIndent $ go p2
1888.65 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:560:21-66
1888.65 s
[opt-env-conf-test] @@ -557,7 +557,6 @@
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Run.hs:511:27-28
1888.65 s
[opt-env-conf-test] @@ -508,7 +508,7 @@
1888.65 s
[opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
1888.65 s
[opt-env-conf-test] ppEnvConf = Nothing,
1888.65 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
1888.65 s
[opt-env-conf-test] - ppEnvIndent = 0
1888.65 s
[opt-env-conf-test] + ppEnvIndent = 1
1888.65 s
[opt-env-conf-test] }
1888.65 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
1888.65 s
[opt-env-conf-test] case mResOrNext of
1888.65 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:562:43-31
1888.65 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
1888.65 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:566:21-79
1888.65 s
[opt-env-conf-test] @@ -563,7 +563,6 @@
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:566:21-79
1888.65 s
[opt-env-conf-test] @@ -563,7 +563,6 @@
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:566:21-79
1888.65 s
[opt-env-conf-test] @@ -563,7 +563,6 @@
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1888.65 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] ppIndent $ go p'
1888.65 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1888.65 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1888.65 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:565:42-31
1888.65 s
[opt-env-conf-test] @@ -562,9 +562,8 @@
1891.14 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1891.14 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1891.15 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ do
1891.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
1891.15 s
[opt-env-conf-test] @@ -566,7 +566,6 @@
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1891.15 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ do
1891.15 s
[opt-env-conf-test] mNewConfig <- go pc
1891.15 s
[opt-env-conf-test] mRes <- go pa
1891.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:563:21-74
1891.15 s
[opt-env-conf-test] @@ -560,7 +560,6 @@
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1891.15 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
1891.15 s
[opt-env-conf-test] @@ -566,7 +566,6 @@
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1891.15 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ do
1891.15 s
[opt-env-conf-test] mNewConfig <- go pc
1891.15 s
[opt-env-conf-test] mRes <- go pa
1891.15 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:563:21-74
1891.15 s
[opt-env-conf-test] @@ -560,7 +560,6 @@
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1891.15 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:559:35-31
1891.15 s
[opt-env-conf-test] @@ -556,9 +556,8 @@
1891.15 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1891.15 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1891.15 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1891.15 s
[opt-env-conf-test] ppIndent $ go p'
1891.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:638:10-36
1891.15 s
[opt-env-conf-test] @@ -635,7 +635,7 @@
1891.15 s
[opt-env-conf-test] (errOrRes, s') <- ppNonDetList results
1891.15 s
[opt-env-conf-test] case errOrRes of
1891.15 s
[opt-env-conf-test] Failure errs ->
1891.15 s
[opt-env-conf-test] - if a l l err orIsFo r g i vab le e rrs
1891.15 s
[opt-env-conf-test] + if T r u e
1891.15 s
[opt-env-conf-test] then do
1891.15 s
[opt-env-conf-test] pure Nothing
1891.16 s
[opt-env-conf-test] else ppErrors' errs
1891.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:703:3-20
1891.16 s
[opt-env-conf-test] @@ -700,11 +700,8 @@
1891.16 s
[opt-env-conf-test] ppOpt :: [Dashed] -> PP (Maybe String)
1891.16 s
[opt-env-conf-test] ppOpt ds = do
1891.16 s
[opt-env-conf-test] args <- gets ppStateArgs
1891.16 s
[opt-env-conf-test] case Args.consumeOption ds args of
1891.16 s
[opt-env-conf-test] Nothing -> pure Nothing
1891.16 s
[opt-env-conf-test] - Just (a, args') -> do
1891.16 s
[opt-env-conf-test] - modify' (\s -> s {ppStateArgs = args'})
1891.16 s
[opt-env-conf-test] - pure (Just a)
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] ppSwitch :: [Dashed] -> PP (Maybe ())
1891.16 s
[opt-env-conf-test] ppSwitch ds = do
1891.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:638:10-36
1891.16 s
[opt-env-conf-test] @@ -635,7 +635,7 @@
1891.16 s
[opt-env-conf-test] (errOrRes, s') <- ppNonDetList results
1891.16 s
[opt-env-conf-test] case errOrRes of
1891.16 s
[opt-env-conf-test] Failure errs ->
1891.16 s
[opt-env-conf-test] - if al l err orI s For givabl e errs
1891.16 s
[opt-env-conf-test] + if F al s e
1891.16 s
[opt-env-conf-test] then do
1891.16 s
[opt-env-conf-test] pure Nothing
1891.16 s
[opt-env-conf-test] else ppErrors' errs
1891.16 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:638:10-36
1891.16 s
[opt-env-conf-test] @@ -635,7 +635,7 @@
1891.16 s
[opt-env-conf-test] (errOrRes, s') <- ppNonDetList results
1891.16 s
[opt-env-conf-test] case errOrRes of
1891.16 s
[opt-env-conf-test] Failure errs ->
1891.16 s
[opt-env-conf-test] - if all errorIsForgivable errs
1891.16 s
[opt-env-conf-test] + if n o t ( all errorIsForgivable errs )
1891.16 s
[opt-env-conf-test] then do
1891.16 s
[opt-env-conf-test] pure Nothing
1891.16 s
[opt-env-conf-test] else ppErrors' errs
1891.16 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:707:13-19
1891.16 s
[opt-env-conf-test] @@ -704,7 +704,7 @@
1891.16 s
[opt-env-conf-test] Nothing -> pure Nothing
1891.16 s
[opt-env-conf-test] Just (a, args') -> do
1891.16 s
[opt-env-conf-test] modify' (\s -> s {ppStateArgs = args'})
1891.16 s
[opt-env-conf-test] - pure ( J u s t a )
1891.16 s
[opt-env-conf-test] + pure ( No t h ing )
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] ppSwitch :: [Dashed] -> PP (Maybe ())
1891.16 s
[opt-env-conf-test] ppSwitch ds = do
1891.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:712:3-21
1891.16 s
[opt-env-conf-test] @@ -709,11 +709,10 @@
1891.16 s
[opt-env-conf-test] ppSwitch :: [Dashed] -> PP (Maybe ())
1891.16 s
[opt-env-conf-test] ppSwitch ds = do
1891.16 s
[opt-env-conf-test] args <- gets ppStateArgs
1891.16 s
[opt-env-conf-test] case Args.consumeSwitch ds args of
1891.16 s
[opt-env-conf-test] - Nothing -> pure Nothing
1891.16 s
[opt-env-conf-test] Just args' -> do
1891.16 s
[opt-env-conf-test] modify' (\s -> s {ppStateArgs = args'})
1891.16 s
[opt-env-conf-test] pure (Just ())
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] ppErrors' :: NonEmpty ParseError -> PP a
1891.16 s
[opt-env-conf-test] ppErrors' = PP . lift . ValidationT . lift . pure . Failure
1891.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:703:3-20
1891.16 s
[opt-env-conf-test] @@ -700,11 +700,10 @@
1891.16 s
[opt-env-conf-test] ppOpt :: [Dashed] -> PP (Maybe String)
1891.16 s
[opt-env-conf-test] ppOpt ds = do
1891.16 s
[opt-env-conf-test] args <- gets ppStateArgs
1891.16 s
[opt-env-conf-test] case Args.consumeOption ds args of
1891.16 s
[opt-env-conf-test] - Nothing -> pure Nothing
1891.16 s
[opt-env-conf-test] Just (a, args') -> do
1891.16 s
[opt-env-conf-test] modify' (\s -> s {ppStateArgs = args'})
1891.16 s
[opt-env-conf-test] pure (Just a)
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] ppSwitch :: [Dashed] -> PP (Maybe ())
1891.16 s
[opt-env-conf-test] ppSwitch ds = do
1891.16 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:712:3-21
1891.16 s
[opt-env-conf-test] @@ -709,11 +709,8 @@
1891.16 s
[opt-env-conf-test] ppSwitch :: [Dashed] -> PP (Maybe ())
1891.16 s
[opt-env-conf-test] ppSwitch ds = do
1891.16 s
[opt-env-conf-test] args <- gets ppStateArgs
1891.16 s
[opt-env-conf-test] case Args.consumeSwitch ds args of
1891.16 s
[opt-env-conf-test] Nothing -> pure Nothing
1891.16 s
[opt-env-conf-test] - Just args' -> do
1891.16 s
[opt-env-conf-test] - modify' (\s -> s {ppStateArgs = args'})
1891.16 s
[opt-env-conf-test] - pure (Just ())
1891.16 s
[opt-env-conf-test]
1891.16 s
[opt-env-conf-test] ppErrors' :: NonEmpty ParseError -> PP a
1891.16 s
[opt-env-conf-test] ppErrors' = PP . lift . ValidationT . lift . pure . Failure
1891.16 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:716:13-20
1891.16 s
[opt-env-conf-test] @@ -713,7 +713,7 @@
1891.16 s
[opt-env-conf-test] Nothing -> pure Nothing
1891.17 s
[opt-env-conf-test] Just args' -> do
1891.17 s
[opt-env-conf-test] modify' (\s -> s {ppStateArgs = args'})
1891.17 s
[opt-env-conf-test] - pure ( J u s t ( ) )
1891.17 s
[opt-env-conf-test] + pure ( No t h in g )
1891.17 s
[opt-env-conf-test]
1891.17 s
[opt-env-conf-test] ppErrors' :: NonEmpty ParseError -> PP a
1891.17 s
[opt-env-conf-test] ppErrors' = PP . lift . ValidationT . lift . pure . Failure
1891.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:485:20-25
1891.17 s
[opt-env-conf-test] @@ -482,9 +482,8 @@
1891.17 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
1891.17 s
[opt-env-conf-test] tryReaders rs s = left NE.reverse $ go rs
1891.17 s
[opt-env-conf-test] where
1891.17 s
[opt-env-conf-test] go (r :| rl) = case runReader r s of
1891.17 s
[opt-env-conf-test] Left err -> go' (err :| []) rl
1891.17 s
[opt-env-conf-test] - Right a -> Right a
1891.17 s
[opt-env-conf-test] go' errs = \case
1891.17 s
[opt-env-conf-test] [] -> Left errs
1891.17 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
1891.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:477:21-21
1891.17 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
1891.17 s
[opt-env-conf-test] | Found a
1891.17 s
[opt-env-conf-test]
1891.17 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
1891.17 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
1891.17 s
[opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
1891.17 s
[opt-env-conf-test] Just ne -> pure ne
1891.17 s
[opt-env-conf-test]
1891.17 s
[opt-env-conf-test] -- Try the readers in order
1891.17 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
1891.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:477:21-21
1891.17 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
1891.17 s
[opt-env-conf-test] | Found a
1891.17 s
[opt-env-conf-test]
1891.17 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
1891.17 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
1891.17 s
[opt-env-conf-test] Nothing -> ppError Nothing ParseErrorNoReaders
1891.17 s
[opt-env-conf-test] - Just ne -> pure ne
1891.17 s
[opt-env-conf-test]
1891.17 s
[opt-env-conf-test] -- Try the readers in order
1891.17 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
1891.17 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:464:22-66
1891.17 s
[opt-env-conf-test] @@ -461,11 +461,8 @@
1891.17 s
[opt-env-conf-test] PP a
1891.17 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
1891.17 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
1894.53 s
[opt-env-conf-test] Just missings -> do
1894.53 s
[opt-env-conf-test] - debug $
1894.53 s
[opt-env-conf-test] - "Missing capabilities: "
1894.61 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
1894.61 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
1894.61 s
[opt-env-conf-test] Nothing -> func
1894.61 s
[opt-env-conf-test]
1894.61 s
[opt-env-conf-test] data ParseResult a
1894.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:490:19-27
1894.61 s
[opt-env-conf-test] @@ -487,9 +487,8 @@
1894.61 s
[opt-env-conf-test] Right a -> Right a
1894.61 s
[opt-env-conf-test] go' errs = \case
1894.62 s
[opt-env-conf-test] [] -> Left errs
1894.62 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
1894.62 s
[opt-env-conf-test] - Left err -> go' (err <| errs) rl
1894.62 s
[opt-env-conf-test] Right a -> Right a
1894.62 s
[opt-env-conf-test]
1894.62 s
[opt-env-conf-test] runHelpParser ::
1894.62 s
[opt-env-conf-test] -- DebugMode
1894.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:463:3-20
1894.62 s
[opt-env-conf-test] @@ -460,13 +460,8 @@
1894.62 s
[opt-env-conf-test] PP a ->
1894.62 s
[opt-env-conf-test] PP a
1894.62 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
1894.62 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
1894.62 s
[opt-env-conf-test] - Just missings -> do
1894.62 s
[opt-env-conf-test] - debug $
1894.62 s
[opt-env-conf-test] - "Missing capabilities: "
1894.62 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
1894.62 s
[opt-env-conf-test] - ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
1894.62 s
[opt-env-conf-test] Nothing -> func
1894.62 s
[opt-env-conf-test]
1894.62 s
[opt-env-conf-test] data ParseResult a
1894.62 s
[opt-env-conf-test] = NotRun
1894.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:463:3-20
1894.62 s
[opt-env-conf-test] @@ -460,13 +460,12 @@
1894.62 s
[opt-env-conf-test] PP a ->
1894.62 s
[opt-env-conf-test] PP a
1894.62 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
1894.62 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
1894.62 s
[opt-env-conf-test] Just missings -> do
1894.62 s
[opt-env-conf-test] debug $
1894.62 s
[opt-env-conf-test] "Missing capabilities: "
1894.62 s
[opt-env-conf-test] : capabilitiesChunks (Set.fromList (NE.toList missings))
1894.62 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
1894.62 s
[opt-env-conf-test] - Nothing -> func
1894.62 s
[opt-env-conf-test]
1894.62 s
[opt-env-conf-test] data ParseResult a
1894.62 s
[opt-env-conf-test] = NotRun
1894.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:582:17-47
1894.62 s
[opt-env-conf-test] @@ -579,21 +579,10 @@
1894.62 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
1894.62 s
[opt-env-conf-test] ppIndent $ do
1894.62 s
[opt-env-conf-test] mS <- ppArg
1894.62 s
[opt-env-conf-test] case mS of
1894.62 s
[opt-env-conf-test] Nothing -> do
1894.62 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
1894.62 s
[opt-env-conf-test] pure Nothing
1894.62 s
[opt-env-conf-test] - Just s -> do
1894.62 s
[opt-env-conf-test] - case find ((== s) . commandArg) cs of
1894.62 s
[opt-env-conf-test] - Nothing -> do
1894.62 s
[opt-env-conf-test] - debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
1894.62 s
[opt-env-conf-test] - pure Nothing
1894.62 s
[opt-env-conf-test] - Just c -> do
1894.62 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1894.62 s
[opt-env-conf-test] - mRes <- go' (commandArg c : path) $ commandParser c
1894.62 s
[opt-env-conf-test] - pure $ case mRes of
1894.62 s
[opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
1894.62 s
[opt-env-conf-test] - Just res -> pure res
1894.62 s
[opt-env-conf-test]
1894.62 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
1894.62 s
[opt-env-conf-test] deriving
1894.62 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Run.hs:75:27-28
1894.62 s
[opt-env-conf-test] @@ -72,7 +72,7 @@
1894.62 s
[opt-env-conf-test] { ppEnvEnv = envVars,
1894.62 s
[opt-env-conf-test] ppEnvConf = mConfig,
1894.62 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
1894.62 s
[opt-env-conf-test] - ppEnvIndent = 0
1894.62 s
[opt-env-conf-test] + ppEnvIndent = 1
1894.62 s
[opt-env-conf-test] }
1894.62 s
[opt-env-conf-test] let go' = do
1894.62 s
[opt-env-conf-test] result <- go parser
1894.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:80:9-79
1894.62 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1894.62 s
[opt-env-conf-test] let go' = do
1894.62 s
[opt-env-conf-test] result <- go parser
1894.62 s
[opt-env-conf-test] leftoverArgs <- gets ppStateArgs
1894.62 s
[opt-env-conf-test] case recogniseLeftovers leftoverArgs of
1894.62 s
[opt-env-conf-test] - Nothing -> pure result
1894.62 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1894.62 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1894.62 s
[opt-env-conf-test] case mTup of
1894.62 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
1894.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:97:31-41
1894.62 s
[opt-env-conf-test] @@ -94,9 +94,8 @@
1894.62 s
[opt-env-conf-test] pure $
1894.62 s
[opt-env-conf-test] Left $
1894.62 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1894.62 s
[opt-env-conf-test] let f = case mDebugMode of
1894.62 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
1894.62 s
[opt-env-conf-test] Just _ -> id
1894.62 s
[opt-env-conf-test] in f firstErrors
1894.62 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1894.62 s
[opt-env-conf-test] Success a -> pure (Right a)
1894.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:80:9-79
1894.62 s
[opt-env-conf-test] @@ -77,9 +77,8 @@
1894.63 s
[opt-env-conf-test] let go' = do
1894.63 s
[opt-env-conf-test] result <- go parser
1894.63 s
[opt-env-conf-test] leftoverArgs <- gets ppStateArgs
1894.63 s
[opt-env-conf-test] case recogniseLeftovers leftoverArgs of
1894.63 s
[opt-env-conf-test] Nothing -> pure result
1894.63 s
[opt-env-conf-test] - Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1894.63 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1894.63 s
[opt-env-conf-test] case mTup of
1894.63 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
1894.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:97:31-41
1894.63 s
[opt-env-conf-test] @@ -94,9 +94,8 @@
1894.63 s
[opt-env-conf-test] pure $
1894.63 s
[opt-env-conf-test] Left $
1894.63 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1894.63 s
[opt-env-conf-test] let f = case mDebugMode of
1894.63 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1894.63 s
[opt-env-conf-test] - Just _ -> id
1894.63 s
[opt-env-conf-test] in f firstErrors
1894.63 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1894.63 s
[opt-env-conf-test] Success a -> pure (Right a)
1894.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:92:15-43
1894.63 s
[opt-env-conf-test] @@ -89,18 +89,10 @@
1894.63 s
[opt-env-conf-test] let goNexts ns = do
1894.63 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1894.63 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1894.63 s
[opt-env-conf-test] case mNext of
1894.63 s
[opt-env-conf-test] - Nothing ->
1894.63 s
[opt-env-conf-test] - pure $
1894.63 s
[opt-env-conf-test] - Left $
1894.63 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
1894.63 s
[opt-env-conf-test] - let f = case mDebugMode of
1894.63 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
1894.63 s
[opt-env-conf-test] - Just _ -> id
1894.63 s
[opt-env-conf-test] - in f firstErrors
1894.63 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1894.63 s
[opt-env-conf-test] Success a -> pure (Right a)
1894.63 s
[opt-env-conf-test] Failure _ -> goNexts ns'
1894.63 s
[opt-env-conf-test] in goNexts nexts
1894.63 s
[opt-env-conf-test] where
1894.63 s
[opt-env-conf-test] go ::
1894.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:92:15-43
1894.63 s
[opt-env-conf-test] @@ -89,18 +89,15 @@
1894.63 s
[opt-env-conf-test] let goNexts ns = do
1894.63 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1894.63 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1894.63 s
[opt-env-conf-test] case mNext of
1894.63 s
[opt-env-conf-test] Nothing ->
1894.63 s
[opt-env-conf-test] pure $
1894.63 s
[opt-env-conf-test] Left $
1894.63 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1894.63 s
[opt-env-conf-test] let f = case mDebugMode of
1894.63 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1894.63 s
[opt-env-conf-test] Just _ -> id
1894.63 s
[opt-env-conf-test] in f firstErrors
1894.63 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
1894.63 s
[opt-env-conf-test] - Success a -> pure (Right a)
1894.63 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1894.63 s
[opt-env-conf-test] in goNexts nexts
1894.63 s
[opt-env-conf-test] where
1894.63 s
[opt-env-conf-test] go ::
1894.63 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:582:17-47
1894.63 s
[opt-env-conf-test] @@ -579,21 +579,18 @@
1894.63 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
1894.63 s
[opt-env-conf-test] ppIndent $ do
1894.63 s
[opt-env-conf-test] mS <- ppArg
1894.63 s
[opt-env-conf-test] case mS of
1894.63 s
[opt-env-conf-test] - Nothing -> do
1894.63 s
[opt-env-conf-test] - debug ["No argument found for choosing a command."]
1894.64 s
[opt-env-conf-test] - pure Nothing
1894.64 s
[opt-env-conf-test] Just s -> do
1894.64 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1894.64 s
[opt-env-conf-test] Nothing -> do
1894.64 s
[opt-env-conf-test] debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
1894.64 s
[opt-env-conf-test] pure Nothing
1894.64 s
[opt-env-conf-test] Just c -> do
1894.64 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1894.64 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
1894.64 s
[opt-env-conf-test] pure $ case mRes of
1894.64 s
[opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
1894.64 s
[opt-env-conf-test] Just res -> pure res
1894.64 s
[opt-env-conf-test]
1894.64 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
1894.64 s
[opt-env-conf-test] deriving
1894.64 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:86:36-26
1894.64 s
[opt-env-conf-test] @@ -83,25 +83,24 @@
1894.64 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1894.64 s
[opt-env-conf-test] case mTup of
1897.36 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
1897.36 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
1897.36 s
[opt-env-conf-test] - Success a -> pure (Right a)
1897.36 s
[opt-env-conf-test] Failure firstErrors ->
1897.36 s
[opt-env-conf-test] let goNexts ns = do
1897.36 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1897.36 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1897.36 s
[opt-env-conf-test] case mNext of
1897.36 s
[opt-env-conf-test] Nothing ->
1897.36 s
[opt-env-conf-test] pure $
1897.36 s
[opt-env-conf-test] Left $
1897.36 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1897.36 s
[opt-env-conf-test] let f = case mDebugMode of
1897.36 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1897.36 s
[opt-env-conf-test] Just _ -> id
1897.36 s
[opt-env-conf-test] in f firstErrors
1897.36 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1897.36 s
[opt-env-conf-test] Success a -> pure (Right a)
1897.36 s
[opt-env-conf-test] Failure _ -> goNexts ns'
1897.36 s
[opt-env-conf-test] in goNexts nexts
1897.36 s
[opt-env-conf-test] where
1897.36 s
[opt-env-conf-test] go ::
1897.36 s
[opt-env-conf-test] Parser a ->
1897.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:587:21-47
1897.36 s
[opt-env-conf-test] @@ -584,16 +584,13 @@
1897.36 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
1897.36 s
[opt-env-conf-test] pure Nothing
1897.36 s
[opt-env-conf-test] Just s -> do
1897.36 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1897.36 s
[opt-env-conf-test] - Nothing -> do
1897.36 s
[opt-env-conf-test] - debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
1897.36 s
[opt-env-conf-test] - pure Nothing
1897.36 s
[opt-env-conf-test] Just c -> do
1897.36 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1897.36 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
1897.36 s
[opt-env-conf-test] pure $ case mRes of
1897.36 s
[opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
1897.36 s
[opt-env-conf-test] Just res -> pure res
1897.36 s
[opt-env-conf-test]
1897.36 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
1897.36 s
[opt-env-conf-test] deriving
1897.36 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:594:32-47
1897.37 s
[opt-env-conf-test] @@ -591,9 +591,8 @@
1897.37 s
[opt-env-conf-test] Just c -> do
1897.37 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1897.37 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
1897.37 s
[opt-env-conf-test] pure $ case mRes of
1897.37 s
[opt-env-conf-test] Nothing -> Just (reverse path, commandParserDocs c)
1897.37 s
[opt-env-conf-test] - Just res -> pure res
1897.37 s
[opt-env-conf-test]
1897.37 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
1897.37 s
[opt-env-conf-test] deriving
1897.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:569:21-72
1897.37 s
[opt-env-conf-test] @@ -566,7 +566,6 @@
1897.37 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1897.37 s
[opt-env-conf-test] ppIndent $ go p'
1897.37 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1897.37 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1897.37 s
[opt-env-conf-test] ppIndent $ do
1897.37 s
[opt-env-conf-test] mNewConfig <- go pc
1897.37 s
[opt-env-conf-test] mRes <- go pa
1897.37 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:568:44-43
1897.37 s
[opt-env-conf-test] @@ -565,12 +565,11 @@
1897.37 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1897.37 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1897.37 s
[opt-env-conf-test] ppIndent $ go p'
1897.37 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1897.37 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1897.37 s
[opt-env-conf-test] ppIndent $ do
1897.37 s
[opt-env-conf-test] mNewConfig <- go pc
1897.37 s
[opt-env-conf-test] mRes <- go pa
1897.37 s
[opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
1897.37 s
[opt-env-conf-test] ParserSetting mLoc _ -> do
1897.37 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
1897.37 s
[opt-env-conf-test] pure Nothing
1897.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:594:32-47
1897.37 s
[opt-env-conf-test] @@ -591,9 +591,8 @@
1897.37 s
[opt-env-conf-test] Just c -> do
1897.37 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1897.37 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
1897.37 s
[opt-env-conf-test] pure $ case mRes of
1897.37 s
[opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
1897.37 s
[opt-env-conf-test] Just res -> pure res
1897.37 s
[opt-env-conf-test]
1897.37 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
1897.37 s
[opt-env-conf-test] deriving
1897.37 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:595:38-78
1897.37 s
[opt-env-conf-test] @@ -592,7 +592,7 @@
1897.37 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1897.37 s
[opt-env-conf-test] mRes <- go' (commandArg c : path) $ commandParser c
1897.37 s
[opt-env-conf-test] pure $ case mRes of
1897.37 s
[opt-env-conf-test] - Nothing -> J u s t (reve rse p at h , comma n dPars erDoc s c)
1897.37 s
[opt-env-conf-test] + Nothing -> No t h i n g
1897.37 s
[opt-env-conf-test] Just res -> pure res
1897.37 s
[opt-env-conf-test]
1897.37 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
1897.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:485:20-25
1897.37 s
[opt-env-conf-test] @@ -482,9 +482,8 @@
1897.37 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
1897.37 s
[opt-env-conf-test] tryReaders rs s = left NE.reverse $ go rs
1897.37 s
[opt-env-conf-test] where
1897.37 s
[opt-env-conf-test] go (r :| rl) = case runReader r s of
1897.37 s
[opt-env-conf-test] - Left err -> go' (err :| []) rl
1897.37 s
[opt-env-conf-test] Right a -> Right a
1897.37 s
[opt-env-conf-test] go' errs = \case
1897.37 s
[opt-env-conf-test] [] -> Left errs
1897.37 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
1897.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:101:41-43
1897.37 s
[opt-env-conf-test] @@ -98,9 +98,8 @@
1897.37 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1897.37 s
[opt-env-conf-test] Just _ -> id
1897.37 s
[opt-env-conf-test] in f firstErrors
1897.37 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1897.37 s
[opt-env-conf-test] Success a -> pure (Right a)
1897.37 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1897.37 s
[opt-env-conf-test] in goNexts nexts
1897.37 s
[opt-env-conf-test] where
1897.37 s
[opt-env-conf-test] go ::
1897.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
1897.37 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
1897.37 s
[opt-env-conf-test] Nothing -> pure result
1897.37 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1897.37 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1897.37 s
[opt-env-conf-test] case mTup of
1897.37 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
1897.37 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
1897.37 s
[opt-env-conf-test] Success a -> pure (Right a)
1897.37 s
[opt-env-conf-test] Failure firstErrors ->
1897.37 s
[opt-env-conf-test] let goNexts ns = do
1897.37 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
1897.37 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
1897.37 s
[opt-env-conf-test] case mNext of
1897.37 s
[opt-env-conf-test] Nothing ->
1897.37 s
[opt-env-conf-test] pure $
1897.37 s
[opt-env-conf-test] Left $
1897.37 s
[opt-env-conf-test] -- Only show source locations in debug mode.
1897.37 s
[opt-env-conf-test] let f = case mDebugMode of
1897.37 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1897.37 s
[opt-env-conf-test] Just _ -> id
1897.37 s
[opt-env-conf-test] in f firstErrors
1897.37 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1897.37 s
[opt-env-conf-test] Success a -> pure (Right a)
1897.37 s
[opt-env-conf-test] Failure _ -> goNexts ns'
1897.37 s
[opt-env-conf-test] in goNexts nexts
1897.37 s
[opt-env-conf-test] where
1897.37 s
[opt-env-conf-test] go ::
1897.37 s
[opt-env-conf-test] Parser a ->
1897.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:86:36-26
1897.37 s
[opt-env-conf-test] @@ -83,25 +83,8 @@
1897.37 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1897.37 s
[opt-env-conf-test] case mTup of
1897.37 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
1897.37 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
1897.37 s
[opt-env-conf-test] Success a -> pure (Right a)
1897.37 s
[opt-env-conf-test] - Failure firstErrors ->
1897.37 s
[opt-env-conf-test] - let goNexts ns = do
1897.37 s
[opt-env-conf-test] - -- TODO: Consider keeping around all errors?
1897.37 s
[opt-env-conf-test] - mNext <- runNonDetTLazy ns
1897.37 s
[opt-env-conf-test] - case mNext of
1897.37 s
[opt-env-conf-test] - Nothing ->
1897.37 s
[opt-env-conf-test] - pure $
1897.37 s
[opt-env-conf-test] - Left $
1897.37 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
1897.37 s
[opt-env-conf-test] - let f = case mDebugMode of
1897.37 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
1897.37 s
[opt-env-conf-test] - Just _ -> id
1897.37 s
[opt-env-conf-test] - in f firstErrors
1897.37 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
1897.37 s
[opt-env-conf-test] - Success a -> pure (Right a)
1897.37 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1897.37 s
[opt-env-conf-test] - in goNexts nexts
1897.37 s
[opt-env-conf-test] where
1897.37 s
[opt-env-conf-test] go ::
1897.37 s
[opt-env-conf-test] Parser a ->
1897.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
1897.37 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
1897.37 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1897.37 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1898.47 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1898.47 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1898.47 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1898.47 s
[opt-env-conf-test] ParserSelect fe ff -> do
1898.47 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1898.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:563:21-74
1898.47 s
[opt-env-conf-test] @@ -560,7 +560,6 @@
1898.47 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1898.47 s
[opt-env-conf-test] ppIndent $ go p'
1898.47 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1898.47 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1898.47 s
[opt-env-conf-test] ppIndent $ go p'
1898.47 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
1898.47 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1898.47 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:644:14-20
1898.47 s
[opt-env-conf-test] @@ -641,7 +641,7 @@
1898.47 s
[opt-env-conf-test] else ppErrors' errs
1898.48 s
[opt-env-conf-test] Success a -> do
1898.48 s
[opt-env-conf-test] put s' -- Only set state if parsing succeeded.
1898.48 s
[opt-env-conf-test] - pure $ J u s t a
1898.48 s
[opt-env-conf-test] + pure $ No t h ing
1898.48 s
[opt-env-conf-test]
1898.48 s
[opt-env-conf-test] ppNonDet :: NonDetT IO a -> PP a
1898.48 s
[opt-env-conf-test] ppNonDet = PP . lift . lift . lift
1898.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:636:3-20
1898.48 s
[opt-env-conf-test] @@ -633,15 +633,10 @@
1898.48 s
[opt-env-conf-test] e <- ask
1898.48 s
[opt-env-conf-test] results <- liftIO $ runPP pp s e
1898.48 s
[opt-env-conf-test] (errOrRes, s') <- ppNonDetList results
1898.48 s
[opt-env-conf-test] case errOrRes of
1898.48 s
[opt-env-conf-test] - Failure errs ->
1898.48 s
[opt-env-conf-test] - if all errorIsForgivable errs
1898.48 s
[opt-env-conf-test] - then do
1898.48 s
[opt-env-conf-test] - pure Nothing
1898.48 s
[opt-env-conf-test] - else ppErrors' errs
1898.48 s
[opt-env-conf-test] Success a -> do
1898.48 s
[opt-env-conf-test] put s' -- Only set state if parsing succeeded.
1898.48 s
[opt-env-conf-test] pure $ Just a
1898.48 s
[opt-env-conf-test]
1898.48 s
[opt-env-conf-test] ppNonDet :: NonDetT IO a -> PP a
1898.48 s
[opt-env-conf-test] ppNonDet = PP . lift . lift . lift
1898.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1898.48 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1898.48 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1898.48 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1898.48 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1898.48 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1898.48 s
[opt-env-conf-test] (Nothing, _) -> o2
1898.48 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1898.48 s
[opt-env-conf-test] - (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1898.48 s
[opt-env-conf-test]
1898.48 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1898.48 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1898.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1898.48 s
[opt-env-conf-test] @@ -33,11 +33,7 @@
1898.48 s
[opt-env-conf-test] unlines $
1898.48 s
[opt-env-conf-test] map
1898.48 s
[opt-env-conf-test] ("# " <>)
1898.48 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.48 s
[opt-env-conf-test] - "This file was generated by running",
1898.48 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1898.48 s
[opt-env-conf-test] - T.unpack content
1898.48 s
[opt-env-conf-test] ]
1898.48 s
[opt-env-conf-test]
1898.48 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1898.48 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1898.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1898.48 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1898.48 s
[opt-env-conf-test] unlines $
1898.48 s
[opt-env-conf-test] map
1898.48 s
[opt-env-conf-test] ("# " <>)
1898.48 s
[opt-env-conf-test] - [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.48 s
[opt-env-conf-test] "This file was generated by running",
1898.48 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1898.48 s
[opt-env-conf-test] T.unpack content
1898.48 s
[opt-env-conf-test] ]
1898.48 s
[opt-env-conf-test]
1898.48 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1898.48 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1898.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:38:19-53
1898.48 s
[opt-env-conf-test] @@ -35,7 +35,6 @@
1898.48 s
[opt-env-conf-test] ("# " <>)
1898.49 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.49 s
[opt-env-conf-test] "This file was generated by running",
1898.49 s
[opt-env-conf-test] - unwords [progname, "--render-nix-options"],
1898.49 s
[opt-env-conf-test] T.unpack content
1898.49 s
[opt-env-conf-test] ]
1898.49 s
[opt-env-conf-test]
1898.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
1898.49 s
[opt-env-conf-test] @@ -72,17 +72,10 @@
1898.49 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
1898.49 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
1898.49 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
1898.49 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
1898.49 s
[opt-env-conf-test] - Nothing ->
1898.49 s
[opt-env-conf-test] - let oc =
1898.49 s
[opt-env-conf-test] - maybe
1898.49 s
[opt-env-conf-test] - (optionalFieldWith' p configValSettingCodec)
1898.49 s
[opt-env-conf-test] - (optionalFieldWith p configValSettingCodec)
1898.49 s
[opt-env-conf-test] - (T.pack <$> settingHelp s)
1898.49 s
[opt-env-conf-test] - in objectCodecNixOptions oc
1898.49 s
[opt-env-conf-test] Just rest ->
1898.49 s
[opt-env-conf-test] let m = go' rest
1898.49 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1898.49 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1898.49 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1898.49 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1898.49 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Nix.hs:85:69-97
1898.49 s
[opt-env-conf-test] @@ -82,7 +82,7 @@
1898.49 s
[opt-env-conf-test] in objectCodecNixOptions oc
1898.49 s
[opt-env-conf-test] Just rest ->
1898.49 s
[opt-env-conf-test] let m = go' rest
1898.49 s
[opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = J u s t ( Op t i o n T y peSubmo dule m ) }
1898.49 s
[opt-env-conf-test] + in M.singleton p $ emptyOption {optionType = N o t h i n g }
1898.49 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1898.49 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1898.49 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1898.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
1898.49 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
1898.49 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1898.49 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1898.49 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1898.49 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1898.49 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1898.49 s
[opt-env-conf-test] ParserSelect fe ff -> do
1898.49 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1898.49 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:116:27-37
1898.49 s
[opt-env-conf-test] @@ -113,9 +113,8 @@
1898.49 s
[opt-env-conf-test] ParserAp ff fa -> do
1898.49 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1898.49 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1898.49 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1898.49 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1898.49 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1898.49 s
[opt-env-conf-test] ParserSelect fe ff -> do
1898.49 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1898.49 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1898.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Nix.hs:36:9-10
1898.49 s
[opt-env-conf-test] @@ -33,11 +33,10 @@
1898.49 s
[opt-env-conf-test] unlines $
1898.49 s
[opt-env-conf-test] map
1898.49 s
[opt-env-conf-test] ("# " <>)
1898.49 s
[opt-env-conf-test] [ "DO NOT EDIT THIS FILE DIRECTLY",
1898.49 s
[opt-env-conf-test] "This file was generated by running",
1898.49 s
[opt-env-conf-test] unwords [progname, "--render-nix-options"],
1898.49 s
[opt-env-conf-test] - T.unpack content
1898.49 s
[opt-env-conf-test] ]
1898.49 s
[opt-env-conf-test]
1898.49 s
[opt-env-conf-test] renderSettingsNixOptions :: forall a. (HasParser a) => Text
1898.49 s
[opt-env-conf-test] renderSettingsNixOptions = renderParserNixOptions (settingsParser :: Parser a)
1898.49 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:119:29-42
1898.49 s
[opt-env-conf-test] @@ -116,9 +116,8 @@
1898.49 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1898.49 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1898.49 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1898.49 s
[opt-env-conf-test] ParserSelect fe ff -> do
1898.49 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
1898.49 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
1898.49 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
1898.49 s
[opt-env-conf-test] debug [syntaxChunk "Alt"]
1898.49 s
[opt-env-conf-test] ppIndent $ do
1898.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
1898.49 s
[opt-env-conf-test] @@ -148,7 +148,6 @@
1898.49 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1898.49 s
[opt-env-conf-test] pure (a :| as)
1898.49 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1898.49 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1898.49 s
[opt-env-conf-test] ppIndent $ do
1898.49 s
[opt-env-conf-test] e <- ask
1898.49 s
[opt-env-conf-test] s <- get
1898.49 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
1898.49 s
[opt-env-conf-test] @@ -148,7 +148,6 @@
1898.49 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1898.49 s
[opt-env-conf-test] pure (a :| as)
1898.49 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1898.49 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1898.49 s
[opt-env-conf-test] ppIndent $ do
1898.49 s
[opt-env-conf-test] e <- ask
1898.49 s
[opt-env-conf-test] s <- get
1898.49 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:24-50
1898.49 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1898.49 s
[opt-env-conf-test] case result of
1898.49 s
[opt-env-conf-test] Success a -> pure a
1898.49 s
[opt-env-conf-test] Failure errs -> do
1904.42 s
[opt-env-conf-test] - if not $ a l l err orIsFo r g i vab le e rrs
1904.46 s
[opt-env-conf-test] + if not $ T r u e
1904.46 s
[opt-env-conf-test] then ppErrors' errs
1904.46 s
[opt-env-conf-test] else do
1904.46 s
[opt-env-conf-test] -- Settings available below
1904.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:24-50
1904.46 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1904.46 s
[opt-env-conf-test] case result of
1904.46 s
[opt-env-conf-test] Success a -> pure a
1904.47 s
[opt-env-conf-test] Failure errs -> do
1904.47 s
[opt-env-conf-test] - if not $ al l err orI s For givabl e errs
1904.47 s
[opt-env-conf-test] + if not $ F al s e
1904.47 s
[opt-env-conf-test] then ppErrors' errs
1904.47 s
[opt-env-conf-test] else do
1904.47 s
[opt-env-conf-test] -- Settings available below
1904.47 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:24-50
1904.47 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1904.47 s
[opt-env-conf-test] case result of
1904.47 s
[opt-env-conf-test] Success a -> pure a
1904.47 s
[opt-env-conf-test] Failure errs -> do
1904.47 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1904.47 s
[opt-env-conf-test] + if not $ n o t ( all errorIsForgivable errs )
1904.47 s
[opt-env-conf-test] then ppErrors' errs
1904.47 s
[opt-env-conf-test] else do
1904.47 s
[opt-env-conf-test] -- Settings available below
1904.47 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
1904.47 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1904.47 s
[opt-env-conf-test] case result of
1904.47 s
[opt-env-conf-test] Success a -> pure a
1904.47 s
[opt-env-conf-test] Failure errs -> do
1904.47 s
[opt-env-conf-test] - if n ot $ a ll er rorI sF o r giva ble e r rs
1904.47 s
[opt-env-conf-test] + if T r u e
1904.47 s
[opt-env-conf-test] then ppErrors' errs
1904.47 s
[opt-env-conf-test] else do
1904.47 s
[opt-env-conf-test] -- Settings available below
1904.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
1904.47 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1904.47 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1904.47 s
[opt-env-conf-test] ppIndent $ go p2
1904.47 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1904.47 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1904.47 s
[opt-env-conf-test] ppIndent $ do
1904.47 s
[opt-env-conf-test] eor <- tryPP $ go p'
1904.47 s
[opt-env-conf-test] case eor of
1904.47 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:151:15-68
1904.47 s
[opt-env-conf-test] @@ -148,7 +148,6 @@
1904.47 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1904.47 s
[opt-env-conf-test] pure (a :| as)
1904.47 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1904.47 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1904.47 s
[opt-env-conf-test] ppIndent $ do
1904.47 s
[opt-env-conf-test] e <- ask
1904.48 s
[opt-env-conf-test] s <- get
1904.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:127:11-31
1904.48 s
[opt-env-conf-test] @@ -124,13 +124,10 @@
1904.48 s
[opt-env-conf-test] ppIndent $ do
1904.48 s
[opt-env-conf-test] debug ["Trying left side."]
1904.48 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1904.48 s
[opt-env-conf-test] case eor of
1904.48 s
[opt-env-conf-test] - Just a -> do
1904.48 s
[opt-env-conf-test] - debug ["Left side succeeded."]
1904.48 s
[opt-env-conf-test] - pure a
1904.48 s
[opt-env-conf-test] Nothing -> do
1904.48 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1904.48 s
[opt-env-conf-test] ppIndent $ go p2
1904.48 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1904.48 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1904.48 s
[opt-env-conf-test] ppIndent $ do
1904.48 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:131:24-31
1904.48 s
[opt-env-conf-test] @@ -128,9 +128,8 @@
1904.48 s
[opt-env-conf-test] Just a -> do
1904.48 s
[opt-env-conf-test] debug ["Left side succeeded."]
1904.48 s
[opt-env-conf-test] pure a
1904.48 s
[opt-env-conf-test] Nothing -> do
1904.48 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1904.48 s
[opt-env-conf-test] ppIndent $ go p2
1904.48 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1904.48 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1904.48 s
[opt-env-conf-test] ppIndent $ do
1904.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
1904.48 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
1904.48 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1904.48 s
[opt-env-conf-test] pure (a : as)
1904.48 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1904.48 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1904.48 s
[opt-env-conf-test] ppIndent $ do
1904.48 s
[opt-env-conf-test] a <- go p'
1904.48 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1904.48 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
1904.48 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1904.48 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1904.48 s
[opt-env-conf-test] ppIndent $ go p2
1904.48 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1904.48 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1904.48 s
[opt-env-conf-test] ppIndent $ do
1904.48 s
[opt-env-conf-test] eor <- tryPP $ go p'
1904.48 s
[opt-env-conf-test] case eor of
1904.48 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:175:22-44
1904.48 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1904.48 s
[opt-env-conf-test] -- with only forgivable errors
1904.48 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1904.48 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1904.48 s
[opt-env-conf-test] - if null parsedSettingsMap
1904.48 s
[opt-env-conf-test] + if n o t ( null parsedSettingsMap )
1904.48 s
[opt-env-conf-test] then ppErrors' errs
1904.48 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1904.48 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1904.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:158:11-112
1904.48 s
[opt-env-conf-test] @@ -155,26 +155,25 @@
1904.48 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1904.48 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1904.48 s
[opt-env-conf-test] put s'
1904.48 s
[opt-env-conf-test] case result of
1904.48 s
[opt-env-conf-test] - Success a -> pure a
1904.48 s
[opt-env-conf-test] Failure errs -> do
1904.48 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1904.48 s
[opt-env-conf-test] then ppErrors' errs
1904.48 s
[opt-env-conf-test] else do
1904.48 s
[opt-env-conf-test] -- Settings available below
1904.48 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1904.48 s
[opt-env-conf-test] -- Settings that have been parsed
1904.48 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1904.48 s
[opt-env-conf-test] -- Settings that have been parsed below
1904.48 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1904.48 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1904.48 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1904.48 s
[opt-env-conf-test] -- with only forgivable errors
1904.48 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1904.48 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1904.48 s
[opt-env-conf-test] if null parsedSettingsMap
1904.48 s
[opt-env-conf-test] then ppErrors' errs
1904.48 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1904.48 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1904.48 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1904.48 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1904.48 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:158:11-112
1904.48 s
[opt-env-conf-test] @@ -155,26 +155,8 @@
1904.48 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1904.48 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1904.48 s
[opt-env-conf-test] put s'
1904.48 s
[opt-env-conf-test] case result of
1904.48 s
[opt-env-conf-test] Success a -> pure a
1904.48 s
[opt-env-conf-test] - Failure errs -> do
1904.48 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1904.48 s
[opt-env-conf-test] - then ppErrors' errs
1904.49 s
[opt-env-conf-test] - else do
1904.49 s
[opt-env-conf-test] - -- Settings available below
1904.49 s
[opt-env-conf-test] - let settingsMap = parserSettingsMap p'
1904.49 s
[opt-env-conf-test] - -- Settings that have been parsed
1904.49 s
[opt-env-conf-test] - parsedMap <- gets ppStateParsedSettings
1904.49 s
[opt-env-conf-test] - -- Settings that have been parsed below
1904.49 s
[opt-env-conf-test] - let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1904.49 s
[opt-env-conf-test] - -- If any settings have been parsed below, and parsing still failed
1904.49 s
[opt-env-conf-test] - -- (this is the case because we're in the failure branch)
1904.49 s
[opt-env-conf-test] - -- with only forgivable errors
1904.49 s
[opt-env-conf-test] - -- (this is the case because we're in the branch where that's been checked)
1904.49 s
[opt-env-conf-test] - -- then this should be an unforgivable error.
1904.49 s
[opt-env-conf-test] - if null parsedSettingsMap
1904.49 s
[opt-env-conf-test] - then ppErrors' errs
1904.49 s
[opt-env-conf-test] - else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1904.49 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1904.49 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1910.14 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1910.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:135:15-60
1910.17 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
1910.17 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
1910.17 s
[opt-env-conf-test] ppIndent $ go p2
1910.17 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1910.17 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1910.17 s
[opt-env-conf-test] ppIndent $ do
1910.17 s
[opt-env-conf-test] eor <- tryPP $ go p'
1910.17 s
[opt-env-conf-test] case eor of
1910.17 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:196:72-82
1910.17 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1910.17 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1910.17 s
[opt-env-conf-test] case errOrB of
1910.17 s
[opt-env-conf-test] Left err -> do
1910.17 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable ]
1910.17 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show n o t ( forgivable ) ]
1910.18 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1910.18 s
[opt-env-conf-test] Right b -> do
1910.18 s
[opt-env-conf-test] debug ["succeeded"]
1910.18 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:196:25-83
1910.18 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1910.18 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1910.18 s
[opt-env-conf-test] case errOrB of
1910.18 s
[opt-env-conf-test] Left err -> do
1910.18 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1910.18 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1910.18 s
[opt-env-conf-test] Right b -> do
1910.18 s
[opt-env-conf-test] debug ["succeeded"]
1910.18 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:196:25-83
1910.18 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
1910.18 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1910.18 s
[opt-env-conf-test] case errOrB of
1910.18 s
[opt-env-conf-test] Left err -> do
1910.18 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1910.18 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1910.18 s
[opt-env-conf-test] Right b -> do
1910.18 s
[opt-env-conf-test] debug ["succeeded"]
1910.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:197:56-66
1910.18 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1910.18 s
[opt-env-conf-test] case errOrB of
1910.18 s
[opt-env-conf-test] Left err -> do
1910.18 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1910.18 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed f o r gi v a b l e err
1910.18 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed T r u e err
1910.18 s
[opt-env-conf-test] Right b -> do
1910.18 s
[opt-env-conf-test] debug ["succeeded"]
1910.18 s
[opt-env-conf-test] pure b
1910.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:197:56-66
1910.18 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1910.18 s
[opt-env-conf-test] case errOrB of
1910.18 s
[opt-env-conf-test] Left err -> do
1910.18 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1910.18 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed f o rg iv a b l e err
1910.18 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed F a l s e err
1910.18 s
[opt-env-conf-test] Right b -> do
1910.18 s
[opt-env-conf-test] debug ["succeeded"]
1910.18 s
[opt-env-conf-test] pure b
1910.19 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:197:56-66
1910.19 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
1910.19 s
[opt-env-conf-test] case errOrB of
1910.19 s
[opt-env-conf-test] Left err -> do
1910.19 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1910.19 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
1910.19 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed n o t ( forgivable ) err
1910.19 s
[opt-env-conf-test] Right b -> do
1910.19 s
[opt-env-conf-test] debug ["succeeded"]
1910.19 s
[opt-env-conf-test] pure b
1910.19 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:195:29-70
1910.19 s
[opt-env-conf-test] @@ -192,9 +192,8 @@
1910.19 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1910.19 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1910.19 s
[opt-env-conf-test] case errOrB of
1910.19 s
[opt-env-conf-test] Left err -> do
1910.19 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1910.19 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1910.19 s
[opt-env-conf-test] Right b -> do
1910.19 s
[opt-env-conf-test] debug ["succeeded"]
1910.19 s
[opt-env-conf-test] pure b
1910.19 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
1910.19 s
[opt-env-conf-test] @@ -191,13 +191,10 @@
1910.19 s
[opt-env-conf-test] ppIndent $
1910.19 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1910.19 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1910.19 s
[opt-env-conf-test] case errOrB of
1910.19 s
[opt-env-conf-test] - Left err -> do
1910.19 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1910.19 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed forgivable err
1910.19 s
[opt-env-conf-test] Right b -> do
1910.19 s
[opt-env-conf-test] debug ["succeeded"]
1910.19 s
[opt-env-conf-test] pure b
1910.19 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1910.19 s
[opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
1910.19 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
1910.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:196:72-82
1910.19 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
1910.19 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1910.19 s
[opt-env-conf-test] case errOrB of
1910.19 s
[opt-env-conf-test] Left err -> do
1910.19 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show f o r gi v a b l e]
1910.19 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show T r u e]
1910.19 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1910.19 s
[opt-env-conf-test] Right b -> do
1910.19 s
[opt-env-conf-test] debug ["succeeded"]
1910.19 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:152:20-112
1910.19 s
[opt-env-conf-test] @@ -149,32 +149,31 @@
1910.19 s
[opt-env-conf-test] pure (a :| as)
1910.19 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1910.19 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1910.19 s
[opt-env-conf-test] ppIndent $ do
1910.20 s
[opt-env-conf-test] e <- ask
1910.20 s
[opt-env-conf-test] s <- get
1910.20 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1910.20 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1910.20 s
[opt-env-conf-test] - put s'
1910.20 s
[opt-env-conf-test] case result of
1910.20 s
[opt-env-conf-test] Success a -> pure a
1910.20 s
[opt-env-conf-test] Failure errs -> do
1910.20 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1910.20 s
[opt-env-conf-test] then ppErrors' errs
1910.20 s
[opt-env-conf-test] else do
1910.20 s
[opt-env-conf-test] -- Settings available below
1910.20 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1910.20 s
[opt-env-conf-test] -- Settings that have been parsed
1910.20 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1910.20 s
[opt-env-conf-test] -- Settings that have been parsed below
1910.20 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1910.20 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1910.20 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1910.20 s
[opt-env-conf-test] -- with only forgivable errors
1910.20 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1910.20 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1910.20 s
[opt-env-conf-test] if null parsedSettingsMap
1910.20 s
[opt-env-conf-test] then ppErrors' errs
1910.20 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1910.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1910.20 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1910.20 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1910.20 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:150:37-112
1910.20 s
[opt-env-conf-test] @@ -147,34 +147,33 @@
1910.20 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1910.20 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1910.20 s
[opt-env-conf-test] pure (a :| as)
1910.20 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1910.20 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1910.20 s
[opt-env-conf-test] ppIndent $ do
1910.20 s
[opt-env-conf-test] e <- ask
1910.20 s
[opt-env-conf-test] s <- get
1910.20 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
1910.20 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
1910.20 s
[opt-env-conf-test] put s'
1910.20 s
[opt-env-conf-test] case result of
1910.20 s
[opt-env-conf-test] Success a -> pure a
1910.20 s
[opt-env-conf-test] Failure errs -> do
1910.20 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
1910.20 s
[opt-env-conf-test] then ppErrors' errs
1910.20 s
[opt-env-conf-test] else do
1910.20 s
[opt-env-conf-test] -- Settings available below
1910.20 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
1915.76 s
[opt-env-conf-test] -- Settings that have been parsed
1915.78 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
1915.78 s
[opt-env-conf-test] -- Settings that have been parsed below
1915.78 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
1915.78 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
1915.78 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
1915.78 s
[opt-env-conf-test] -- with only forgivable errors
1915.78 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1915.78 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1915.79 s
[opt-env-conf-test] if null parsedSettingsMap
1915.79 s
[opt-env-conf-test] then ppErrors' errs
1915.79 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1915.79 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1915.79 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
1915.79 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
1915.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:216:25-85
1915.79 s
[opt-env-conf-test] @@ -213,7 +213,6 @@
1915.79 s
[opt-env-conf-test] case mDefaultCommand of
1915.79 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1915.79 s
[opt-env-conf-test] Just dc -> do
1915.79 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1915.79 s
[opt-env-conf-test] go $ commandParser dc
1915.79 s
[opt-env-conf-test] Just s -> do
1915.79 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1915.79 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:194:15-25
1915.79 s
[opt-env-conf-test] @@ -191,13 +191,10 @@
1915.79 s
[opt-env-conf-test] ppIndent $
1915.79 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
1915.79 s
[opt-env-conf-test] errOrB <- liftIO $ f a
1915.79 s
[opt-env-conf-test] case errOrB of
1915.79 s
[opt-env-conf-test] Left err -> do
1915.79 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
1915.79 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
1915.79 s
[opt-env-conf-test] - Right b -> do
1915.79 s
[opt-env-conf-test] - debug ["succeeded"]
1915.79 s
[opt-env-conf-test] - pure b
1915.79 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> do
1915.79 s
[opt-env-conf-test] debug [syntaxChunk "Commands", ": ", mSrcLocChunk mLoc]
1915.79 s
[opt-env-conf-test] forM_ mDefault $ \d -> debug ["default:", chunk $ T.pack $ show d]
1915.79 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:216:25-85
1915.79 s
[opt-env-conf-test] @@ -213,7 +213,6 @@
1915.79 s
[opt-env-conf-test] case mDefaultCommand of
1915.79 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1915.79 s
[opt-env-conf-test] Just dc -> do
1915.79 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1915.79 s
[opt-env-conf-test] go $ commandParser dc
1915.79 s
[opt-env-conf-test] Just s -> do
1915.79 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1915.79 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:215:28-40
1915.79 s
[opt-env-conf-test] @@ -212,9 +212,8 @@
1915.79 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1915.79 s
[opt-env-conf-test] case mDefaultCommand of
1915.79 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1915.79 s
[opt-env-conf-test] Just dc -> do
1915.79 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1915.79 s
[opt-env-conf-test] go $ commandParser dc
1915.79 s
[opt-env-conf-test] Just s -> do
1915.80 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1915.80 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1915.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:213:15-40
1915.80 s
[opt-env-conf-test] @@ -210,11 +210,8 @@
1915.80 s
[opt-env-conf-test] let mDefaultCommand = do
1915.80 s
[opt-env-conf-test] d <- mDefault
1915.80 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1915.80 s
[opt-env-conf-test] case mDefaultCommand of
1915.80 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1915.80 s
[opt-env-conf-test] - Just dc -> do
1915.80 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1915.80 s
[opt-env-conf-test] - go $ commandParser dc
1915.80 s
[opt-env-conf-test] Just s -> do
1915.80 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1915.80 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1915.80 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:213:15-40
1915.80 s
[opt-env-conf-test] @@ -210,11 +210,10 @@
1915.80 s
[opt-env-conf-test] let mDefaultCommand = do
1915.80 s
[opt-env-conf-test] d <- mDefault
1915.80 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1915.80 s
[opt-env-conf-test] case mDefaultCommand of
1915.80 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1915.80 s
[opt-env-conf-test] Just dc -> do
1915.80 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1915.80 s
[opt-env-conf-test] go $ commandParser dc
1915.80 s
[opt-env-conf-test] Just s -> do
1915.80 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1915.80 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1915.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:175:22-44
1915.80 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1915.80 s
[opt-env-conf-test] -- with only forgivable errors
1915.80 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1915.80 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1915.80 s
[opt-env-conf-test] - if n u ll pa r s ed S e t tin gsMap
1915.80 s
[opt-env-conf-test] + if T r u e
1915.80 s
[opt-env-conf-test] then ppErrors' errs
1915.80 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1915.80 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1915.80 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:161:18-50
1915.80 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1915.80 s
[opt-env-conf-test] case result of
1915.80 s
[opt-env-conf-test] Success a -> pure a
1915.80 s
[opt-env-conf-test] Failure errs -> do
1915.80 s
[opt-env-conf-test] - if not $ all errorIsForgivable errs
1915.80 s
[opt-env-conf-test] + if n o t ( not $ all errorIsForgivable errs )
1915.80 s
[opt-env-conf-test] then ppErrors' errs
1915.80 s
[opt-env-conf-test] else do
1915.80 s
[opt-env-conf-test] -- Settings available below
1915.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:161:18-50
1915.80 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
1915.80 s
[opt-env-conf-test] case result of
1915.80 s
[opt-env-conf-test] Success a -> pure a
1915.80 s
[opt-env-conf-test] Failure errs -> do
1915.80 s
[opt-env-conf-test] - if n ot $ al l errorI s Forgiva bl e e rrs
1915.80 s
[opt-env-conf-test] + if F al s e
1915.80 s
[opt-env-conf-test] then ppErrors' errs
1915.80 s
[opt-env-conf-test] else do
1915.80 s
[opt-env-conf-test] -- Settings available below
1915.80 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:175:22-44
1915.80 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
1915.80 s
[opt-env-conf-test] -- with only forgivable errors
1915.80 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
1915.80 s
[opt-env-conf-test] -- then this should be an unforgivable error.
1915.80 s
[opt-env-conf-test] - if n u l l par se dS ettingsMap
1915.81 s
[opt-env-conf-test] + if Fa l se
1915.81 s
[opt-env-conf-test] then ppErrors' errs
1915.81 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
1915.81 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
1915.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:117:15-61
1915.81 s
[opt-env-conf-test] @@ -114,7 +114,6 @@
1915.81 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
1915.81 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1915.81 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1915.81 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1915.81 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1915.81 s
[opt-env-conf-test] ParserSelect fe ff -> do
1915.81 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
1915.81 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:113:25-35
1915.81 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
1915.81 s
[opt-env-conf-test] ParserPure a -> do
1915.81 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
1915.81 s
[opt-env-conf-test] pure a
1915.81 s
[opt-env-conf-test] ParserAp ff fa -> do
1915.81 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
1915.81 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
1915.81 s
[opt-env-conf-test] ParserEmpty mLoc -> do
1915.81 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
1915.81 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
1915.81 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
1915.81 s
[opt-env-conf-test] @@ -222,7 +222,6 @@
1915.81 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1915.81 s
[opt-env-conf-test] go $ commandParser c
1915.81 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1921.70 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1921.72 s
[opt-env-conf-test] ppIndent $ do
1921.72 s
[opt-env-conf-test] debug ["loading config"]
1921.72 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1921.72 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:224:38-20
1921.72 s
[opt-env-conf-test] @@ -221,15 +221,14 @@
1921.72 s
[opt-env-conf-test] Just c -> do
1921.72 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1921.73 s
[opt-env-conf-test] go $ commandParser c
1921.73 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1921.73 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1921.73 s
[opt-env-conf-test] ppIndent $ do
1921.73 s
[opt-env-conf-test] debug ["loading config"]
1921.73 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1921.73 s
[opt-env-conf-test] debug ["with loaded config"]
1921.73 s
[opt-env-conf-test] ppIndent $
1921.73 s
[opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
1921.73 s
[opt-env-conf-test] go pa
1921.73 s
[opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
1921.73 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
1921.73 s
[opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
1921.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:262:16-34
1921.73 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1921.73 s
[opt-env-conf-test] mLoc
1921.73 s
[opt-env-conf-test] let mOptDoc = settingOptDoc set
1921.74 s
[opt-env-conf-test] mArg <-
1921.74 s
[opt-env-conf-test] - if s e tt ing T ry A r g u m e n t
1921.74 s
[opt-env-conf-test] + if T r u e
1921.74 s
[opt-env-conf-test] then do
1921.74 s
[opt-env-conf-test] -- Require readers before finding the argument so the parser
1921.74 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1921.74 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:262:16-34
1921.74 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1921.74 s
[opt-env-conf-test] mLoc
1921.74 s
[opt-env-conf-test] let mOptDoc = settingOptDoc set
1921.74 s
[opt-env-conf-test] mArg <-
1921.74 s
[opt-env-conf-test] - if se tt ingTr yArgument
1921.74 s
[opt-env-conf-test] + if F a l se
1921.74 s
[opt-env-conf-test] then do
1921.74 s
[opt-env-conf-test] -- Require readers before finding the argument so the parser
1921.74 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1921.74 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:262:16-34
1921.74 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
1921.74 s
[opt-env-conf-test] mLoc
1921.74 s
[opt-env-conf-test] let mOptDoc = settingOptDoc set
1921.74 s
[opt-env-conf-test] mArg <-
1921.74 s
[opt-env-conf-test] - if settingTryArgument
1921.74 s
[opt-env-conf-test] + if n o t ( settingTryArgument )
1921.74 s
[opt-env-conf-test] then do
1921.74 s
[opt-env-conf-test] -- Require readers before finding the argument so the parser
1921.74 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1921.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:273:21-39
1921.74 s
[opt-env-conf-test] @@ -270,14 +270,13 @@
1921.74 s
[opt-env-conf-test] debug ["could not set based on argument: no argument"]
1921.74 s
[opt-env-conf-test] pure NotFound
1921.74 s
[opt-env-conf-test] Just argStr -> cap $
1921.74 s
[opt-env-conf-test] case tryReaders rs argStr of
1921.74 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1921.74 s
[opt-env-conf-test] Right a -> do
1921.75 s
[opt-env-conf-test] debug
1921.75 s
[opt-env-conf-test] [ "set based on argument: ",
1921.75 s
[opt-env-conf-test] chunk $ T.pack $ show argStr
1921.75 s
[opt-env-conf-test] ]
1921.75 s
[opt-env-conf-test] pure $ Found a
1921.75 s
[opt-env-conf-test] else pure NotRun
1921.75 s
[opt-env-conf-test]
1921.75 s
[opt-env-conf-test] case mArg of
1921.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:273:21-39
1921.75 s
[opt-env-conf-test] @@ -270,14 +270,8 @@
1921.75 s
[opt-env-conf-test] debug ["could not set based on argument: no argument"]
1921.75 s
[opt-env-conf-test] pure NotFound
1921.75 s
[opt-env-conf-test] Just argStr -> cap $
1921.75 s
[opt-env-conf-test] case tryReaders rs argStr of
1921.75 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1921.75 s
[opt-env-conf-test] - Right a -> do
1921.75 s
[opt-env-conf-test] - debug
1921.75 s
[opt-env-conf-test] - [ "set based on argument: ",
1921.75 s
[opt-env-conf-test] - chunk $ T.pack $ show argStr
1921.75 s
[opt-env-conf-test] - ]
1921.75 s
[opt-env-conf-test] - pure $ Found a
1921.75 s
[opt-env-conf-test] else pure NotRun
1921.75 s
[opt-env-conf-test]
1921.75 s
[opt-env-conf-test] case mArg of
1921.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:268:17-39
1921.75 s
[opt-env-conf-test] @@ -265,19 +265,16 @@
1921.75 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1921.75 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1921.75 s
[opt-env-conf-test] mS <- ppArg
1921.75 s
[opt-env-conf-test] case mS of
1921.75 s
[opt-env-conf-test] - Nothing -> do
1921.75 s
[opt-env-conf-test] - debug ["could not set based on argument: no argument"]
1921.75 s
[opt-env-conf-test] - pure NotFound
1921.75 s
[opt-env-conf-test] Just argStr -> cap $
1921.75 s
[opt-env-conf-test] case tryReaders rs argStr of
1921.75 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1921.75 s
[opt-env-conf-test] Right a -> do
1921.75 s
[opt-env-conf-test] debug
1921.75 s
[opt-env-conf-test] [ "set based on argument: ",
1921.75 s
[opt-env-conf-test] chunk $ T.pack $ show argStr
1921.75 s
[opt-env-conf-test] ]
1921.75 s
[opt-env-conf-test] pure $ Found a
1921.75 s
[opt-env-conf-test] else pure NotRun
1921.75 s
[opt-env-conf-test]
1921.75 s
[opt-env-conf-test] case mArg of
1921.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:268:17-39
1921.75 s
[opt-env-conf-test] @@ -265,19 +265,10 @@
1921.75 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1921.75 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1921.75 s
[opt-env-conf-test] mS <- ppArg
1921.75 s
[opt-env-conf-test] case mS of
1921.75 s
[opt-env-conf-test] Nothing -> do
1921.75 s
[opt-env-conf-test] debug ["could not set based on argument: no argument"]
1921.75 s
[opt-env-conf-test] pure NotFound
1921.76 s
[opt-env-conf-test] - Just argStr -> cap $
1921.76 s
[opt-env-conf-test] - case tryReaders rs argStr of
1921.76 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorArgumentRead mOptDoc errs
1921.76 s
[opt-env-conf-test] - Right a -> do
1921.76 s
[opt-env-conf-test] - debug
1921.76 s
[opt-env-conf-test] - [ "set based on argument: ",
1921.76 s
[opt-env-conf-test] - chunk $ T.pack $ show argStr
1921.76 s
[opt-env-conf-test] - ]
1921.76 s
[opt-env-conf-test] - pure $ Found a
1921.76 s
[opt-env-conf-test] else pure NotRun
1921.76 s
[opt-env-conf-test]
1921.76 s
[opt-env-conf-test] case mArg of
1921.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
1921.76 s
[opt-env-conf-test] @@ -289,16 +289,10 @@
1921.76 s
[opt-env-conf-test] Nothing -> pure NotRun
1921.76 s
[opt-env-conf-test] Just a -> do
1921.76 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1921.76 s
[opt-env-conf-test] case mS of
1921.76 s
[opt-env-conf-test] - Nothing -> do
1921.76 s
[opt-env-conf-test] - debug
1921.76 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1921.76 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1921.76 s
[opt-env-conf-test] - ]
1921.76 s
[opt-env-conf-test] - pure NotFound
1921.76 s
[opt-env-conf-test] Just () -> cap $ do
1921.76 s
[opt-env-conf-test] debug ["set based on switch."]
1921.76 s
[opt-env-conf-test] pure $ Found a
1921.76 s
[opt-env-conf-test]
1921.76 s
[opt-env-conf-test] case mSwitch of
1921.76 s
[opt-env-conf-test] Found a -> do
1921.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:292:19-37
1921.76 s
[opt-env-conf-test] @@ -289,16 +289,13 @@
1921.76 s
[opt-env-conf-test] Nothing -> pure NotRun
1921.76 s
[opt-env-conf-test] Just a -> do
1921.76 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1921.76 s
[opt-env-conf-test] case mS of
1921.76 s
[opt-env-conf-test] Nothing -> do
1921.76 s
[opt-env-conf-test] debug
1921.76 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1921.76 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1921.76 s
[opt-env-conf-test] ]
1921.76 s
[opt-env-conf-test] pure NotFound
1921.76 s
[opt-env-conf-test] - Just () -> cap $ do
1921.76 s
[opt-env-conf-test] - debug ["set based on switch."]
1921.76 s
[opt-env-conf-test] - pure $ Found a
1921.76 s
[opt-env-conf-test]
1921.76 s
[opt-env-conf-test] case mSwitch of
1921.76 s
[opt-env-conf-test] Found a -> do
1921.76 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:288:26-37
1921.76 s
[opt-env-conf-test] @@ -285,20 +285,19 @@
1921.76 s
[opt-env-conf-test] markParsed
1921.76 s
[opt-env-conf-test] pure a
1921.76 s
[opt-env-conf-test] _ -> do
1921.76 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1921.76 s
[opt-env-conf-test] - Nothing -> pure NotRun
1921.76 s
[opt-env-conf-test] Just a -> do
1921.76 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1921.76 s
[opt-env-conf-test] case mS of
1921.76 s
[opt-env-conf-test] Nothing -> do
1921.76 s
[opt-env-conf-test] debug
1921.76 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1921.76 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1921.77 s
[opt-env-conf-test] ]
1921.77 s
[opt-env-conf-test] pure NotFound
1921.77 s
[opt-env-conf-test] Just () -> cap $ do
1921.77 s
[opt-env-conf-test] debug ["set based on switch."]
1921.77 s
[opt-env-conf-test] pure $ Found a
1921.77 s
[opt-env-conf-test]
1921.77 s
[opt-env-conf-test] case mSwitch of
1926.45 s
[opt-env-conf-test] Found a -> do
1926.45 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:288:26-37
1926.45 s
[opt-env-conf-test] @@ -285,20 +285,8 @@
1926.45 s
[opt-env-conf-test] markParsed
1926.45 s
[opt-env-conf-test] pure a
1926.45 s
[opt-env-conf-test] _ -> do
1926.45 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1926.46 s
[opt-env-conf-test] Nothing -> pure NotRun
1926.46 s
[opt-env-conf-test] - Just a -> do
1926.46 s
[opt-env-conf-test] - mS <- ppSwitch settingDasheds
1926.46 s
[opt-env-conf-test] - case mS of
1926.46 s
[opt-env-conf-test] - Nothing -> do
1926.46 s
[opt-env-conf-test] - debug
1926.46 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1926.46 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1926.46 s
[opt-env-conf-test] - ]
1926.46 s
[opt-env-conf-test] - pure NotFound
1926.46 s
[opt-env-conf-test] - Just () -> cap $ do
1926.46 s
[opt-env-conf-test] - debug ["set based on switch."]
1926.46 s
[opt-env-conf-test] - pure $ Found a
1926.46 s
[opt-env-conf-test]
1926.46 s
[opt-env-conf-test] case mSwitch of
1926.46 s
[opt-env-conf-test] Found a -> do
1926.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:309:24-40
1926.46 s
[opt-env-conf-test] @@ -306,7 +306,7 @@
1926.46 s
[opt-env-conf-test] pure a
1926.46 s
[opt-env-conf-test] _ -> do
1926.46 s
[opt-env-conf-test] mOpt <-
1926.46 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
1926.46 s
[opt-env-conf-test] + if Tr ue
1926.46 s
[opt-env-conf-test] then do
1926.46 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1926.46 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1926.46 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Run.hs:309:24-40
1926.46 s
[opt-env-conf-test] @@ -306,7 +306,7 @@
1926.46 s
[opt-env-conf-test] pure a
1926.46 s
[opt-env-conf-test] _ -> do
1926.46 s
[opt-env-conf-test] mOpt <-
1926.46 s
[opt-env-conf-test] - if se tt ingT ryOption
1926.46 s
[opt-env-conf-test] + if F a l se
1926.46 s
[opt-env-conf-test] then do
1926.46 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1926.46 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1926.46 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Run.hs:309:24-40
1926.46 s
[opt-env-conf-test] @@ -306,7 +306,7 @@
1926.46 s
[opt-env-conf-test] pure a
1926.46 s
[opt-env-conf-test] _ -> do
1926.46 s
[opt-env-conf-test] mOpt <-
1926.46 s
[opt-env-conf-test] - if settingTryOption
1926.46 s
[opt-env-conf-test] + if n o t ( settingTryOption )
1926.46 s
[opt-env-conf-test] then do
1926.46 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1926.46 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1926.46 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:323:29-47
1926.47 s
[opt-env-conf-test] @@ -320,14 +320,13 @@
1926.47 s
[opt-env-conf-test] ]
1926.47 s
[opt-env-conf-test] pure NotFound
1926.47 s
[opt-env-conf-test] Just optionStr -> cap $
1926.47 s
[opt-env-conf-test] case tryReaders rs optionStr of
1926.47 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1926.47 s
[opt-env-conf-test] Right a -> do
1926.47 s
[opt-env-conf-test] debug
1926.47 s
[opt-env-conf-test] [ "set based on option: ",
1926.47 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1926.47 s
[opt-env-conf-test] ]
1926.47 s
[opt-env-conf-test] pure $ Found a
1926.47 s
[opt-env-conf-test] else pure NotRun
1926.47 s
[opt-env-conf-test]
1926.47 s
[opt-env-conf-test] case mOpt of
1926.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:323:29-47
1926.47 s
[opt-env-conf-test] @@ -320,14 +320,8 @@
1926.47 s
[opt-env-conf-test] ]
1926.47 s
[opt-env-conf-test] pure NotFound
1926.47 s
[opt-env-conf-test] Just optionStr -> cap $
1926.47 s
[opt-env-conf-test] case tryReaders rs optionStr of
1926.47 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1926.47 s
[opt-env-conf-test] - Right a -> do
1926.47 s
[opt-env-conf-test] - debug
1926.47 s
[opt-env-conf-test] - [ "set based on option: ",
1926.47 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1926.47 s
[opt-env-conf-test] - ]
1926.47 s
[opt-env-conf-test] - pure $ Found a
1926.47 s
[opt-env-conf-test] else pure NotRun
1926.47 s
[opt-env-conf-test]
1926.47 s
[opt-env-conf-test] case mOpt of
1926.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
1926.47 s
[opt-env-conf-test] @@ -312,22 +312,16 @@
1926.47 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1926.47 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1926.47 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1926.47 s
[opt-env-conf-test] case mS of
1926.47 s
[opt-env-conf-test] - Nothing -> do
1926.47 s
[opt-env-conf-test] - debug
1926.47 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1926.47 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1926.47 s
[opt-env-conf-test] - ]
1926.47 s
[opt-env-conf-test] - pure NotFound
1926.47 s
[opt-env-conf-test] Just optionStr -> cap $
1926.47 s
[opt-env-conf-test] case tryReaders rs optionStr of
1926.47 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1926.47 s
[opt-env-conf-test] Right a -> do
1926.47 s
[opt-env-conf-test] debug
1926.47 s
[opt-env-conf-test] [ "set based on option: ",
1926.47 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1926.47 s
[opt-env-conf-test] ]
1926.47 s
[opt-env-conf-test] pure $ Found a
1926.47 s
[opt-env-conf-test] else pure NotRun
1926.47 s
[opt-env-conf-test]
1926.47 s
[opt-env-conf-test] case mOpt of
1926.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:315:25-47
1926.47 s
[opt-env-conf-test] @@ -312,22 +312,13 @@
1926.47 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1926.47 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1926.47 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1926.47 s
[opt-env-conf-test] case mS of
1926.47 s
[opt-env-conf-test] Nothing -> do
1926.47 s
[opt-env-conf-test] debug
1926.47 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1926.47 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1926.47 s
[opt-env-conf-test] ]
1926.47 s
[opt-env-conf-test] pure NotFound
1926.47 s
[opt-env-conf-test] - Just optionStr -> cap $
1926.47 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1926.47 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1926.47 s
[opt-env-conf-test] - Right a -> do
1926.47 s
[opt-env-conf-test] - debug
1926.47 s
[opt-env-conf-test] - [ "set based on option: ",
1926.47 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1926.47 s
[opt-env-conf-test] - ]
1926.47 s
[opt-env-conf-test] - pure $ Found a
1926.47 s
[opt-env-conf-test] else pure NotRun
1926.47 s
[opt-env-conf-test]
1926.47 s
[opt-env-conf-test] case mOpt of
1926.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
1926.47 s
[opt-env-conf-test] @@ -349,14 +349,13 @@
1926.47 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1926.47 s
[opt-env-conf-test] -- result.
1926.47 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1926.47 s
[opt-env-conf-test] case tryReaders rs varStr of
1926.47 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1926.47 s
[opt-env-conf-test] Right a -> do
1926.47 s
[opt-env-conf-test] debug
1926.47 s
[opt-env-conf-test] [ "set based on env: ",
1926.47 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1926.47 s
[opt-env-conf-test] ]
1926.47 s
[opt-env-conf-test] pure a
1926.47 s
[opt-env-conf-test] case listToMaybe results of
1926.47 s
[opt-env-conf-test] Nothing -> do
1926.47 s
[opt-env-conf-test] debug
1926.47 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:352:29-39
1926.48 s
[opt-env-conf-test] @@ -349,14 +349,8 @@
1926.48 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1926.48 s
[opt-env-conf-test] -- result.
1926.48 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1926.48 s
[opt-env-conf-test] case tryReaders rs varStr of
1926.48 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1926.48 s
[opt-env-conf-test] - Right a -> do
1926.48 s
[opt-env-conf-test] - debug
1926.48 s
[opt-env-conf-test] - [ "set based on env: ",
1926.48 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1928.02 s
[opt-env-conf-test] - ]
1928.02 s
[opt-env-conf-test] - pure a
1928.09 s
[opt-env-conf-test] case listToMaybe results of
1928.09 s
[opt-env-conf-test] Nothing -> do
1928.09 s
[opt-env-conf-test] debug
1928.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1928.09 s
[opt-env-conf-test] @@ -357,14 +357,8 @@
1928.09 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1928.09 s
[opt-env-conf-test] ]
1928.09 s
[opt-env-conf-test] pure a
1928.09 s
[opt-env-conf-test] case listToMaybe results of
1928.09 s
[opt-env-conf-test] - Nothing -> do
1928.09 s
[opt-env-conf-test] - debug
1928.09 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1928.10 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1928.10 s
[opt-env-conf-test] - ]
1928.10 s
[opt-env-conf-test] - pure NotFound
1928.10 s
[opt-env-conf-test] Just a -> pure $ Found a
1928.10 s
[opt-env-conf-test]
1928.10 s
[opt-env-conf-test] case mEnv of
1928.10 s
[opt-env-conf-test] Found a -> do
1928.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:360:27-53
1928.10 s
[opt-env-conf-test] @@ -357,14 +357,13 @@
1928.10 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1928.10 s
[opt-env-conf-test] ]
1928.10 s
[opt-env-conf-test] pure a
1928.10 s
[opt-env-conf-test] case listToMaybe results of
1928.10 s
[opt-env-conf-test] Nothing -> do
1928.10 s
[opt-env-conf-test] debug
1928.10 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1928.10 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1928.10 s
[opt-env-conf-test] ]
1928.10 s
[opt-env-conf-test] pure NotFound
1928.10 s
[opt-env-conf-test] - Just a -> pure $ Found a
1928.10 s
[opt-env-conf-test]
1928.10 s
[opt-env-conf-test] case mEnv of
1928.10 s
[opt-env-conf-test] Found a -> do
1928.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
1928.10 s
[opt-env-conf-test] @@ -336,35 +336,34 @@
1928.10 s
[opt-env-conf-test] pure a
1928.10 s
[opt-env-conf-test] _ -> do
1928.10 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1928.10 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1928.10 s
[opt-env-conf-test] - Nothing -> pure NotRun
1928.10 s
[opt-env-conf-test] Just ne -> do
1928.10 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1928.10 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1928.10 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1928.10 s
[opt-env-conf-test] es <- asks ppEnvEnv
1928.10 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1928.10 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1928.10 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1928.11 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1928.11 s
[opt-env-conf-test] -- result.
1928.11 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1928.11 s
[opt-env-conf-test] case tryReaders rs varStr of
1928.11 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1928.11 s
[opt-env-conf-test] Right a -> do
1928.11 s
[opt-env-conf-test] debug
1928.11 s
[opt-env-conf-test] [ "set based on env: ",
1928.11 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1928.11 s
[opt-env-conf-test] ]
1928.11 s
[opt-env-conf-test] pure a
1928.11 s
[opt-env-conf-test] case listToMaybe results of
1928.11 s
[opt-env-conf-test] Nothing -> do
1928.11 s
[opt-env-conf-test] debug
1928.11 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1928.11 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1928.11 s
[opt-env-conf-test] ]
1928.11 s
[opt-env-conf-test] pure NotFound
1928.11 s
[opt-env-conf-test] Just a -> pure $ Found a
1928.11 s
[opt-env-conf-test]
1928.11 s
[opt-env-conf-test] case mEnv of
1928.11 s
[opt-env-conf-test] Found a -> do
1928.11 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:339:37-53
1928.11 s
[opt-env-conf-test] @@ -336,35 +336,8 @@
1928.11 s
[opt-env-conf-test] pure a
1928.11 s
[opt-env-conf-test] _ -> do
1928.11 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1928.11 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1928.11 s
[opt-env-conf-test] Nothing -> pure NotRun
1928.11 s
[opt-env-conf-test] - Just ne -> do
1928.11 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1928.11 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1928.11 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1928.11 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1928.11 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1928.11 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1928.11 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1928.11 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1928.11 s
[opt-env-conf-test] - -- result.
1928.11 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1928.11 s
[opt-env-conf-test] - case tryReaders rs varStr of
1928.12 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1928.12 s
[opt-env-conf-test] - Right a -> do
1928.12 s
[opt-env-conf-test] - debug
1928.12 s
[opt-env-conf-test] - [ "set based on env: ",
1928.12 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1928.12 s
[opt-env-conf-test] - ]
1928.12 s
[opt-env-conf-test] - pure a
1928.12 s
[opt-env-conf-test] - case listToMaybe results of
1928.12 s
[opt-env-conf-test] - Nothing -> do
1928.12 s
[opt-env-conf-test] - debug
1928.12 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1928.12 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1928.12 s
[opt-env-conf-test] - ]
1932.50 s
[opt-env-conf-test] - pure NotFound
1932.50 s
[opt-env-conf-test] - Just a -> pure $ Found a
1932.50 s
[opt-env-conf-test]
1932.50 s
[opt-env-conf-test] case mEnv of
1932.50 s
[opt-env-conf-test] Found a -> do
1932.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1932.50 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1932.50 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1932.50 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1932.50 s
[opt-env-conf-test] Nothing -> do
1932.50 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1932.50 s
[opt-env-conf-test] - Nothing -> pure Nothing
1932.50 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1932.50 s
[opt-env-conf-test] Just neRest -> do
1932.50 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1932.50 s
[opt-env-conf-test] case mO' of
1932.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:388:49-81
1932.50 s
[opt-env-conf-test] @@ -385,9 +385,8 @@
1932.50 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1932.50 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1932.50 s
[opt-env-conf-test] Nothing -> do
1932.50 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1932.50 s
[opt-env-conf-test] Nothing -> pure Nothing
1932.50 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1932.50 s
[opt-env-conf-test] Just neRest -> do
1932.50 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1932.50 s
[opt-env-conf-test] case mO' of
1932.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1932.50 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1932.50 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1932.50 s
[opt-env-conf-test] Just neRest -> do
1932.51 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1932.51 s
[opt-env-conf-test] case mO' of
1932.51 s
[opt-env-conf-test] - Nothing -> pure Nothing
1932.51 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1932.51 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1932.51 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1932.51 s
[opt-env-conf-test] Right mV -> case mV of
1932.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:393:49-82
1932.51 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
1932.51 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1932.51 s
[opt-env-conf-test] Just neRest -> do
1932.51 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1932.51 s
[opt-env-conf-test] case mO' of
1932.51 s
[opt-env-conf-test] Nothing -> pure Nothing
1932.51 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1932.51 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1932.51 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1932.51 s
[opt-env-conf-test] Right mV -> case mV of
1932.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1932.51 s
[opt-env-conf-test] @@ -383,16 +383,12 @@
1932.51 s
[opt-env-conf-test] Just obj -> do
1932.51 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1932.51 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1932.51 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1932.51 s
[opt-env-conf-test] - Nothing -> do
1932.51 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1932.51 s
[opt-env-conf-test] - Nothing -> pure Nothing
1932.51 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1932.51 s
[opt-env-conf-test] Just neRest -> do
1932.51 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1932.51 s
[opt-env-conf-test] case mO' of
1932.51 s
[opt-env-conf-test] Nothing -> pure Nothing
1932.51 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1932.51 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1932.51 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1932.52 s
[opt-env-conf-test] Right mV -> case mV of
1932.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:386:72-82
1932.52 s
[opt-env-conf-test] @@ -383,16 +383,11 @@
1932.52 s
[opt-env-conf-test] Just obj -> do
1932.52 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1932.52 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1932.52 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1932.52 s
[opt-env-conf-test] Nothing -> do
1932.52 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1932.52 s
[opt-env-conf-test] Nothing -> pure Nothing
1932.52 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1932.52 s
[opt-env-conf-test] - Just neRest -> do
1932.52 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1932.52 s
[opt-env-conf-test] - case mO' of
1932.52 s
[opt-env-conf-test] - Nothing -> pure Nothing
1932.52 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1932.52 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1932.52 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1932.52 s
[opt-env-conf-test] Right mV -> case mV of
1932.52 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:419:58-64
1932.52 s
[opt-env-conf-test] @@ -416,7 +416,7 @@
1932.52 s
[opt-env-conf-test] [ "set based on config value: ",
1932.52 s
[opt-env-conf-test] chunk $ T.pack $ show v
1932.52 s
[opt-env-conf-test] ]
1932.52 s
[opt-env-conf-test] - pure $ J u s t a
1932.52 s
[opt-env-conf-test] + pure $ No t h ing
1932.52 s
[opt-env-conf-test] let toRes = \case
1932.52 s
[opt-env-conf-test] Nothing -> NotFound
1932.52 s
[opt-env-conf-test] Just a -> Found a
1932.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1932.52 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1932.52 s
[opt-env-conf-test] pure Nothing
1932.52 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1932.52 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1932.52 s
[opt-env-conf-test] Right mA -> case mA of
1932.52 s
[opt-env-conf-test] - Nothing -> do
1932.52 s
[opt-env-conf-test] - debug
1932.52 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1932.52 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1932.52 s
[opt-env-conf-test] - ]
1932.52 s
[opt-env-conf-test] - pure Nothing
1932.52 s
[opt-env-conf-test] Just a -> do
1932.52 s
[opt-env-conf-test] debug
1936.17 s
[opt-env-conf-test] [ "set based on config value: ",
1936.17 s
[opt-env-conf-test] chunk $ T.pack $ show v
1936.22 s
[opt-env-conf-test] ]
1936.22 s
[opt-env-conf-test] pure $ Just a
1936.22 s
[opt-env-conf-test] let toRes = \case
1936.22 s
[opt-env-conf-test] Nothing -> NotFound
1936.22 s
[opt-env-conf-test] Just a -> Found a
1936.22 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:407:59-64
1936.22 s
[opt-env-conf-test] @@ -404,19 +404,13 @@
1936.22 s
[opt-env-conf-test] pure Nothing
1936.22 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1936.22 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1936.22 s
[opt-env-conf-test] Right mA -> case mA of
1936.22 s
[opt-env-conf-test] Nothing -> do
1936.22 s
[opt-env-conf-test] debug
1936.22 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1936.23 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.23 s
[opt-env-conf-test] ]
1936.23 s
[opt-env-conf-test] pure Nothing
1936.23 s
[opt-env-conf-test] - Just a -> do
1936.23 s
[opt-env-conf-test] - debug
1936.23 s
[opt-env-conf-test] - [ "set based on config value: ",
1936.23 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1936.23 s
[opt-env-conf-test] - ]
1936.23 s
[opt-env-conf-test] - pure $ Just a
1936.23 s
[opt-env-conf-test] let toRes = \case
1936.23 s
[opt-env-conf-test] Nothing -> NotFound
1936.23 s
[opt-env-conf-test] Just a -> Found a
1936.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1936.23 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
1936.23 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.23 s
[opt-env-conf-test] ]
1936.23 s
[opt-env-conf-test] pure Nothing
1936.23 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1936.23 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1936.23 s
[opt-env-conf-test] Right mA -> case mA of
1936.23 s
[opt-env-conf-test] Nothing -> do
1936.23 s
[opt-env-conf-test] debug
1936.23 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1936.23 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.23 s
[opt-env-conf-test] ]
1936.23 s
[opt-env-conf-test] pure Nothing
1936.23 s
[opt-env-conf-test] Just a -> do
1936.23 s
[opt-env-conf-test] debug
1936.23 s
[opt-env-conf-test] [ "set based on config value: ",
1936.23 s
[opt-env-conf-test] chunk $ T.pack $ show v
1936.23 s
[opt-env-conf-test] ]
1936.23 s
[opt-env-conf-test] pure $ Just a
1936.23 s
[opt-env-conf-test] let toRes = \case
1936.23 s
[opt-env-conf-test] Nothing -> NotFound
1936.23 s
[opt-env-conf-test] Just a -> Found a
1936.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:405:55-64
1936.23 s
[opt-env-conf-test] @@ -402,21 +402,8 @@
1936.23 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.23 s
[opt-env-conf-test] ]
1936.23 s
[opt-env-conf-test] pure Nothing
1936.23 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1936.23 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1936.23 s
[opt-env-conf-test] - Right mA -> case mA of
1936.23 s
[opt-env-conf-test] - Nothing -> do
1936.23 s
[opt-env-conf-test] - debug
1936.23 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1936.23 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.23 s
[opt-env-conf-test] - ]
1936.23 s
[opt-env-conf-test] - pure Nothing
1936.23 s
[opt-env-conf-test] - Just a -> do
1936.24 s
[opt-env-conf-test] - debug
1936.24 s
[opt-env-conf-test] - [ "set based on config value: ",
1936.24 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1936.24 s
[opt-env-conf-test] - ]
1936.24 s
[opt-env-conf-test] - pure $ Just a
1936.24 s
[opt-env-conf-test] let toRes = \case
1936.24 s
[opt-env-conf-test] Nothing -> NotFound
1936.24 s
[opt-env-conf-test] Just a -> Found a
1936.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1936.24 s
[opt-env-conf-test] @@ -395,28 +395,22 @@
1936.24 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1936.24 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1936.24 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1936.24 s
[opt-env-conf-test] Right mV -> case mV of
1936.24 s
[opt-env-conf-test] - Nothing -> do
1936.24 s
[opt-env-conf-test] - debug
1936.24 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1936.24 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.24 s
[opt-env-conf-test] - ]
1936.24 s
[opt-env-conf-test] - pure Nothing
1936.24 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1936.24 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1936.24 s
[opt-env-conf-test] Right mA -> case mA of
1936.24 s
[opt-env-conf-test] Nothing -> do
1936.24 s
[opt-env-conf-test] debug
1936.24 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1936.24 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.24 s
[opt-env-conf-test] ]
1936.24 s
[opt-env-conf-test] pure Nothing
1936.24 s
[opt-env-conf-test] Just a -> do
1936.24 s
[opt-env-conf-test] debug
1936.24 s
[opt-env-conf-test] [ "set based on config value: ",
1936.24 s
[opt-env-conf-test] chunk $ T.pack $ show v
1936.24 s
[opt-env-conf-test] ]
1936.24 s
[opt-env-conf-test] pure $ Just a
1936.24 s
[opt-env-conf-test] let toRes = \case
1936.24 s
[opt-env-conf-test] Nothing -> NotFound
1936.24 s
[opt-env-conf-test] Just a -> Found a
1936.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:398:55-64
1936.24 s
[opt-env-conf-test] @@ -395,28 +395,13 @@
1936.24 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1936.24 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1936.24 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1936.24 s
[opt-env-conf-test] Right mV -> case mV of
1936.24 s
[opt-env-conf-test] Nothing -> do
1936.24 s
[opt-env-conf-test] debug
1936.24 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1936.24 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.24 s
[opt-env-conf-test] ]
1936.24 s
[opt-env-conf-test] pure Nothing
1936.24 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1936.24 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1936.24 s
[opt-env-conf-test] - Right mA -> case mA of
1936.24 s
[opt-env-conf-test] - Nothing -> do
1936.24 s
[opt-env-conf-test] - debug
1936.24 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1936.24 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1936.24 s
[opt-env-conf-test] - ]
1936.24 s
[opt-env-conf-test] - pure Nothing
1936.24 s
[opt-env-conf-test] - Just a -> do
1936.24 s
[opt-env-conf-test] - debug
1936.24 s
[opt-env-conf-test] - [ "set based on config value: ",
1936.24 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1937.49 s
[opt-env-conf-test] - ]
1937.49 s
[opt-env-conf-test] - pure $ Just a
1937.49 s
[opt-env-conf-test] let toRes = \case
1937.49 s
[opt-env-conf-test] Nothing -> NotFound
1937.49 s
[opt-env-conf-test] Just a -> Found a
1937.49 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1937.49 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
1937.49 s
[opt-env-conf-test] case mO' of
1937.49 s
[opt-env-conf-test] Nothing -> pure Nothing
1937.49 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1937.50 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1937.50 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1937.50 s
[opt-env-conf-test] Right mV -> case mV of
1937.50 s
[opt-env-conf-test] Nothing -> do
1937.50 s
[opt-env-conf-test] debug
1937.50 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1937.50 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1937.50 s
[opt-env-conf-test] ]
1937.50 s
[opt-env-conf-test] pure Nothing
1937.50 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1937.50 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1937.50 s
[opt-env-conf-test] Right mA -> case mA of
1937.50 s
[opt-env-conf-test] Nothing -> do
1937.50 s
[opt-env-conf-test] debug
1937.50 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1937.50 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1937.50 s
[opt-env-conf-test] ]
1937.50 s
[opt-env-conf-test] pure Nothing
1937.50 s
[opt-env-conf-test] Just a -> do
1937.50 s
[opt-env-conf-test] debug
1937.50 s
[opt-env-conf-test] [ "set based on config value: ",
1937.71 s
[opt-env-conf-test] chunk $ T.pack $ show v
1937.71 s
[opt-env-conf-test] ]
1937.71 s
[opt-env-conf-test] pure $ Just a
1937.72 s
[opt-env-conf-test] let toRes = \case
1937.72 s
[opt-env-conf-test] Nothing -> NotFound
1937.72 s
[opt-env-conf-test] Just a -> Found a
1937.72 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:396:41-64
1937.72 s
[opt-env-conf-test] @@ -393,30 +393,8 @@
1937.72 s
[opt-env-conf-test] case mO' of
1937.72 s
[opt-env-conf-test] Nothing -> pure Nothing
1937.72 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1937.72 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1937.72 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1937.72 s
[opt-env-conf-test] - Right mV -> case mV of
1937.72 s
[opt-env-conf-test] - Nothing -> do
1937.72 s
[opt-env-conf-test] - debug
1937.72 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1937.72 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1937.72 s
[opt-env-conf-test] - ]
1937.72 s
[opt-env-conf-test] - pure Nothing
1937.72 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1937.72 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1937.72 s
[opt-env-conf-test] - Right mA -> case mA of
1937.72 s
[opt-env-conf-test] - Nothing -> do
1937.72 s
[opt-env-conf-test] - debug
1937.72 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1937.72 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1937.72 s
[opt-env-conf-test] - ]
1937.72 s
[opt-env-conf-test] - pure Nothing
1937.72 s
[opt-env-conf-test] - Just a -> do
1939.64 s
[opt-env-conf-test] - debug
1939.64 s
[opt-env-conf-test] - [ "set based on config value: ",
1939.64 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1939.64 s
[opt-env-conf-test] - ]
1939.64 s
[opt-env-conf-test] - pure $ Just a
1939.64 s
[opt-env-conf-test] let toRes = \case
1939.64 s
[opt-env-conf-test] Nothing -> NotFound
1939.64 s
[opt-env-conf-test] Just a -> Found a
1939.64 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1939.64 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1939.64 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1939.64 s
[opt-env-conf-test] Just ne -> do
1939.64 s
[opt-env-conf-test] res <- goConfSet confSet
1939.64 s
[opt-env-conf-test] case res of
1939.64 s
[opt-env-conf-test] - Just a -> pure $ Found a
1939.64 s
[opt-env-conf-test] Nothing -> goConfSets ne
1939.64 s
[opt-env-conf-test] goConfSets confSets
1939.65 s
[opt-env-conf-test] case mConf of
1939.65 s
[opt-env-conf-test] Found a -> do
1939.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:427:43-69
1939.65 s
[opt-env-conf-test] @@ -424,9 +424,8 @@
1939.65 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1939.65 s
[opt-env-conf-test] Just ne -> do
1939.65 s
[opt-env-conf-test] res <- goConfSet confSet
1939.65 s
[opt-env-conf-test] case res of
1939.65 s
[opt-env-conf-test] Just a -> pure $ Found a
1939.65 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1939.65 s
[opt-env-conf-test] goConfSets confSets
1939.65 s
[opt-env-conf-test] case mConf of
1939.65 s
[opt-env-conf-test] Found a -> do
1939.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1939.65 s
[opt-env-conf-test] @@ -420,13 +420,12 @@
1939.65 s
[opt-env-conf-test] let toRes = \case
1939.65 s
[opt-env-conf-test] Nothing -> NotFound
1939.65 s
[opt-env-conf-test] Just a -> Found a
1939.65 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1939.65 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1939.65 s
[opt-env-conf-test] Just ne -> do
1939.65 s
[opt-env-conf-test] res <- goConfSet confSet
1939.65 s
[opt-env-conf-test] case res of
1939.65 s
[opt-env-conf-test] Just a -> pure $ Found a
1939.65 s
[opt-env-conf-test] Nothing -> goConfSets ne
1939.65 s
[opt-env-conf-test] goConfSets confSets
1939.65 s
[opt-env-conf-test] case mConf of
1939.65 s
[opt-env-conf-test] Found a -> do
1939.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:423:70-69
1939.65 s
[opt-env-conf-test] @@ -420,13 +420,8 @@
1939.65 s
[opt-env-conf-test] let toRes = \case
1939.65 s
[opt-env-conf-test] Nothing -> NotFound
1939.65 s
[opt-env-conf-test] Just a -> Found a
1939.65 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1939.65 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1939.65 s
[opt-env-conf-test] - Just ne -> do
1939.65 s
[opt-env-conf-test] - res <- goConfSet confSet
1939.65 s
[opt-env-conf-test] - case res of
1939.65 s
[opt-env-conf-test] - Just a -> pure $ Found a
1939.65 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1939.65 s
[opt-env-conf-test] goConfSets confSets
1939.65 s
[opt-env-conf-test] case mConf of
1939.65 s
[opt-env-conf-test] Found a -> do
1939.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1939.65 s
[opt-env-conf-test] @@ -376,58 +376,55 @@
1939.65 s
[opt-env-conf-test] Nothing -> pure NotRun
1939.65 s
[opt-env-conf-test] Just confSets -> do
1939.65 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1939.65 s
[opt-env-conf-test] case mObj of
1939.65 s
[opt-env-conf-test] - Nothing -> do
1939.65 s
[opt-env-conf-test] - debug ["no config object to set from"]
1939.65 s
[opt-env-conf-test] - pure NotFound
1939.66 s
[opt-env-conf-test] Just obj -> do
1939.66 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1939.66 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1939.66 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1939.66 s
[opt-env-conf-test] Nothing -> do
1939.66 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1939.66 s
[opt-env-conf-test] Nothing -> pure Nothing
1939.66 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1939.66 s
[opt-env-conf-test] Just neRest -> do
1939.66 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1939.66 s
[opt-env-conf-test] case mO' of
1939.66 s
[opt-env-conf-test] Nothing -> pure Nothing
1939.66 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1939.66 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1939.66 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1939.66 s
[opt-env-conf-test] Right mV -> case mV of
1939.66 s
[opt-env-conf-test] Nothing -> do
1939.66 s
[opt-env-conf-test] debug
1939.66 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1939.66 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1939.66 s
[opt-env-conf-test] ]
1939.66 s
[opt-env-conf-test] pure Nothing
1939.66 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1939.66 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1939.66 s
[opt-env-conf-test] Right mA -> case mA of
1939.66 s
[opt-env-conf-test] Nothing -> do
1939.66 s
[opt-env-conf-test] debug
1939.66 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1939.66 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1939.66 s
[opt-env-conf-test] ]
1939.66 s
[opt-env-conf-test] pure Nothing
1939.66 s
[opt-env-conf-test] Just a -> do
1939.66 s
[opt-env-conf-test] debug
1939.66 s
[opt-env-conf-test] [ "set based on config value: ",
1939.66 s
[opt-env-conf-test] chunk $ T.pack $ show v
1939.66 s
[opt-env-conf-test] ]
1939.66 s
[opt-env-conf-test] pure $ Just a
1939.66 s
[opt-env-conf-test] let toRes = \case
1939.66 s
[opt-env-conf-test] Nothing -> NotFound
1939.66 s
[opt-env-conf-test] Just a -> Found a
1939.66 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1939.66 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1939.66 s
[opt-env-conf-test] Just ne -> do
1939.66 s
[opt-env-conf-test] res <- goConfSet confSet
1939.66 s
[opt-env-conf-test] case res of
1939.66 s
[opt-env-conf-test] Just a -> pure $ Found a
1939.66 s
[opt-env-conf-test] Nothing -> goConfSets ne
1940.33 s
[opt-env-conf-test] goConfSets confSets
1940.33 s
[opt-env-conf-test] case mConf of
1940.33 s
[opt-env-conf-test] Found a -> do
1940.33 s
[opt-env-conf-test] markParsed
1940.33 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:379:31-54
1940.33 s
[opt-env-conf-test] @@ -376,58 +376,10 @@
1940.33 s
[opt-env-conf-test] Nothing -> pure NotRun
1940.33 s
[opt-env-conf-test] Just confSets -> do
1940.33 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1940.33 s
[opt-env-conf-test] case mObj of
1940.33 s
[opt-env-conf-test] Nothing -> do
1940.33 s
[opt-env-conf-test] debug ["no config object to set from"]
1940.33 s
[opt-env-conf-test] pure NotFound
1940.33 s
[opt-env-conf-test] - Just obj -> do
1940.34 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1940.34 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1940.34 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1940.34 s
[opt-env-conf-test] - Nothing -> do
1940.34 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1940.34 s
[opt-env-conf-test] - Nothing -> pure Nothing
1940.34 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1940.34 s
[opt-env-conf-test] - Just neRest -> do
1940.34 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1940.34 s
[opt-env-conf-test] - case mO' of
1940.34 s
[opt-env-conf-test] - Nothing -> pure Nothing
1940.34 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1940.34 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1940.34 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1940.34 s
[opt-env-conf-test] - Right mV -> case mV of
1940.34 s
[opt-env-conf-test] - Nothing -> do
1940.34 s
[opt-env-conf-test] - debug
1940.34 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1940.34 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1940.34 s
[opt-env-conf-test] - ]
1940.34 s
[opt-env-conf-test] - pure Nothing
1940.34 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1940.34 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1940.34 s
[opt-env-conf-test] - Right mA -> case mA of
1940.34 s
[opt-env-conf-test] - Nothing -> do
1940.34 s
[opt-env-conf-test] - debug
1940.34 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1940.34 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1940.34 s
[opt-env-conf-test] - ]
1940.34 s
[opt-env-conf-test] - pure Nothing
1940.34 s
[opt-env-conf-test] - Just a -> do
1940.34 s
[opt-env-conf-test] - debug
1940.34 s
[opt-env-conf-test] - [ "set based on config value: ",
1940.34 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1940.34 s
[opt-env-conf-test] - ]
1940.34 s
[opt-env-conf-test] - pure $ Just a
1940.34 s
[opt-env-conf-test] - let toRes = \case
1940.34 s
[opt-env-conf-test] - Nothing -> NotFound
1940.34 s
[opt-env-conf-test] - Just a -> Found a
1940.34 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1940.34 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1940.51 s
[opt-env-conf-test] - Just ne -> do
1940.52 s
[opt-env-conf-test] - res <- goConfSet confSet
1940.52 s
[opt-env-conf-test] - case res of
1940.52 s
[opt-env-conf-test] - Just a -> pure $ Found a
1940.52 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1940.52 s
[opt-env-conf-test] - goConfSets confSets
1940.52 s
[opt-env-conf-test] case mConf of
1940.52 s
[opt-env-conf-test] Found a -> do
1940.52 s
[opt-env-conf-test] markParsed
1940.52 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1940.52 s
[opt-env-conf-test] @@ -372,62 +372,61 @@
1940.52 s
[opt-env-conf-test] pure a
1940.52 s
[opt-env-conf-test] _ -> do
1940.52 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1940.52 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1940.52 s
[opt-env-conf-test] - Nothing -> pure NotRun
1940.52 s
[opt-env-conf-test] Just confSets -> do
1940.52 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1940.52 s
[opt-env-conf-test] case mObj of
1940.52 s
[opt-env-conf-test] Nothing -> do
1940.52 s
[opt-env-conf-test] debug ["no config object to set from"]
1940.52 s
[opt-env-conf-test] pure NotFound
1940.52 s
[opt-env-conf-test] Just obj -> do
1940.52 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1940.52 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1940.52 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1940.52 s
[opt-env-conf-test] Nothing -> do
1940.52 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1940.52 s
[opt-env-conf-test] Nothing -> pure Nothing
1940.52 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1940.52 s
[opt-env-conf-test] Just neRest -> do
1940.52 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1940.52 s
[opt-env-conf-test] case mO' of
1940.52 s
[opt-env-conf-test] Nothing -> pure Nothing
1940.52 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1940.53 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1940.53 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1940.53 s
[opt-env-conf-test] Right mV -> case mV of
1940.53 s
[opt-env-conf-test] Nothing -> do
1940.53 s
[opt-env-conf-test] debug
1940.53 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1940.53 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1940.53 s
[opt-env-conf-test] ]
1940.53 s
[opt-env-conf-test] pure Nothing
1940.53 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1940.53 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1940.53 s
[opt-env-conf-test] Right mA -> case mA of
1940.53 s
[opt-env-conf-test] Nothing -> do
1940.53 s
[opt-env-conf-test] debug
1940.53 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1940.53 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1940.53 s
[opt-env-conf-test] ]
1940.53 s
[opt-env-conf-test] pure Nothing
1940.53 s
[opt-env-conf-test] Just a -> do
1940.53 s
[opt-env-conf-test] debug
1940.53 s
[opt-env-conf-test] [ "set based on config value: ",
1940.53 s
[opt-env-conf-test] chunk $ T.pack $ show v
1940.53 s
[opt-env-conf-test] ]
1940.53 s
[opt-env-conf-test] pure $ Just a
1940.53 s
[opt-env-conf-test] let toRes = \case
1940.53 s
[opt-env-conf-test] Nothing -> NotFound
1940.53 s
[opt-env-conf-test] Just a -> Found a
1940.53 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1940.53 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1940.53 s
[opt-env-conf-test] Just ne -> do
1940.53 s
[opt-env-conf-test] res <- goConfSet confSet
1940.53 s
[opt-env-conf-test] case res of
1940.65 s
[opt-env-conf-test] Just a -> pure $ Found a
1940.65 s
[opt-env-conf-test] Nothing -> goConfSets ne
1940.65 s
[opt-env-conf-test] goConfSets confSets
1940.65 s
[opt-env-conf-test] case mConf of
1940.65 s
[opt-env-conf-test] Found a -> do
1940.65 s
[opt-env-conf-test] markParsed
1940.65 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:375:36-54
1940.65 s
[opt-env-conf-test] @@ -372,62 +372,8 @@
1940.65 s
[opt-env-conf-test] pure a
1940.65 s
[opt-env-conf-test] _ -> do
1940.65 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1940.65 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1940.65 s
[opt-env-conf-test] Nothing -> pure NotRun
1940.65 s
[opt-env-conf-test] - Just confSets -> do
1940.65 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1940.65 s
[opt-env-conf-test] - case mObj of
1940.65 s
[opt-env-conf-test] - Nothing -> do
1940.65 s
[opt-env-conf-test] - debug ["no config object to set from"]
1940.65 s
[opt-env-conf-test] - pure NotFound
1940.65 s
[opt-env-conf-test] - Just obj -> do
1940.65 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1940.65 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1940.65 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1940.66 s
[opt-env-conf-test] - Nothing -> do
1940.66 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1940.66 s
[opt-env-conf-test] - Nothing -> pure Nothing
1940.66 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1940.66 s
[opt-env-conf-test] - Just neRest -> do
1940.66 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1940.66 s
[opt-env-conf-test] - case mO' of
1940.66 s
[opt-env-conf-test] - Nothing -> pure Nothing
1940.66 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1940.66 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1940.66 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1940.66 s
[opt-env-conf-test] - Right mV -> case mV of
1940.66 s
[opt-env-conf-test] - Nothing -> do
1940.66 s
[opt-env-conf-test] - debug
1940.66 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1940.66 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1940.66 s
[opt-env-conf-test] - ]
1940.66 s
[opt-env-conf-test] - pure Nothing
1940.66 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1940.66 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1940.66 s
[opt-env-conf-test] - Right mA -> case mA of
1940.66 s
[opt-env-conf-test] - Nothing -> do
1940.66 s
[opt-env-conf-test] - debug
1940.66 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1940.66 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1940.66 s
[opt-env-conf-test] - ]
1940.66 s
[opt-env-conf-test] - pure Nothing
1940.66 s
[opt-env-conf-test] - Just a -> do
1940.66 s
[opt-env-conf-test] - debug
1940.66 s
[opt-env-conf-test] - [ "set based on config value: ",
1940.66 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1940.66 s
[opt-env-conf-test] - ]
1940.66 s
[opt-env-conf-test] - pure $ Just a
1940.66 s
[opt-env-conf-test] - let toRes = \case
1940.66 s
[opt-env-conf-test] - Nothing -> NotFound
1940.66 s
[opt-env-conf-test] - Just a -> Found a
1945.97 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1946.00 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1946.00 s
[opt-env-conf-test] - Just ne -> do
1946.00 s
[opt-env-conf-test] - res <- goConfSet confSet
1946.00 s
[opt-env-conf-test] - case res of
1946.00 s
[opt-env-conf-test] - Just a -> pure $ Found a
1946.01 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1946.01 s
[opt-env-conf-test] - goConfSets confSets
1946.01 s
[opt-env-conf-test] case mConf of
1946.01 s
[opt-env-conf-test] Found a -> do
1946.01 s
[opt-env-conf-test] markParsed
1946.01 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Run.hs:443:53-59
1946.01 s
[opt-env-conf-test] @@ -440,7 +440,7 @@
1946.01 s
[opt-env-conf-test] Nothing -> do
1946.01 s
[opt-env-conf-test] let parseResultError e res = case res of
1946.01 s
[opt-env-conf-test] NotRun -> Nothing
1946.01 s
[opt-env-conf-test] - NotFound -> J u s t e
1946.01 s
[opt-env-conf-test] + NotFound -> No t h ing
1946.01 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1946.01 s
[opt-env-conf-test] debug ["not found"]
1946.01 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1946.01 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1946.01 s
[opt-env-conf-test] debug ["set to default value"]
1946.01 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1946.01 s
[opt-env-conf-test] Nothing -> do
1946.01 s
[opt-env-conf-test] let parseResultError e res = case res of
1946.01 s
[opt-env-conf-test] - NotRun -> Nothing
1946.01 s
[opt-env-conf-test] NotFound -> Just e
1946.01 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1946.01 s
[opt-env-conf-test] debug ["not found"]
1946.01 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.01 s
[opt-env-conf-test] NE.nonEmpty $
1946.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1946.01 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1946.01 s
[opt-env-conf-test] debug ["set to default value"]
1946.01 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1946.01 s
[opt-env-conf-test] Nothing -> do
1946.01 s
[opt-env-conf-test] let parseResultError e res = case res of
1946.01 s
[opt-env-conf-test] NotRun -> Nothing
1946.01 s
[opt-env-conf-test] - NotFound -> Just e
1946.01 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1946.01 s
[opt-env-conf-test] debug ["not found"]
1946.01 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.01 s
[opt-env-conf-test] NE.nonEmpty $
1946.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:441:64-59
1946.01 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
1946.01 s
[opt-env-conf-test] debug ["set to default value"]
1946.01 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1946.02 s
[opt-env-conf-test] Nothing -> do
1946.02 s
[opt-env-conf-test] let parseResultError e res = case res of
1946.02 s
[opt-env-conf-test] NotRun -> Nothing
1946.02 s
[opt-env-conf-test] NotFound -> Just e
1946.02 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1946.02 s
[opt-env-conf-test] debug ["not found"]
1946.02 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.02 s
[opt-env-conf-test] NE.nonEmpty $
1946.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1946.02 s
[opt-env-conf-test] @@ -446,12 +446,7 @@
1946.02 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.02 s
[opt-env-conf-test] NE.nonEmpty $
1946.02 s
[opt-env-conf-test] catMaybes
1946.02 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1946.02 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1946.02 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1946.02 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1946.02 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1946.02 s
[opt-env-conf-test] ]
1946.02 s
[opt-env-conf-test]
1946.02 s
[opt-env-conf-test] withCapabilities ::
1946.02 s
[opt-env-conf-test] Maybe SrcLoc ->
1946.02 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1946.02 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1946.02 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.03 s
[opt-env-conf-test] NE.nonEmpty $
1946.03 s
[opt-env-conf-test] catMaybes
1946.03 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1946.03 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1946.03 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1946.03 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1946.03 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1946.03 s
[opt-env-conf-test] ]
1946.03 s
[opt-env-conf-test]
1946.03 s
[opt-env-conf-test] withCapabilities ::
1946.03 s
[opt-env-conf-test] Maybe SrcLoc ->
1946.03 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:449:41-42
1946.03 s
[opt-env-conf-test] @@ -446,12 +446,11 @@
1946.03 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.03 s
[opt-env-conf-test] NE.nonEmpty $
1946.03 s
[opt-env-conf-test] catMaybes
1946.03 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1946.03 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1946.03 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1946.03 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1946.03 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1946.03 s
[opt-env-conf-test] ]
1946.03 s
[opt-env-conf-test]
1946.03 s
[opt-env-conf-test] withCapabilities ::
1946.03 s
[opt-env-conf-test] Maybe SrcLoc ->
1946.03 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:440:44-42
1946.03 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
1946.03 s
[opt-env-conf-test] Just (a, _) -> do
1946.03 s
[opt-env-conf-test] debug ["set to default value"]
1946.03 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1946.03 s
[opt-env-conf-test] Nothing -> do
1946.03 s
[opt-env-conf-test] let parseResultError e res = case res of
1946.03 s
[opt-env-conf-test] NotRun -> Nothing
1946.03 s
[opt-env-conf-test] NotFound -> Just e
1946.04 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1946.04 s
[opt-env-conf-test] - debug ["not found"]
1946.04 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1946.04 s
[opt-env-conf-test] NE.nonEmpty $
1946.04 s
[opt-env-conf-test] catMaybes
1946.04 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1946.04 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1946.04 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1946.04 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1946.04 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1946.04 s
[opt-env-conf-test] ]
1946.04 s
[opt-env-conf-test]
1946.04 s
[opt-env-conf-test] withCapabilities ::
1946.04 s
[opt-env-conf-test] Maybe SrcLoc ->
1946.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1946.04 s
[opt-env-conf-test] @@ -433,25 +433,22 @@
1946.04 s
[opt-env-conf-test] markParsed
1946.04 s
[opt-env-conf-test] pure a
1946.04 s
[opt-env-conf-test] _ ->
1946.04 s
[opt-env-conf-test] case settingDefaultValue of
1947.37 s
[opt-env-conf-test] - Just (a, _) -> do
1947.37 s
[opt-env-conf-test] - debug ["set to default value"]
1947.38 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1947.38 s
[opt-env-conf-test] Nothing -> do
1947.38 s
[opt-env-conf-test] let parseResultError e res = case res of
1947.38 s
[opt-env-conf-test] NotRun -> Nothing
1947.38 s
[opt-env-conf-test] NotFound -> Just e
1947.38 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1947.38 s
[opt-env-conf-test] debug ["not found"]
1947.38 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1947.38 s
[opt-env-conf-test] NE.nonEmpty $
1947.38 s
[opt-env-conf-test] catMaybes
1947.38 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1947.38 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1947.38 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1947.38 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1947.38 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1947.38 s
[opt-env-conf-test] ]
1947.38 s
[opt-env-conf-test]
1947.38 s
[opt-env-conf-test] withCapabilities ::
1947.38 s
[opt-env-conf-test] Maybe SrcLoc ->
1947.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:436:31-42
1947.38 s
[opt-env-conf-test] @@ -433,25 +433,10 @@
1947.38 s
[opt-env-conf-test] markParsed
1947.38 s
[opt-env-conf-test] pure a
1947.38 s
[opt-env-conf-test] _ ->
1947.38 s
[opt-env-conf-test] case settingDefaultValue of
1947.38 s
[opt-env-conf-test] Just (a, _) -> do
1947.38 s
[opt-env-conf-test] debug ["set to default value"]
1947.38 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1947.38 s
[opt-env-conf-test] - Nothing -> do
1947.38 s
[opt-env-conf-test] - let parseResultError e res = case res of
1947.38 s
[opt-env-conf-test] - NotRun -> Nothing
1947.38 s
[opt-env-conf-test] - NotFound -> Just e
1947.38 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1947.38 s
[opt-env-conf-test] - debug ["not found"]
1947.38 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1947.38 s
[opt-env-conf-test] - NE.nonEmpty $
1947.38 s
[opt-env-conf-test] - catMaybes
1947.38 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1947.38 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1947.38 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1947.38 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1947.38 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1947.38 s
[opt-env-conf-test] - ]
1947.38 s
[opt-env-conf-test]
1947.38 s
[opt-env-conf-test] withCapabilities ::
1947.38 s
[opt-env-conf-test] Maybe SrcLoc ->
1947.38 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1947.38 s
[opt-env-conf-test] @@ -428,30 +428,27 @@
1947.38 s
[opt-env-conf-test] Just a -> pure $ Found a
1947.38 s
[opt-env-conf-test] Nothing -> goConfSets ne
1947.38 s
[opt-env-conf-test] goConfSets confSets
1947.38 s
[opt-env-conf-test] case mConf of
1947.38 s
[opt-env-conf-test] - Found a -> do
1947.39 s
[opt-env-conf-test] - markParsed
1947.39 s
[opt-env-conf-test] - pure a
1947.39 s
[opt-env-conf-test] _ ->
1947.39 s
[opt-env-conf-test] case settingDefaultValue of
1947.39 s
[opt-env-conf-test] Just (a, _) -> do
1947.39 s
[opt-env-conf-test] debug ["set to default value"]
1947.39 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1947.39 s
[opt-env-conf-test] Nothing -> do
1947.39 s
[opt-env-conf-test] let parseResultError e res = case res of
1947.39 s
[opt-env-conf-test] NotRun -> Nothing
1947.39 s
[opt-env-conf-test] NotFound -> Just e
1947.39 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1947.39 s
[opt-env-conf-test] debug ["not found"]
1947.39 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1947.39 s
[opt-env-conf-test] NE.nonEmpty $
1947.39 s
[opt-env-conf-test] catMaybes
1947.39 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1947.39 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1947.39 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1947.39 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1947.39 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1947.39 s
[opt-env-conf-test] ]
1947.39 s
[opt-env-conf-test]
1947.39 s
[opt-env-conf-test] withCapabilities ::
1947.39 s
[opt-env-conf-test] Maybe SrcLoc ->
1947.39 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:431:27-42
1947.39 s
[opt-env-conf-test] @@ -428,30 +428,10 @@
1947.39 s
[opt-env-conf-test] Just a -> pure $ Found a
1947.39 s
[opt-env-conf-test] Nothing -> goConfSets ne
1947.39 s
[opt-env-conf-test] goConfSets confSets
1947.39 s
[opt-env-conf-test] case mConf of
1947.39 s
[opt-env-conf-test] Found a -> do
1947.39 s
[opt-env-conf-test] markParsed
1947.39 s
[opt-env-conf-test] pure a
1947.39 s
[opt-env-conf-test] - _ ->
1947.39 s
[opt-env-conf-test] - case settingDefaultValue of
1947.39 s
[opt-env-conf-test] - Just (a, _) -> do
1947.39 s
[opt-env-conf-test] - debug ["set to default value"]
1947.39 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1947.39 s
[opt-env-conf-test] - Nothing -> do
1947.39 s
[opt-env-conf-test] - let parseResultError e res = case res of
1947.39 s
[opt-env-conf-test] - NotRun -> Nothing
1947.39 s
[opt-env-conf-test] - NotFound -> Just e
1947.39 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1947.39 s
[opt-env-conf-test] - debug ["not found"]
1947.39 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1947.39 s
[opt-env-conf-test] - NE.nonEmpty $
1947.39 s
[opt-env-conf-test] - catMaybes
1947.39 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1947.39 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1947.39 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1947.39 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1947.39 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1947.39 s
[opt-env-conf-test] - ]
1947.39 s
[opt-env-conf-test]
1947.39 s
[opt-env-conf-test] withCapabilities ::
1948.01 s
[opt-env-conf-test] Maybe SrcLoc ->
1948.01 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1948.01 s
[opt-env-conf-test] @@ -366,92 +366,89 @@
1948.01 s
[opt-env-conf-test] pure NotFound
1948.01 s
[opt-env-conf-test] Just a -> pure $ Found a
1948.01 s
[opt-env-conf-test]
1948.01 s
[opt-env-conf-test] case mEnv of
1948.01 s
[opt-env-conf-test] - Found a -> do
1948.01 s
[opt-env-conf-test] - markParsed
1948.01 s
[opt-env-conf-test] - pure a
1948.01 s
[opt-env-conf-test] _ -> do
1948.01 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1948.01 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1948.01 s
[opt-env-conf-test] Nothing -> pure NotRun
1948.01 s
[opt-env-conf-test] Just confSets -> do
1948.01 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1948.01 s
[opt-env-conf-test] case mObj of
1948.01 s
[opt-env-conf-test] Nothing -> do
1948.01 s
[opt-env-conf-test] debug ["no config object to set from"]
1948.01 s
[opt-env-conf-test] pure NotFound
1948.01 s
[opt-env-conf-test] Just obj -> do
1948.01 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1948.01 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1948.02 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1948.02 s
[opt-env-conf-test] Nothing -> do
1948.02 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1948.02 s
[opt-env-conf-test] Nothing -> pure Nothing
1948.02 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1948.02 s
[opt-env-conf-test] Just neRest -> do
1948.02 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1948.02 s
[opt-env-conf-test] case mO' of
1948.02 s
[opt-env-conf-test] Nothing -> pure Nothing
1948.02 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1948.02 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1948.02 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1948.02 s
[opt-env-conf-test] Right mV -> case mV of
1948.02 s
[opt-env-conf-test] Nothing -> do
1948.02 s
[opt-env-conf-test] debug
1948.02 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1948.02 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1948.02 s
[opt-env-conf-test] ]
1948.02 s
[opt-env-conf-test] pure Nothing
1948.02 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1948.02 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1948.02 s
[opt-env-conf-test] Right mA -> case mA of
1948.02 s
[opt-env-conf-test] Nothing -> do
1948.02 s
[opt-env-conf-test] debug
1948.02 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1948.02 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1948.02 s
[opt-env-conf-test] ]
1948.02 s
[opt-env-conf-test] pure Nothing
1948.02 s
[opt-env-conf-test] Just a -> do
1948.02 s
[opt-env-conf-test] debug
1948.02 s
[opt-env-conf-test] [ "set based on config value: ",
1948.02 s
[opt-env-conf-test] chunk $ T.pack $ show v
1948.02 s
[opt-env-conf-test] ]
1948.02 s
[opt-env-conf-test] pure $ Just a
1948.02 s
[opt-env-conf-test] let toRes = \case
1948.02 s
[opt-env-conf-test] Nothing -> NotFound
1948.02 s
[opt-env-conf-test] Just a -> Found a
1948.02 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1948.61 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1948.61 s
[opt-env-conf-test] Just ne -> do
1948.61 s
[opt-env-conf-test] res <- goConfSet confSet
1948.61 s
[opt-env-conf-test] case res of
1948.61 s
[opt-env-conf-test] Just a -> pure $ Found a
1948.62 s
[opt-env-conf-test] Nothing -> goConfSets ne
1948.62 s
[opt-env-conf-test] goConfSets confSets
1948.62 s
[opt-env-conf-test] case mConf of
1948.62 s
[opt-env-conf-test] Found a -> do
1948.62 s
[opt-env-conf-test] markParsed
1948.62 s
[opt-env-conf-test] pure a
1948.62 s
[opt-env-conf-test] _ ->
1948.62 s
[opt-env-conf-test] case settingDefaultValue of
1948.62 s
[opt-env-conf-test] Just (a, _) -> do
1948.62 s
[opt-env-conf-test] debug ["set to default value"]
1948.62 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1948.62 s
[opt-env-conf-test] Nothing -> do
1948.62 s
[opt-env-conf-test] let parseResultError e res = case res of
1948.62 s
[opt-env-conf-test] NotRun -> Nothing
1948.62 s
[opt-env-conf-test] NotFound -> Just e
1948.62 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1948.62 s
[opt-env-conf-test] debug ["not found"]
1948.62 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1948.62 s
[opt-env-conf-test] NE.nonEmpty $
1948.62 s
[opt-env-conf-test] catMaybes
1948.62 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1948.62 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1948.62 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1948.62 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1948.62 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1948.62 s
[opt-env-conf-test] ]
1948.62 s
[opt-env-conf-test]
1948.62 s
[opt-env-conf-test] withCapabilities ::
1948.62 s
[opt-env-conf-test] Maybe SrcLoc ->
1948.62 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:369:23-42
1948.62 s
[opt-env-conf-test] @@ -366,92 +366,10 @@
1948.62 s
[opt-env-conf-test] pure NotFound
1948.62 s
[opt-env-conf-test] Just a -> pure $ Found a
1948.62 s
[opt-env-conf-test]
1948.62 s
[opt-env-conf-test] case mEnv of
1948.62 s
[opt-env-conf-test] Found a -> do
1948.62 s
[opt-env-conf-test] markParsed
1948.62 s
[opt-env-conf-test] pure a
1948.62 s
[opt-env-conf-test] - _ -> do
1948.62 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1948.62 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1948.63 s
[opt-env-conf-test] - Nothing -> pure NotRun
1948.63 s
[opt-env-conf-test] - Just confSets -> do
1948.63 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1948.63 s
[opt-env-conf-test] - case mObj of
1948.63 s
[opt-env-conf-test] - Nothing -> do
1948.63 s
[opt-env-conf-test] - debug ["no config object to set from"]
1948.63 s
[opt-env-conf-test] - pure NotFound
1948.63 s
[opt-env-conf-test] - Just obj -> do
1948.63 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1948.63 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1948.63 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1948.63 s
[opt-env-conf-test] - Nothing -> do
1948.63 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1948.63 s
[opt-env-conf-test] - Nothing -> pure Nothing
1948.63 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1948.63 s
[opt-env-conf-test] - Just neRest -> do
1948.63 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1948.63 s
[opt-env-conf-test] - case mO' of
1948.63 s
[opt-env-conf-test] - Nothing -> pure Nothing
1948.63 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1948.63 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1948.63 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1948.63 s
[opt-env-conf-test] - Right mV -> case mV of
1948.63 s
[opt-env-conf-test] - Nothing -> do
1948.63 s
[opt-env-conf-test] - debug
1948.63 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1948.63 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1948.63 s
[opt-env-conf-test] - ]
1948.63 s
[opt-env-conf-test] - pure Nothing
1948.63 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1948.63 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1948.63 s
[opt-env-conf-test] - Right mA -> case mA of
1948.63 s
[opt-env-conf-test] - Nothing -> do
1948.63 s
[opt-env-conf-test] - debug
1948.63 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1948.63 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1948.63 s
[opt-env-conf-test] - ]
1948.63 s
[opt-env-conf-test] - pure Nothing
1948.63 s
[opt-env-conf-test] - Just a -> do
1948.63 s
[opt-env-conf-test] - debug
1948.63 s
[opt-env-conf-test] - [ "set based on config value: ",
1948.63 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1948.64 s
[opt-env-conf-test] - ]
1948.64 s
[opt-env-conf-test] - pure $ Just a
1948.64 s
[opt-env-conf-test] - let toRes = \case
1948.64 s
[opt-env-conf-test] - Nothing -> NotFound
1948.64 s
[opt-env-conf-test] - Just a -> Found a
1948.64 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1948.64 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1948.64 s
[opt-env-conf-test] - Just ne -> do
1948.64 s
[opt-env-conf-test] - res <- goConfSet confSet
1948.64 s
[opt-env-conf-test] - case res of
1948.64 s
[opt-env-conf-test] - Just a -> pure $ Found a
1948.64 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1948.64 s
[opt-env-conf-test] - goConfSets confSets
1948.64 s
[opt-env-conf-test] - case mConf of
1948.64 s
[opt-env-conf-test] - Found a -> do
1948.64 s
[opt-env-conf-test] - markParsed
1948.64 s
[opt-env-conf-test] - pure a
1948.64 s
[opt-env-conf-test] - _ ->
1948.64 s
[opt-env-conf-test] - case settingDefaultValue of
1948.64 s
[opt-env-conf-test] - Just (a, _) -> do
1948.64 s
[opt-env-conf-test] - debug ["set to default value"]
1948.64 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1948.64 s
[opt-env-conf-test] - Nothing -> do
1948.64 s
[opt-env-conf-test] - let parseResultError e res = case res of
1948.64 s
[opt-env-conf-test] - NotRun -> Nothing
1948.64 s
[opt-env-conf-test] - NotFound -> Just e
1948.64 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1948.64 s
[opt-env-conf-test] - debug ["not found"]
1948.64 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1948.64 s
[opt-env-conf-test] - NE.nonEmpty $
1948.64 s
[opt-env-conf-test] - catMaybes
1949.26 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1949.26 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1949.26 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1949.26 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1949.26 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1949.26 s
[opt-env-conf-test] - ]
1949.26 s
[opt-env-conf-test]
1949.26 s
[opt-env-conf-test] withCapabilities ::
1949.26 s
[opt-env-conf-test] Maybe SrcLoc ->
1949.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1949.26 s
[opt-env-conf-test] @@ -330,128 +330,125 @@
1949.26 s
[opt-env-conf-test] pure $ Found a
1949.26 s
[opt-env-conf-test] else pure NotRun
1949.26 s
[opt-env-conf-test]
1949.26 s
[opt-env-conf-test] case mOpt of
1949.26 s
[opt-env-conf-test] - Found a -> do
1949.26 s
[opt-env-conf-test] - markParsed
1949.26 s
[opt-env-conf-test] - pure a
1949.26 s
[opt-env-conf-test] _ -> do
1949.27 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1949.27 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1949.27 s
[opt-env-conf-test] Nothing -> pure NotRun
1949.27 s
[opt-env-conf-test] Just ne -> do
1949.27 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1949.27 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1949.27 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1949.27 s
[opt-env-conf-test] es <- asks ppEnvEnv
1949.27 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1949.27 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1949.27 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1949.27 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1949.27 s
[opt-env-conf-test] -- result.
1949.27 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1949.27 s
[opt-env-conf-test] case tryReaders rs varStr of
1949.27 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1949.27 s
[opt-env-conf-test] Right a -> do
1949.27 s
[opt-env-conf-test] debug
1949.27 s
[opt-env-conf-test] [ "set based on env: ",
1949.27 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1949.27 s
[opt-env-conf-test] ]
1949.27 s
[opt-env-conf-test] pure a
1949.27 s
[opt-env-conf-test] case listToMaybe results of
1949.27 s
[opt-env-conf-test] Nothing -> do
1949.27 s
[opt-env-conf-test] debug
1949.27 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1949.27 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1949.27 s
[opt-env-conf-test] ]
1949.27 s
[opt-env-conf-test] pure NotFound
1949.27 s
[opt-env-conf-test] Just a -> pure $ Found a
1949.27 s
[opt-env-conf-test]
1949.27 s
[opt-env-conf-test] case mEnv of
1949.27 s
[opt-env-conf-test] Found a -> do
1949.27 s
[opt-env-conf-test] markParsed
1949.27 s
[opt-env-conf-test] pure a
1949.27 s
[opt-env-conf-test] _ -> do
1949.27 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1949.27 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1949.27 s
[opt-env-conf-test] Nothing -> pure NotRun
1949.27 s
[opt-env-conf-test] Just confSets -> do
1949.27 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1949.27 s
[opt-env-conf-test] case mObj of
1949.27 s
[opt-env-conf-test] Nothing -> do
1949.27 s
[opt-env-conf-test] debug ["no config object to set from"]
1949.27 s
[opt-env-conf-test] pure NotFound
1949.27 s
[opt-env-conf-test] Just obj -> do
1949.27 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1949.27 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1949.27 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1949.27 s
[opt-env-conf-test] Nothing -> do
1949.27 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1949.27 s
[opt-env-conf-test] Nothing -> pure Nothing
1949.27 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1949.27 s
[opt-env-conf-test] Just neRest -> do
1949.27 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1949.27 s
[opt-env-conf-test] case mO' of
1949.28 s
[opt-env-conf-test] Nothing -> pure Nothing
1949.28 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1949.28 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1949.28 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1949.28 s
[opt-env-conf-test] Right mV -> case mV of
1949.28 s
[opt-env-conf-test] Nothing -> do
1949.28 s
[opt-env-conf-test] debug
1949.28 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1949.28 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1949.28 s
[opt-env-conf-test] ]
1949.28 s
[opt-env-conf-test] pure Nothing
1949.28 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1949.28 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1949.28 s
[opt-env-conf-test] Right mA -> case mA of
1949.28 s
[opt-env-conf-test] Nothing -> do
1949.28 s
[opt-env-conf-test] debug
1949.28 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1949.28 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1949.28 s
[opt-env-conf-test] ]
1949.28 s
[opt-env-conf-test] pure Nothing
1949.28 s
[opt-env-conf-test] Just a -> do
1949.28 s
[opt-env-conf-test] debug
1949.28 s
[opt-env-conf-test] [ "set based on config value: ",
1949.28 s
[opt-env-conf-test] chunk $ T.pack $ show v
1949.28 s
[opt-env-conf-test] ]
1949.28 s
[opt-env-conf-test] pure $ Just a
1949.28 s
[opt-env-conf-test] let toRes = \case
1949.28 s
[opt-env-conf-test] Nothing -> NotFound
1949.28 s
[opt-env-conf-test] Just a -> Found a
1949.28 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1949.28 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1949.28 s
[opt-env-conf-test] Just ne -> do
1949.96 s
[opt-env-conf-test] res <- goConfSet confSet
1949.96 s
[opt-env-conf-test] case res of
1949.96 s
[opt-env-conf-test] Just a -> pure $ Found a
1949.96 s
[opt-env-conf-test] Nothing -> goConfSets ne
1949.96 s
[opt-env-conf-test] goConfSets confSets
1949.96 s
[opt-env-conf-test] case mConf of
1949.96 s
[opt-env-conf-test] Found a -> do
1949.96 s
[opt-env-conf-test] markParsed
1949.96 s
[opt-env-conf-test] pure a
1949.96 s
[opt-env-conf-test] _ ->
1949.96 s
[opt-env-conf-test] case settingDefaultValue of
1949.96 s
[opt-env-conf-test] Just (a, _) -> do
1949.96 s
[opt-env-conf-test] debug ["set to default value"]
1949.96 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1949.96 s
[opt-env-conf-test] Nothing -> do
1949.97 s
[opt-env-conf-test] let parseResultError e res = case res of
1949.97 s
[opt-env-conf-test] NotRun -> Nothing
1949.97 s
[opt-env-conf-test] NotFound -> Just e
1949.97 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1949.97 s
[opt-env-conf-test] debug ["not found"]
1949.97 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1949.97 s
[opt-env-conf-test] NE.nonEmpty $
1949.97 s
[opt-env-conf-test] catMaybes
1949.97 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1949.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1949.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1949.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1949.97 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1949.97 s
[opt-env-conf-test] ]
1949.97 s
[opt-env-conf-test]
1949.97 s
[opt-env-conf-test] withCapabilities ::
1949.97 s
[opt-env-conf-test] Maybe SrcLoc ->
1949.97 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:333:19-42
1949.97 s
[opt-env-conf-test] @@ -330,128 +330,10 @@
1949.97 s
[opt-env-conf-test] pure $ Found a
1949.97 s
[opt-env-conf-test] else pure NotRun
1949.97 s
[opt-env-conf-test]
1949.97 s
[opt-env-conf-test] case mOpt of
1949.97 s
[opt-env-conf-test] Found a -> do
1949.97 s
[opt-env-conf-test] markParsed
1949.97 s
[opt-env-conf-test] pure a
1949.97 s
[opt-env-conf-test] - _ -> do
1949.97 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1949.97 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1949.97 s
[opt-env-conf-test] - Nothing -> pure NotRun
1949.97 s
[opt-env-conf-test] - Just ne -> do
1949.97 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1949.97 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1949.97 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1949.97 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1949.97 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1949.97 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1949.97 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1949.97 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1949.97 s
[opt-env-conf-test] - -- result.
1949.97 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1949.98 s
[opt-env-conf-test] - case tryReaders rs varStr of
1949.98 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1949.98 s
[opt-env-conf-test] - Right a -> do
1949.98 s
[opt-env-conf-test] - debug
1949.98 s
[opt-env-conf-test] - [ "set based on env: ",
1949.98 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1949.98 s
[opt-env-conf-test] - ]
1949.98 s
[opt-env-conf-test] - pure a
1949.98 s
[opt-env-conf-test] - case listToMaybe results of
1949.98 s
[opt-env-conf-test] - Nothing -> do
1949.98 s
[opt-env-conf-test] - debug
1949.98 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1949.98 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1949.98 s
[opt-env-conf-test] - ]
1949.98 s
[opt-env-conf-test] - pure NotFound
1949.98 s
[opt-env-conf-test] - Just a -> pure $ Found a
1949.98 s
[opt-env-conf-test] -
1949.98 s
[opt-env-conf-test] - case mEnv of
1949.98 s
[opt-env-conf-test] - Found a -> do
1949.98 s
[opt-env-conf-test] - markParsed
1949.98 s
[opt-env-conf-test] - pure a
1949.98 s
[opt-env-conf-test] - _ -> do
1949.98 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1949.98 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1949.98 s
[opt-env-conf-test] - Nothing -> pure NotRun
1949.98 s
[opt-env-conf-test] - Just confSets -> do
1949.98 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1949.98 s
[opt-env-conf-test] - case mObj of
1949.98 s
[opt-env-conf-test] - Nothing -> do
1949.98 s
[opt-env-conf-test] - debug ["no config object to set from"]
1949.98 s
[opt-env-conf-test] - pure NotFound
1949.98 s
[opt-env-conf-test] - Just obj -> do
1949.98 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1949.98 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1949.98 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1949.98 s
[opt-env-conf-test] - Nothing -> do
1949.98 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1949.98 s
[opt-env-conf-test] - Nothing -> pure Nothing
1949.98 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1949.98 s
[opt-env-conf-test] - Just neRest -> do
1949.99 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1949.99 s
[opt-env-conf-test] - case mO' of
1949.99 s
[opt-env-conf-test] - Nothing -> pure Nothing
1949.99 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1949.99 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1949.99 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1949.99 s
[opt-env-conf-test] - Right mV -> case mV of
1949.99 s
[opt-env-conf-test] - Nothing -> do
1949.99 s
[opt-env-conf-test] - debug
1949.99 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1949.99 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1949.99 s
[opt-env-conf-test] - ]
1949.99 s
[opt-env-conf-test] - pure Nothing
1949.99 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1949.99 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1949.99 s
[opt-env-conf-test] - Right mA -> case mA of
1949.99 s
[opt-env-conf-test] - Nothing -> do
1949.99 s
[opt-env-conf-test] - debug
1949.99 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1949.99 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1949.99 s
[opt-env-conf-test] - ]
1949.99 s
[opt-env-conf-test] - pure Nothing
1949.99 s
[opt-env-conf-test] - Just a -> do
1949.99 s
[opt-env-conf-test] - debug
1949.99 s
[opt-env-conf-test] - [ "set based on config value: ",
1949.99 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1949.99 s
[opt-env-conf-test] - ]
1949.99 s
[opt-env-conf-test] - pure $ Just a
1949.99 s
[opt-env-conf-test] - let toRes = \case
1949.99 s
[opt-env-conf-test] - Nothing -> NotFound
1949.99 s
[opt-env-conf-test] - Just a -> Found a
1949.99 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1949.99 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1949.99 s
[opt-env-conf-test] - Just ne -> do
1949.99 s
[opt-env-conf-test] - res <- goConfSet confSet
1949.99 s
[opt-env-conf-test] - case res of
1949.99 s
[opt-env-conf-test] - Just a -> pure $ Found a
1949.99 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1949.99 s
[opt-env-conf-test] - goConfSets confSets
1949.99 s
[opt-env-conf-test] - case mConf of
1949.99 s
[opt-env-conf-test] - Found a -> do
1949.99 s
[opt-env-conf-test] - markParsed
1949.99 s
[opt-env-conf-test] - pure a
1949.99 s
[opt-env-conf-test] - _ ->
1949.99 s
[opt-env-conf-test] - case settingDefaultValue of
1949.99 s
[opt-env-conf-test] - Just (a, _) -> do
1949.99 s
[opt-env-conf-test] - debug ["set to default value"]
1949.99 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1949.99 s
[opt-env-conf-test] - Nothing -> do
1949.99 s
[opt-env-conf-test] - let parseResultError e res = case res of
1949.99 s
[opt-env-conf-test] - NotRun -> Nothing
1949.99 s
[opt-env-conf-test] - NotFound -> Just e
1950.00 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1950.00 s
[opt-env-conf-test] - debug ["not found"]
1950.27 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1950.27 s
[opt-env-conf-test] - NE.nonEmpty $
1950.27 s
[opt-env-conf-test] - catMaybes
1950.27 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1950.27 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1950.27 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1950.27 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1950.28 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1950.28 s
[opt-env-conf-test] - ]
1950.28 s
[opt-env-conf-test]
1950.28 s
[opt-env-conf-test] withCapabilities ::
1950.28 s
[opt-env-conf-test] Maybe SrcLoc ->
1950.28 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1950.28 s
[opt-env-conf-test] @@ -300,158 +300,155 @@
1950.28 s
[opt-env-conf-test] debug ["set based on switch."]
1950.28 s
[opt-env-conf-test] pure $ Found a
1950.28 s
[opt-env-conf-test]
1950.28 s
[opt-env-conf-test] case mSwitch of
1950.28 s
[opt-env-conf-test] - Found a -> do
1950.28 s
[opt-env-conf-test] - markParsed
1950.28 s
[opt-env-conf-test] - pure a
1950.28 s
[opt-env-conf-test] _ -> do
1950.28 s
[opt-env-conf-test] mOpt <-
1950.28 s
[opt-env-conf-test] if settingTryOption
1950.28 s
[opt-env-conf-test] then do
1950.28 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1950.28 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1950.28 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1950.28 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1950.28 s
[opt-env-conf-test] case mS of
1950.28 s
[opt-env-conf-test] Nothing -> do
1950.28 s
[opt-env-conf-test] debug
1950.28 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1950.28 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1950.28 s
[opt-env-conf-test] ]
1950.28 s
[opt-env-conf-test] pure NotFound
1950.28 s
[opt-env-conf-test] Just optionStr -> cap $
1950.28 s
[opt-env-conf-test] case tryReaders rs optionStr of
1950.28 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1950.28 s
[opt-env-conf-test] Right a -> do
1950.28 s
[opt-env-conf-test] debug
1950.28 s
[opt-env-conf-test] [ "set based on option: ",
1950.28 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1950.28 s
[opt-env-conf-test] ]
1950.29 s
[opt-env-conf-test] pure $ Found a
1950.29 s
[opt-env-conf-test] else pure NotRun
1950.29 s
[opt-env-conf-test]
1950.29 s
[opt-env-conf-test] case mOpt of
1950.29 s
[opt-env-conf-test] Found a -> do
1950.29 s
[opt-env-conf-test] markParsed
1950.29 s
[opt-env-conf-test] pure a
1950.29 s
[opt-env-conf-test] _ -> do
1950.29 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1950.29 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1950.29 s
[opt-env-conf-test] Nothing -> pure NotRun
1950.29 s
[opt-env-conf-test] Just ne -> do
1950.29 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1950.29 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1950.29 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1950.29 s
[opt-env-conf-test] es <- asks ppEnvEnv
1950.29 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1950.29 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1950.29 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1950.29 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1950.29 s
[opt-env-conf-test] -- result.
1950.29 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1950.29 s
[opt-env-conf-test] case tryReaders rs varStr of
1950.29 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1950.29 s
[opt-env-conf-test] Right a -> do
1950.29 s
[opt-env-conf-test] debug
1950.29 s
[opt-env-conf-test] [ "set based on env: ",
1950.29 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1950.29 s
[opt-env-conf-test] ]
1950.29 s
[opt-env-conf-test] pure a
1950.29 s
[opt-env-conf-test] case listToMaybe results of
1950.29 s
[opt-env-conf-test] Nothing -> do
1950.29 s
[opt-env-conf-test] debug
1950.29 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1950.29 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1950.29 s
[opt-env-conf-test] ]
1950.29 s
[opt-env-conf-test] pure NotFound
1950.29 s
[opt-env-conf-test] Just a -> pure $ Found a
1950.29 s
[opt-env-conf-test]
1950.29 s
[opt-env-conf-test] case mEnv of
1950.29 s
[opt-env-conf-test] Found a -> do
1950.29 s
[opt-env-conf-test] markParsed
1950.29 s
[opt-env-conf-test] pure a
1950.30 s
[opt-env-conf-test] _ -> do
1950.30 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1950.30 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1950.30 s
[opt-env-conf-test] Nothing -> pure NotRun
1950.30 s
[opt-env-conf-test] Just confSets -> do
1950.30 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1950.30 s
[opt-env-conf-test] case mObj of
1950.30 s
[opt-env-conf-test] Nothing -> do
1950.30 s
[opt-env-conf-test] debug ["no config object to set from"]
1950.30 s
[opt-env-conf-test] pure NotFound
1950.30 s
[opt-env-conf-test] Just obj -> do
1950.30 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1950.30 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1950.30 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1950.30 s
[opt-env-conf-test] Nothing -> do
1950.30 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1950.30 s
[opt-env-conf-test] Nothing -> pure Nothing
1950.30 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1950.30 s
[opt-env-conf-test] Just neRest -> do
1950.30 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1950.30 s
[opt-env-conf-test] case mO' of
1950.30 s
[opt-env-conf-test] Nothing -> pure Nothing
1950.30 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1950.30 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1950.30 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1950.30 s
[opt-env-conf-test] Right mV -> case mV of
1950.30 s
[opt-env-conf-test] Nothing -> do
1950.30 s
[opt-env-conf-test] debug
1950.30 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1950.30 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1950.30 s
[opt-env-conf-test] ]
1950.30 s
[opt-env-conf-test] pure Nothing
1950.30 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1950.30 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1950.30 s
[opt-env-conf-test] Right mA -> case mA of
1950.30 s
[opt-env-conf-test] Nothing -> do
1950.30 s
[opt-env-conf-test] debug
1950.30 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1950.30 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1950.30 s
[opt-env-conf-test] ]
1950.30 s
[opt-env-conf-test] pure Nothing
1950.30 s
[opt-env-conf-test] Just a -> do
1950.30 s
[opt-env-conf-test] debug
1950.30 s
[opt-env-conf-test] [ "set based on config value: ",
1950.30 s
[opt-env-conf-test] chunk $ T.pack $ show v
1950.30 s
[opt-env-conf-test] ]
1950.30 s
[opt-env-conf-test] pure $ Just a
1950.30 s
[opt-env-conf-test] let toRes = \case
1950.30 s
[opt-env-conf-test] Nothing -> NotFound
1950.30 s
[opt-env-conf-test] Just a -> Found a
1950.30 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1950.30 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1950.30 s
[opt-env-conf-test] Just ne -> do
1950.30 s
[opt-env-conf-test] res <- goConfSet confSet
1950.31 s
[opt-env-conf-test] case res of
1950.31 s
[opt-env-conf-test] Just a -> pure $ Found a
1950.31 s
[opt-env-conf-test] Nothing -> goConfSets ne
1950.31 s
[opt-env-conf-test] goConfSets confSets
1950.31 s
[opt-env-conf-test] case mConf of
1950.31 s
[opt-env-conf-test] Found a -> do
1950.31 s
[opt-env-conf-test] markParsed
1950.31 s
[opt-env-conf-test] pure a
1950.31 s
[opt-env-conf-test] _ ->
1950.31 s
[opt-env-conf-test] case settingDefaultValue of
1950.31 s
[opt-env-conf-test] Just (a, _) -> do
1951.04 s
[opt-env-conf-test] debug ["set to default value"]
1951.17 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1951.17 s
[opt-env-conf-test] Nothing -> do
1951.17 s
[opt-env-conf-test] let parseResultError e res = case res of
1951.17 s
[opt-env-conf-test] NotRun -> Nothing
1951.17 s
[opt-env-conf-test] NotFound -> Just e
1951.17 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1951.17 s
[opt-env-conf-test] debug ["not found"]
1951.17 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1951.17 s
[opt-env-conf-test] NE.nonEmpty $
1951.17 s
[opt-env-conf-test] catMaybes
1951.17 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1951.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1951.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1951.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1951.17 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1951.17 s
[opt-env-conf-test] ]
1951.17 s
[opt-env-conf-test]
1951.17 s
[opt-env-conf-test] withCapabilities ::
1951.17 s
[opt-env-conf-test] Maybe SrcLoc ->
1951.17 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:303:15-42
1951.18 s
[opt-env-conf-test] @@ -300,158 +300,10 @@
1951.18 s
[opt-env-conf-test] debug ["set based on switch."]
1951.18 s
[opt-env-conf-test] pure $ Found a
1951.18 s
[opt-env-conf-test]
1951.18 s
[opt-env-conf-test] case mSwitch of
1951.18 s
[opt-env-conf-test] Found a -> do
1951.18 s
[opt-env-conf-test] markParsed
1951.18 s
[opt-env-conf-test] pure a
1951.18 s
[opt-env-conf-test] - _ -> do
1951.18 s
[opt-env-conf-test] - mOpt <-
1951.18 s
[opt-env-conf-test] - if settingTryOption
1951.18 s
[opt-env-conf-test] - then do
1951.18 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1951.18 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1951.18 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1951.18 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1951.18 s
[opt-env-conf-test] - case mS of
1951.18 s
[opt-env-conf-test] - Nothing -> do
1951.18 s
[opt-env-conf-test] - debug
1951.18 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1951.18 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1951.18 s
[opt-env-conf-test] - ]
1951.18 s
[opt-env-conf-test] - pure NotFound
1951.18 s
[opt-env-conf-test] - Just optionStr -> cap $
1951.18 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1951.18 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1951.18 s
[opt-env-conf-test] - Right a -> do
1951.18 s
[opt-env-conf-test] - debug
1951.18 s
[opt-env-conf-test] - [ "set based on option: ",
1951.18 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1951.18 s
[opt-env-conf-test] - ]
1951.18 s
[opt-env-conf-test] - pure $ Found a
1951.18 s
[opt-env-conf-test] - else pure NotRun
1951.18 s
[opt-env-conf-test] -
1951.18 s
[opt-env-conf-test] - case mOpt of
1951.19 s
[opt-env-conf-test] - Found a -> do
1951.19 s
[opt-env-conf-test] - markParsed
1951.19 s
[opt-env-conf-test] - pure a
1951.19 s
[opt-env-conf-test] - _ -> do
1951.19 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1951.19 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1951.19 s
[opt-env-conf-test] - Nothing -> pure NotRun
1951.19 s
[opt-env-conf-test] - Just ne -> do
1951.19 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1951.19 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1951.19 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1951.19 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1951.19 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1951.19 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1951.19 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1951.19 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1951.19 s
[opt-env-conf-test] - -- result.
1951.19 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1951.19 s
[opt-env-conf-test] - case tryReaders rs varStr of
1951.19 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1951.19 s
[opt-env-conf-test] - Right a -> do
1951.19 s
[opt-env-conf-test] - debug
1951.19 s
[opt-env-conf-test] - [ "set based on env: ",
1951.19 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1951.19 s
[opt-env-conf-test] - ]
1951.19 s
[opt-env-conf-test] - pure a
1951.19 s
[opt-env-conf-test] - case listToMaybe results of
1951.19 s
[opt-env-conf-test] - Nothing -> do
1951.19 s
[opt-env-conf-test] - debug
1951.19 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1951.19 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1951.19 s
[opt-env-conf-test] - ]
1951.19 s
[opt-env-conf-test] - pure NotFound
1951.19 s
[opt-env-conf-test] - Just a -> pure $ Found a
1951.19 s
[opt-env-conf-test] -
1951.19 s
[opt-env-conf-test] - case mEnv of
1951.19 s
[opt-env-conf-test] - Found a -> do
1951.19 s
[opt-env-conf-test] - markParsed
1951.19 s
[opt-env-conf-test] - pure a
1951.19 s
[opt-env-conf-test] - _ -> do
1951.19 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1951.19 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1951.19 s
[opt-env-conf-test] - Nothing -> pure NotRun
1951.19 s
[opt-env-conf-test] - Just confSets -> do
1951.20 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1951.20 s
[opt-env-conf-test] - case mObj of
1951.20 s
[opt-env-conf-test] - Nothing -> do
1951.20 s
[opt-env-conf-test] - debug ["no config object to set from"]
1951.20 s
[opt-env-conf-test] - pure NotFound
1951.20 s
[opt-env-conf-test] - Just obj -> do
1951.20 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1951.20 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1951.20 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1951.20 s
[opt-env-conf-test] - Nothing -> do
1951.20 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1951.20 s
[opt-env-conf-test] - Nothing -> pure Nothing
1951.20 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1951.20 s
[opt-env-conf-test] - Just neRest -> do
1951.20 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1951.20 s
[opt-env-conf-test] - case mO' of
1951.20 s
[opt-env-conf-test] - Nothing -> pure Nothing
1951.20 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1951.20 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1951.20 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1951.20 s
[opt-env-conf-test] - Right mV -> case mV of
1951.20 s
[opt-env-conf-test] - Nothing -> do
1951.20 s
[opt-env-conf-test] - debug
1951.20 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1951.20 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1951.20 s
[opt-env-conf-test] - ]
1951.20 s
[opt-env-conf-test] - pure Nothing
1951.20 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1951.20 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1951.20 s
[opt-env-conf-test] - Right mA -> case mA of
1951.20 s
[opt-env-conf-test] - Nothing -> do
1951.20 s
[opt-env-conf-test] - debug
1951.20 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1951.20 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1951.20 s
[opt-env-conf-test] - ]
1951.20 s
[opt-env-conf-test] - pure Nothing
1951.20 s
[opt-env-conf-test] - Just a -> do
1951.20 s
[opt-env-conf-test] - debug
1951.20 s
[opt-env-conf-test] - [ "set based on config value: ",
1951.20 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1951.21 s
[opt-env-conf-test] - ]
1951.21 s
[opt-env-conf-test] - pure $ Just a
1951.21 s
[opt-env-conf-test] - let toRes = \case
1951.21 s
[opt-env-conf-test] - Nothing -> NotFound
1951.21 s
[opt-env-conf-test] - Just a -> Found a
1951.21 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1951.21 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1951.21 s
[opt-env-conf-test] - Just ne -> do
1951.21 s
[opt-env-conf-test] - res <- goConfSet confSet
1951.21 s
[opt-env-conf-test] - case res of
1951.21 s
[opt-env-conf-test] - Just a -> pure $ Found a
1951.21 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1951.21 s
[opt-env-conf-test] - goConfSets confSets
1951.21 s
[opt-env-conf-test] - case mConf of
1951.21 s
[opt-env-conf-test] - Found a -> do
1951.21 s
[opt-env-conf-test] - markParsed
1951.21 s
[opt-env-conf-test] - pure a
1951.21 s
[opt-env-conf-test] - _ ->
1951.21 s
[opt-env-conf-test] - case settingDefaultValue of
1951.21 s
[opt-env-conf-test] - Just (a, _) -> do
1951.21 s
[opt-env-conf-test] - debug ["set to default value"]
1951.21 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1951.21 s
[opt-env-conf-test] - Nothing -> do
1951.21 s
[opt-env-conf-test] - let parseResultError e res = case res of
1951.21 s
[opt-env-conf-test] - NotRun -> Nothing
1951.21 s
[opt-env-conf-test] - NotFound -> Just e
1951.21 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1951.21 s
[opt-env-conf-test] - debug ["not found"]
1951.21 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1951.21 s
[opt-env-conf-test] - NE.nonEmpty $
1951.21 s
[opt-env-conf-test] - catMaybes
1951.21 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1951.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1951.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1951.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1951.21 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1951.21 s
[opt-env-conf-test] - ]
1951.21 s
[opt-env-conf-test]
1951.21 s
[opt-env-conf-test] withCapabilities ::
1951.21 s
[opt-env-conf-test] Maybe SrcLoc ->
1951.21 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1951.21 s
[opt-env-conf-test] @@ -280,178 +280,175 @@
1951.21 s
[opt-env-conf-test] pure $ Found a
1951.21 s
[opt-env-conf-test] else pure NotRun
1951.21 s
[opt-env-conf-test]
1951.21 s
[opt-env-conf-test] case mArg of
1951.21 s
[opt-env-conf-test] - Found a -> do
1951.21 s
[opt-env-conf-test] - markParsed
1951.21 s
[opt-env-conf-test] - pure a
1951.21 s
[opt-env-conf-test] _ -> do
1951.21 s
[opt-env-conf-test] mSwitch <- case settingSwitchValue of
1951.21 s
[opt-env-conf-test] Nothing -> pure NotRun
1951.21 s
[opt-env-conf-test] Just a -> do
1951.21 s
[opt-env-conf-test] mS <- ppSwitch settingDasheds
1951.21 s
[opt-env-conf-test] case mS of
1951.21 s
[opt-env-conf-test] Nothing -> do
1951.21 s
[opt-env-conf-test] debug
1951.21 s
[opt-env-conf-test] [ "could not set based on switch, no switch: ",
1951.21 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1951.21 s
[opt-env-conf-test] ]
1951.21 s
[opt-env-conf-test] pure NotFound
1951.21 s
[opt-env-conf-test] Just () -> cap $ do
1951.21 s
[opt-env-conf-test] debug ["set based on switch."]
1951.21 s
[opt-env-conf-test] pure $ Found a
1951.21 s
[opt-env-conf-test]
1951.22 s
[opt-env-conf-test] case mSwitch of
1951.22 s
[opt-env-conf-test] Found a -> do
1951.22 s
[opt-env-conf-test] markParsed
1951.22 s
[opt-env-conf-test] pure a
1951.22 s
[opt-env-conf-test] _ -> do
1951.22 s
[opt-env-conf-test] mOpt <-
1951.22 s
[opt-env-conf-test] if settingTryOption
1951.22 s
[opt-env-conf-test] then do
1951.22 s
[opt-env-conf-test] -- Require readers before finding the option so the parser
1951.22 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1951.22 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1951.22 s
[opt-env-conf-test] mS <- ppOpt settingDasheds
1951.22 s
[opt-env-conf-test] case mS of
1951.22 s
[opt-env-conf-test] Nothing -> do
1951.22 s
[opt-env-conf-test] debug
1951.22 s
[opt-env-conf-test] [ "could not set based on options, no option: ",
1951.22 s
[opt-env-conf-test] chunk $ T.pack $ show $ map renderDashed settingDasheds
1951.22 s
[opt-env-conf-test] ]
1951.22 s
[opt-env-conf-test] pure NotFound
1951.22 s
[opt-env-conf-test] Just optionStr -> cap $
1951.22 s
[opt-env-conf-test] case tryReaders rs optionStr of
1951.22 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1951.22 s
[opt-env-conf-test] Right a -> do
1951.22 s
[opt-env-conf-test] debug
1951.22 s
[opt-env-conf-test] [ "set based on option: ",
1951.22 s
[opt-env-conf-test] chunk $ T.pack $ show optionStr
1951.22 s
[opt-env-conf-test] ]
1951.22 s
[opt-env-conf-test] pure $ Found a
1951.22 s
[opt-env-conf-test] else pure NotRun
1951.22 s
[opt-env-conf-test]
1951.22 s
[opt-env-conf-test] case mOpt of
1951.22 s
[opt-env-conf-test] Found a -> do
1951.22 s
[opt-env-conf-test] markParsed
1951.22 s
[opt-env-conf-test] pure a
1951.22 s
[opt-env-conf-test] _ -> do
1951.22 s
[opt-env-conf-test] let mEnvDoc = settingEnvDoc set
1951.22 s
[opt-env-conf-test] mEnv <- cap $ case settingEnvVars of
1951.22 s
[opt-env-conf-test] Nothing -> pure NotRun
1951.22 s
[opt-env-conf-test] Just ne -> do
1951.22 s
[opt-env-conf-test] -- Require readers before finding the env vars so the parser
1951.22 s
[opt-env-conf-test] -- always fails if it's missing a reader.
1951.22 s
[opt-env-conf-test] rs <- requireReaders settingReaders
1951.22 s
[opt-env-conf-test] es <- asks ppEnvEnv
1951.22 s
[opt-env-conf-test] let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1951.22 s
[opt-env-conf-test] -- Run the parser on all specified env vars before
1951.22 s
[opt-env-conf-test] -- returning the first because we want to fail if any
1951.22 s
[opt-env-conf-test] -- of them fail, even if they wouldn't be the parse
1951.22 s
[opt-env-conf-test] -- result.
1951.22 s
[opt-env-conf-test] results <- for founds $ \varStr ->
1951.22 s
[opt-env-conf-test] case tryReaders rs varStr of
1951.22 s
[opt-env-conf-test] Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1951.22 s
[opt-env-conf-test] Right a -> do
1951.22 s
[opt-env-conf-test] debug
1951.22 s
[opt-env-conf-test] [ "set based on env: ",
1951.22 s
[opt-env-conf-test] chunk $ T.pack $ show varStr
1951.22 s
[opt-env-conf-test] ]
1951.22 s
[opt-env-conf-test] pure a
1951.22 s
[opt-env-conf-test] case listToMaybe results of
1951.22 s
[opt-env-conf-test] Nothing -> do
1951.22 s
[opt-env-conf-test] debug
1951.22 s
[opt-env-conf-test] [ "could not set based on env vars, no var: ",
1951.22 s
[opt-env-conf-test] chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1951.22 s
[opt-env-conf-test] ]
1951.22 s
[opt-env-conf-test] pure NotFound
1951.22 s
[opt-env-conf-test] Just a -> pure $ Found a
1951.22 s
[opt-env-conf-test]
1951.22 s
[opt-env-conf-test] case mEnv of
1951.22 s
[opt-env-conf-test] Found a -> do
1951.22 s
[opt-env-conf-test] markParsed
1951.22 s
[opt-env-conf-test] pure a
1951.22 s
[opt-env-conf-test] _ -> do
1951.22 s
[opt-env-conf-test] let mConfDoc = settingConfDoc set
1951.22 s
[opt-env-conf-test] mConf <- case settingConfigVals of
1951.23 s
[opt-env-conf-test] Nothing -> pure NotRun
1951.23 s
[opt-env-conf-test] Just confSets -> do
1951.23 s
[opt-env-conf-test] mObj <- asks ppEnvConf
1951.23 s
[opt-env-conf-test] case mObj of
1951.23 s
[opt-env-conf-test] Nothing -> do
1951.23 s
[opt-env-conf-test] debug ["no config object to set from"]
1951.23 s
[opt-env-conf-test] pure NotFound
1951.23 s
[opt-env-conf-test] Just obj -> do
1951.23 s
[opt-env-conf-test] let goConfSet ConfigValSetting {..} = do
1951.23 s
[opt-env-conf-test] let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1951.23 s
[opt-env-conf-test] jsonParser o (k :| rest) = case NE.nonEmpty rest of
1951.23 s
[opt-env-conf-test] Nothing -> do
1951.23 s
[opt-env-conf-test] case KeyMap.lookup (Key.fromString k) o of
1951.23 s
[opt-env-conf-test] Nothing -> pure Nothing
1951.23 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
1951.23 s
[opt-env-conf-test] Just neRest -> do
1951.23 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
1951.23 s
[opt-env-conf-test] case mO' of
1951.23 s
[opt-env-conf-test] Nothing -> pure Nothing
1951.23 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
1951.23 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
1951.23 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1951.23 s
[opt-env-conf-test] Right mV -> case mV of
1951.23 s
[opt-env-conf-test] Nothing -> do
1951.23 s
[opt-env-conf-test] debug
1951.23 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
1951.23 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1951.23 s
[opt-env-conf-test] ]
1951.23 s
[opt-env-conf-test] pure Nothing
1951.23 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1951.23 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1951.23 s
[opt-env-conf-test] Right mA -> case mA of
1951.23 s
[opt-env-conf-test] Nothing -> do
1951.23 s
[opt-env-conf-test] debug
1951.23 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
1951.23 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
1951.23 s
[opt-env-conf-test] ]
1951.23 s
[opt-env-conf-test] pure Nothing
1951.23 s
[opt-env-conf-test] Just a -> do
1951.23 s
[opt-env-conf-test] debug
1951.23 s
[opt-env-conf-test] [ "set based on config value: ",
1951.23 s
[opt-env-conf-test] chunk $ T.pack $ show v
1951.23 s
[opt-env-conf-test] ]
1951.23 s
[opt-env-conf-test] pure $ Just a
1951.23 s
[opt-env-conf-test] let toRes = \case
1951.23 s
[opt-env-conf-test] Nothing -> NotFound
1951.23 s
[opt-env-conf-test] Just a -> Found a
1951.23 s
[opt-env-conf-test] let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1952.49 s
[opt-env-conf-test] Nothing -> toRes <$> goConfSet confSet
1952.50 s
[opt-env-conf-test] Just ne -> do
1952.50 s
[opt-env-conf-test] res <- goConfSet confSet
1952.50 s
[opt-env-conf-test] case res of
1952.50 s
[opt-env-conf-test] Just a -> pure $ Found a
1952.50 s
[opt-env-conf-test] Nothing -> goConfSets ne
1952.50 s
[opt-env-conf-test] goConfSets confSets
1952.50 s
[opt-env-conf-test] case mConf of
1952.50 s
[opt-env-conf-test] Found a -> do
1952.50 s
[opt-env-conf-test] markParsed
1952.50 s
[opt-env-conf-test] pure a
1952.50 s
[opt-env-conf-test] _ ->
1952.50 s
[opt-env-conf-test] case settingDefaultValue of
1952.50 s
[opt-env-conf-test] Just (a, _) -> do
1952.50 s
[opt-env-conf-test] debug ["set to default value"]
1952.50 s
[opt-env-conf-test] pure a -- Don't mark as parsed
1952.50 s
[opt-env-conf-test] Nothing -> do
1952.50 s
[opt-env-conf-test] let parseResultError e res = case res of
1952.50 s
[opt-env-conf-test] NotRun -> Nothing
1952.50 s
[opt-env-conf-test] NotFound -> Just e
1952.51 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
1952.51 s
[opt-env-conf-test] debug ["not found"]
1952.51 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1952.51 s
[opt-env-conf-test] NE.nonEmpty $
1952.51 s
[opt-env-conf-test] catMaybes
1952.51 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1952.51 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1952.51 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1952.51 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1952.51 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1952.51 s
[opt-env-conf-test] ]
1952.51 s
[opt-env-conf-test]
1952.51 s
[opt-env-conf-test] withCapabilities ::
1952.51 s
[opt-env-conf-test] Maybe SrcLoc ->
1952.51 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:283:11-42
1952.51 s
[opt-env-conf-test] @@ -280,178 +280,10 @@
1952.51 s
[opt-env-conf-test] pure $ Found a
1952.51 s
[opt-env-conf-test] else pure NotRun
1952.51 s
[opt-env-conf-test]
1952.51 s
[opt-env-conf-test] case mArg of
1952.51 s
[opt-env-conf-test] Found a -> do
1952.51 s
[opt-env-conf-test] markParsed
1952.51 s
[opt-env-conf-test] pure a
1952.51 s
[opt-env-conf-test] - _ -> do
1952.51 s
[opt-env-conf-test] - mSwitch <- case settingSwitchValue of
1952.51 s
[opt-env-conf-test] - Nothing -> pure NotRun
1952.51 s
[opt-env-conf-test] - Just a -> do
1952.51 s
[opt-env-conf-test] - mS <- ppSwitch settingDasheds
1952.51 s
[opt-env-conf-test] - case mS of
1952.51 s
[opt-env-conf-test] - Nothing -> do
1952.51 s
[opt-env-conf-test] - debug
1952.51 s
[opt-env-conf-test] - [ "could not set based on switch, no switch: ",
1952.52 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1952.52 s
[opt-env-conf-test] - ]
1952.52 s
[opt-env-conf-test] - pure NotFound
1952.52 s
[opt-env-conf-test] - Just () -> cap $ do
1952.52 s
[opt-env-conf-test] - debug ["set based on switch."]
1952.52 s
[opt-env-conf-test] - pure $ Found a
1952.52 s
[opt-env-conf-test] -
1952.52 s
[opt-env-conf-test] - case mSwitch of
1952.52 s
[opt-env-conf-test] - Found a -> do
1952.52 s
[opt-env-conf-test] - markParsed
1952.52 s
[opt-env-conf-test] - pure a
1952.52 s
[opt-env-conf-test] - _ -> do
1952.52 s
[opt-env-conf-test] - mOpt <-
1952.52 s
[opt-env-conf-test] - if settingTryOption
1952.52 s
[opt-env-conf-test] - then do
1952.52 s
[opt-env-conf-test] - -- Require readers before finding the option so the parser
1952.52 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1952.52 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1952.52 s
[opt-env-conf-test] - mS <- ppOpt settingDasheds
1952.52 s
[opt-env-conf-test] - case mS of
1952.52 s
[opt-env-conf-test] - Nothing -> do
1952.52 s
[opt-env-conf-test] - debug
1952.52 s
[opt-env-conf-test] - [ "could not set based on options, no option: ",
1952.52 s
[opt-env-conf-test] - chunk $ T.pack $ show $ map renderDashed settingDasheds
1952.52 s
[opt-env-conf-test] - ]
1952.52 s
[opt-env-conf-test] - pure NotFound
1952.52 s
[opt-env-conf-test] - Just optionStr -> cap $
1952.52 s
[opt-env-conf-test] - case tryReaders rs optionStr of
1952.52 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorOptionRead mOptDoc err
1952.52 s
[opt-env-conf-test] - Right a -> do
1952.52 s
[opt-env-conf-test] - debug
1952.52 s
[opt-env-conf-test] - [ "set based on option: ",
1952.52 s
[opt-env-conf-test] - chunk $ T.pack $ show optionStr
1952.52 s
[opt-env-conf-test] - ]
1952.52 s
[opt-env-conf-test] - pure $ Found a
1952.52 s
[opt-env-conf-test] - else pure NotRun
1952.52 s
[opt-env-conf-test] -
1952.52 s
[opt-env-conf-test] - case mOpt of
1952.52 s
[opt-env-conf-test] - Found a -> do
1952.52 s
[opt-env-conf-test] - markParsed
1952.52 s
[opt-env-conf-test] - pure a
1952.53 s
[opt-env-conf-test] - _ -> do
1952.53 s
[opt-env-conf-test] - let mEnvDoc = settingEnvDoc set
1952.53 s
[opt-env-conf-test] - mEnv <- cap $ case settingEnvVars of
1952.53 s
[opt-env-conf-test] - Nothing -> pure NotRun
1952.53 s
[opt-env-conf-test] - Just ne -> do
1952.53 s
[opt-env-conf-test] - -- Require readers before finding the env vars so the parser
1952.53 s
[opt-env-conf-test] - -- always fails if it's missing a reader.
1952.53 s
[opt-env-conf-test] - rs <- requireReaders settingReaders
1952.53 s
[opt-env-conf-test] - es <- asks ppEnvEnv
1952.53 s
[opt-env-conf-test] - let founds = mapMaybe ((`EnvMap.lookup` es) . envVarSettingVar) (NE.toList ne)
1952.53 s
[opt-env-conf-test] - -- Run the parser on all specified env vars before
1952.53 s
[opt-env-conf-test] - -- returning the first because we want to fail if any
1952.53 s
[opt-env-conf-test] - -- of them fail, even if they wouldn't be the parse
1952.53 s
[opt-env-conf-test] - -- result.
1952.53 s
[opt-env-conf-test] - results <- for founds $ \varStr ->
1952.53 s
[opt-env-conf-test] - case tryReaders rs varStr of
1952.53 s
[opt-env-conf-test] - Left errs -> ppError mLoc $ ParseErrorEnvRead mEnvDoc errs
1952.53 s
[opt-env-conf-test] - Right a -> do
1952.53 s
[opt-env-conf-test] - debug
1952.53 s
[opt-env-conf-test] - [ "set based on env: ",
1952.53 s
[opt-env-conf-test] - chunk $ T.pack $ show varStr
1952.53 s
[opt-env-conf-test] - ]
1952.53 s
[opt-env-conf-test] - pure a
1952.53 s
[opt-env-conf-test] - case listToMaybe results of
1952.53 s
[opt-env-conf-test] - Nothing -> do
1952.53 s
[opt-env-conf-test] - debug
1952.53 s
[opt-env-conf-test] - [ "could not set based on env vars, no var: ",
1952.53 s
[opt-env-conf-test] - chunk $ T.pack $ show $ maybe [] NE.toList settingEnvVars
1952.53 s
[opt-env-conf-test] - ]
1952.53 s
[opt-env-conf-test] - pure NotFound
1952.53 s
[opt-env-conf-test] - Just a -> pure $ Found a
1952.53 s
[opt-env-conf-test] -
1952.53 s
[opt-env-conf-test] - case mEnv of
1952.53 s
[opt-env-conf-test] - Found a -> do
1952.54 s
[opt-env-conf-test] - markParsed
1952.54 s
[opt-env-conf-test] - pure a
1952.54 s
[opt-env-conf-test] - _ -> do
1952.54 s
[opt-env-conf-test] - let mConfDoc = settingConfDoc set
1952.54 s
[opt-env-conf-test] - mConf <- case settingConfigVals of
1952.54 s
[opt-env-conf-test] - Nothing -> pure NotRun
1952.54 s
[opt-env-conf-test] - Just confSets -> do
1952.54 s
[opt-env-conf-test] - mObj <- asks ppEnvConf
1952.54 s
[opt-env-conf-test] - case mObj of
1952.54 s
[opt-env-conf-test] - Nothing -> do
1952.54 s
[opt-env-conf-test] - debug ["no config object to set from"]
1952.54 s
[opt-env-conf-test] - pure NotFound
1952.54 s
[opt-env-conf-test] - Just obj -> do
1952.54 s
[opt-env-conf-test] - let goConfSet ConfigValSetting {..} = do
1952.54 s
[opt-env-conf-test] - let jsonParser :: JSON.Object -> NonEmpty String -> JSON.Parser (Maybe JSON.Value)
1952.54 s
[opt-env-conf-test] - jsonParser o (k :| rest) = case NE.nonEmpty rest of
1952.54 s
[opt-env-conf-test] - Nothing -> do
1952.54 s
[opt-env-conf-test] - case KeyMap.lookup (Key.fromString k) o of
1952.54 s
[opt-env-conf-test] - Nothing -> pure Nothing
1952.54 s
[opt-env-conf-test] - Just v -> Just <$> parseJSON v
1952.54 s
[opt-env-conf-test] - Just neRest -> do
1952.54 s
[opt-env-conf-test] - mO' <- o .:? Key.fromString k
1952.54 s
[opt-env-conf-test] - case mO' of
1952.54 s
[opt-env-conf-test] - Nothing -> pure Nothing
1952.54 s
[opt-env-conf-test] - Just o' -> jsonParser o' neRest
1952.54 s
[opt-env-conf-test] - case JSON.parseEither (jsonParser obj) configValSettingPath of
1952.54 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1952.54 s
[opt-env-conf-test] - Right mV -> case mV of
1952.54 s
[opt-env-conf-test] - Nothing -> do
1952.54 s
[opt-env-conf-test] - debug
1952.54 s
[opt-env-conf-test] - [ "could not set based on config value, not configured: ",
1952.54 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1952.54 s
[opt-env-conf-test] - ]
1952.54 s
[opt-env-conf-test] - pure Nothing
1952.54 s
[opt-env-conf-test] - Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
1952.54 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
1952.54 s
[opt-env-conf-test] - Right mA -> case mA of
1952.55 s
[opt-env-conf-test] - Nothing -> do
1952.55 s
[opt-env-conf-test] - debug
1952.55 s
[opt-env-conf-test] - [ "could not set based on config value, configured to nothing: ",
1952.55 s
[opt-env-conf-test] - chunk $ T.pack $ show $ NE.toList configValSettingPath
1952.55 s
[opt-env-conf-test] - ]
1952.55 s
[opt-env-conf-test] - pure Nothing
1952.55 s
[opt-env-conf-test] - Just a -> do
1952.55 s
[opt-env-conf-test] - debug
1952.55 s
[opt-env-conf-test] - [ "set based on config value: ",
1952.55 s
[opt-env-conf-test] - chunk $ T.pack $ show v
1952.55 s
[opt-env-conf-test] - ]
1952.55 s
[opt-env-conf-test] - pure $ Just a
1952.55 s
[opt-env-conf-test] - let toRes = \case
1952.55 s
[opt-env-conf-test] - Nothing -> NotFound
1952.55 s
[opt-env-conf-test] - Just a -> Found a
1952.55 s
[opt-env-conf-test] - let goConfSets (confSet :| rest) = case NE.nonEmpty rest of
1952.55 s
[opt-env-conf-test] - Nothing -> toRes <$> goConfSet confSet
1952.55 s
[opt-env-conf-test] - Just ne -> do
1952.55 s
[opt-env-conf-test] - res <- goConfSet confSet
1952.55 s
[opt-env-conf-test] - case res of
1952.55 s
[opt-env-conf-test] - Just a -> pure $ Found a
1952.55 s
[opt-env-conf-test] - Nothing -> goConfSets ne
1952.55 s
[opt-env-conf-test] - goConfSets confSets
1952.55 s
[opt-env-conf-test] - case mConf of
1952.55 s
[opt-env-conf-test] - Found a -> do
1952.55 s
[opt-env-conf-test] - markParsed
1952.55 s
[opt-env-conf-test] - pure a
1952.55 s
[opt-env-conf-test] - _ ->
1952.55 s
[opt-env-conf-test] - case settingDefaultValue of
1952.55 s
[opt-env-conf-test] - Just (a, _) -> do
1952.55 s
[opt-env-conf-test] - debug ["set to default value"]
1952.55 s
[opt-env-conf-test] - pure a -- Don't mark as parsed
1960.19 s
[opt-env-conf-test] - Nothing -> do
1960.22 s
[opt-env-conf-test] - let parseResultError e res = case res of
1960.22 s
[opt-env-conf-test] - NotRun -> Nothing
1960.22 s
[opt-env-conf-test] - NotFound -> Just e
1960.22 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
1960.22 s
[opt-env-conf-test] - debug ["not found"]
1960.22 s
[opt-env-conf-test] - maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
1960.22 s
[opt-env-conf-test] - NE.nonEmpty $
1960.22 s
[opt-env-conf-test] - catMaybes
1960.22 s
[opt-env-conf-test] - [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
1960.22 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
1960.22 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
1960.22 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
1960.22 s
[opt-env-conf-test] - parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
1960.22 s
[opt-env-conf-test] - ]
1960.22 s
[opt-env-conf-test]
1960.23 s
[opt-env-conf-test] withCapabilities ::
1960.23 s
[opt-env-conf-test] Maybe SrcLoc ->
1960.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1960.23 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1960.23 s
[opt-env-conf-test]
1960.23 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1960.23 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1960.23 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1960.23 s
[opt-env-conf-test] - Nothing -> Left $ "Unparseable value: " <> show s
1960.23 s
[opt-env-conf-test] Just a -> Right a
1960.23 s
[opt-env-conf-test]
1960.23 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1960.23 s
[opt-env-conf-test] --
1960.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:78:41-20
1960.23 s
[opt-env-conf-test] @@ -75,9 +75,8 @@
1960.23 s
[opt-env-conf-test]
1960.23 s
[opt-env-conf-test] -- | Turn a 'Maybe' parsing function into a 'Reader'
1960.23 s
[opt-env-conf-test] maybeReader :: (String -> Maybe a) -> Reader a
1960.23 s
[opt-env-conf-test] maybeReader func = eitherReader $ \s -> case func s of
1960.23 s
[opt-env-conf-test] Nothing -> Left $ "Unparseable value: " <> show s
1960.23 s
[opt-env-conf-test] - Just a -> Right a
1960.23 s
[opt-env-conf-test]
1960.23 s
[opt-env-conf-test] -- | Turn an 'Either' parsing function into a 'Reader'
1960.23 s
[opt-env-conf-test] --
1960.23 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Reader.hs:70:32-36
1960.23 s
[opt-env-conf-test] @@ -67,7 +67,7 @@
1960.23 s
[opt-env-conf-test] --
1960.23 s
[opt-env-conf-test] -- > exists = Reader $ const $ pure True
1960.23 s
[opt-env-conf-test] exists :: Reader Bool
1960.23 s
[opt-env-conf-test] - exists = Reader $ const $ pure Tr u e
1960.23 s
[opt-env-conf-test] + exists = Reader $ const $ pure F a ls e
1960.23 s
[opt-env-conf-test]
1960.23 s
[opt-env-conf-test] -- | Read a value as if it were specified as a 'String' and parsed via the given 'Codec'.
1960.23 s
[opt-env-conf-test] viaStringCodec :: (HasCodec a) => Reader a
1960.23 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1960.23 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1960.23 s
[opt-env-conf-test] --
1960.23 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1960.24 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1960.24 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1960.24 s
[opt-env-conf-test] - Nothing -> Left $ "Un-Read-able value: " <> show s
1960.24 s
[opt-env-conf-test] Just a -> Right a
1960.24 s
[opt-env-conf-test]
1960.24 s
[opt-env-conf-test] -- | Always return True
1960.24 s
[opt-env-conf-test] --
1960.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Reader.hs:62:23-20
1960.24 s
[opt-env-conf-test] @@ -59,9 +59,8 @@
1960.24 s
[opt-env-conf-test] --
1960.24 s
[opt-env-conf-test] -- You cannot use this for bare strings, because 'Read' for strings parses quotes.
1960.24 s
[opt-env-conf-test] auto :: (Read a) => Reader a
1960.24 s
[opt-env-conf-test] auto = Reader $ \s -> case readMaybe s of
1960.24 s
[opt-env-conf-test] Nothing -> Left $ "Un-Read-able value: " <> show s
1960.24 s
[opt-env-conf-test] - Just a -> Right a
1960.24 s
[opt-env-conf-test]
1960.24 s
[opt-env-conf-test] -- | Always return True
1960.24 s
[opt-env-conf-test] --
1960.24 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
1960.24 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
1960.24 s
[opt-env-conf-test] before <- get
1960.24 s
[opt-env-conf-test] mA <- func
1960.24 s
[opt-env-conf-test] case mA of
1960.24 s
[opt-env-conf-test] Nothing -> do
1960.24 s
[opt-env-conf-test] - put before
1960.24 s
[opt-env-conf-test] pure Nothing
1960.24 s
[opt-env-conf-test] Just a -> pure (Just a)
1960.24 s
[opt-env-conf-test]
1960.24 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1960.24 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:257:25-31
1960.24 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
1960.24 s
[opt-env-conf-test] Nothing -> do
1960.24 s
[opt-env-conf-test] put before
1960.24 s
[opt-env-conf-test] pure Nothing
1960.24 s
[opt-env-conf-test] - Just a -> pure ( J u s t a )
1960.24 s
[opt-env-conf-test] + Just a -> pure ( No t h ing )
1960.24 s
[opt-env-conf-test]
1960.24 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
1960.24 s
[opt-env-conf-test] -- Each iteration either advances the args state (consuming input)
1960.24 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1960.24 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1960.24 s
[opt-env-conf-test] Nothing -> pure Nothing
1960.24 s
[opt-env-conf-test] Just cs1 -> do
1960.24 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1960.24 s
[opt-env-conf-test] pure $ case p2s of
1960.24 s
[opt-env-conf-test] - Nothing -> Nothing
1960.24 s
[opt-env-conf-test] Just cs2 -> pure $ cs1 ++ cs2
1960.24 s
[opt-env-conf-test]
1960.24 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1960.24 s
[opt-env-conf-test] -- Just [] means "no completions"
1960.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:307:18-42
1960.25 s
[opt-env-conf-test] @@ -304,9 +304,8 @@
1960.25 s
[opt-env-conf-test] Nothing -> pure Nothing
1960.25 s
[opt-env-conf-test] Just cs1 -> do
1960.25 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1960.25 s
[opt-env-conf-test] pure $ case p2s of
1960.25 s
[opt-env-conf-test] Nothing -> Nothing
1960.25 s
[opt-env-conf-test] - Just cs2 -> pure $ cs1 ++ cs2
1960.25 s
[opt-env-conf-test]
1960.25 s
[opt-env-conf-test] -- Nothing means "this branch was not valid"
1960.25 s
[opt-env-conf-test] -- Just [] means "no completions"
1960.25 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:296:31-38
1960.25 s
[opt-env-conf-test] @@ -293,7 +293,7 @@
1960.25 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1960.25 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1960.25 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1960.25 s
[opt-env-conf-test] - (Just cs, Nothing) -> J u s t c s
1960.25 s
[opt-env-conf-test] + (Just cs, Nothing) -> No t h ing
1960.25 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1960.25 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1960.25 s
[opt-env-conf-test]
1960.25 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:297:31-38
1960.25 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
1960.25 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1960.25 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1960.25 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1960.25 s
[opt-env-conf-test] - (Nothing, Just cs) -> J u s t c s
1960.25 s
[opt-env-conf-test] + (Nothing, Just cs) -> No t h ing
1960.25 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1960.25 s
[opt-env-conf-test]
1960.25 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1960.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1960.25 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1960.25 s
[opt-env-conf-test] orCompletions p1 p2 = do
1960.25 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1960.25 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1960.25 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1960.25 s
[opt-env-conf-test] - (Nothing, Nothing) -> Nothing
1960.25 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1960.25 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1960.25 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1960.25 s
[opt-env-conf-test]
1960.25 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1960.25 s
[opt-env-conf-test] andCompletions p1 p2 = do
1960.25 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1960.25 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1960.25 s
[opt-env-conf-test] orCompletions p1 p2 = do
1960.25 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1960.25 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1960.25 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1960.25 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1960.25 s
[opt-env-conf-test] - (Just cs, Nothing) -> Just cs
1960.25 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1960.25 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1960.26 s
[opt-env-conf-test]
1960.26 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1960.26 s
[opt-env-conf-test] andCompletions p1 p2 = do
1960.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1960.26 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1960.26 s
[opt-env-conf-test] orCompletions p1 p2 = do
1960.26 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1960.26 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1960.26 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1960.26 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1960.26 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1960.26 s
[opt-env-conf-test] - (Nothing, Just cs) -> Just cs
1960.26 s
[opt-env-conf-test] (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1960.26 s
[opt-env-conf-test]
1960.26 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1960.26 s
[opt-env-conf-test] andCompletions p1 p2 = do
1960.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:294:14-50
1960.26 s
[opt-env-conf-test] @@ -291,11 +291,10 @@
1960.26 s
[opt-env-conf-test] orCompletions p1 p2 = do
1960.26 s
[opt-env-conf-test] p1s <- tryOrRestore $ go p1
1960.26 s
[opt-env-conf-test] p2s <- tryOrRestore $ go p2
1960.26 s
[opt-env-conf-test] pure $ case (p1s, p2s) of
1960.26 s
[opt-env-conf-test] (Nothing, Nothing) -> Nothing
1960.26 s
[opt-env-conf-test] (Just cs, Nothing) -> Just cs
1960.26 s
[opt-env-conf-test] (Nothing, Just cs) -> Just cs
1960.26 s
[opt-env-conf-test] - (Just cs1, Just cs2) -> Just $ cs1 ++ cs2
1960.26 s
[opt-env-conf-test]
1960.26 s
[opt-env-conf-test] andCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1960.26 s
[opt-env-conf-test] andCompletions p1 p2 = do
1960.26 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1960.26 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1960.26 s
[opt-env-conf-test] Nothing -> pure Nothing
1966.69 s
[opt-env-conf-test] Just os -> do
1966.71 s
[opt-env-conf-test] after <- get
1966.71 s
[opt-env-conf-test] - if a f te r = = b e f ore
1966.71 s
[opt-env-conf-test] + if T r u e
1966.71 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1966.71 s
[opt-env-conf-test] pure $ Just os
1966.71 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1966.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:272:14-29
1966.71 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1966.71 s
[opt-env-conf-test] Nothing -> pure Nothing
1966.71 s
[opt-env-conf-test] Just os -> do
1966.71 s
[opt-env-conf-test] after <- get
1966.71 s
[opt-env-conf-test] - if a f te r == bef or e
1966.71 s
[opt-env-conf-test] + if F a l s e
1966.71 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1966.71 s
[opt-env-conf-test] pure $ Just os
1966.71 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1966.71 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:272:14-29
1966.71 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
1966.71 s
[opt-env-conf-test] Nothing -> pure Nothing
1966.72 s
[opt-env-conf-test] Just os -> do
1966.72 s
[opt-env-conf-test] after <- get
1966.72 s
[opt-env-conf-test] - if after == before
1966.72 s
[opt-env-conf-test] + if n o t ( after == before )
1966.72 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1966.72 s
[opt-env-conf-test] pure $ Just os
1966.72 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1966.72 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:274:22-29
1966.72 s
[opt-env-conf-test] @@ -271,7 +271,7 @@
1966.72 s
[opt-env-conf-test] after <- get
1966.72 s
[opt-env-conf-test] if after == before
1966.72 s
[opt-env-conf-test] then -- State did not advance; return these completions.
1966.72 s
[opt-env-conf-test] - pure $ J u st o s
1966.72 s
[opt-env-conf-test] + pure $ N o th ing
1966.72 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
1966.72 s
[opt-env-conf-test] -- next iteration. Its completions supersede ours
1966.72 s
[opt-env-conf-test] -- only if it also has a valid result.
1966.72 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:281:37-44
1966.72 s
[opt-env-conf-test] @@ -278,7 +278,7 @@
1966.72 s
[opt-env-conf-test] do
1966.72 s
[opt-env-conf-test] mMore <- manyCompletions p
1966.72 s
[opt-env-conf-test] case mMore of
1966.72 s
[opt-env-conf-test] - Nothing -> pure $ J u st o s
1966.72 s
[opt-env-conf-test] + Nothing -> pure $ N o th ing
1966.72 s
[opt-env-conf-test] Just more
1966.72 s
[opt-env-conf-test] -- If the next iteration only produced stale
1966.72 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1966.72 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:287:23-30
1966.72 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1966.72 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1966.72 s
[opt-env-conf-test] -- further), prefer our completions which came
1966.72 s
[opt-env-conf-test] -- from the advancing iteration.
1966.72 s
[opt-env-conf-test] - | n u l l o s -> pure $ Just more
1966.72 s
[opt-env-conf-test] + | T r u e -> pure $ Just more
1966.72 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1966.72 s
[opt-env-conf-test]
1966.72 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1966.72 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:287:23-30
1966.72 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1966.72 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1966.72 s
[opt-env-conf-test] -- further), prefer our completions which came
1966.72 s
[opt-env-conf-test] -- from the advancing iteration.
1966.72 s
[opt-env-conf-test] - | null os -> pure $ Just more
1966.72 s
[opt-env-conf-test] + | n o t ( null os ) -> pure $ Just more
1966.72 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1966.72 s
[opt-env-conf-test]
1966.72 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1966.72 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:287:41-50
1966.72 s
[opt-env-conf-test] @@ -284,7 +284,7 @@
1966.72 s
[opt-env-conf-test] -- dashed suggestions (state didn't advance
1966.72 s
[opt-env-conf-test] -- further), prefer our completions which came
1966.73 s
[opt-env-conf-test] -- from the advancing iteration.
1966.73 s
[opt-env-conf-test] - | null os -> pure $ J u s t m o r e
1966.73 s
[opt-env-conf-test] + | null os -> pure $ N o thin g
1966.73 s
[opt-env-conf-test] | otherwise -> pure $ Just os
1966.73 s
[opt-env-conf-test]
1966.73 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1966.73 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:288:43-50
1966.73 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
1966.73 s
[opt-env-conf-test] -- further), prefer our completions which came
1966.73 s
[opt-env-conf-test] -- from the advancing iteration.
1966.73 s
[opt-env-conf-test] | null os -> pure $ Just more
1966.73 s
[opt-env-conf-test] - | otherwise -> pure $ J u st o s
1966.73 s
[opt-env-conf-test] + | otherwise -> pure $ N o th ing
1966.73 s
[opt-env-conf-test]
1966.73 s
[opt-env-conf-test] orCompletions :: Parser x -> Parser y -> State Args (Maybe [Completion Suggestion])
1966.73 s
[opt-env-conf-test] orCompletions p1 p2 = do
1966.73 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:315:30-37
1966.73 s
[opt-env-conf-test] @@ -312,7 +312,7 @@
1966.73 s
[opt-env-conf-test] -- Just [] means "no completions"
1966.73 s
[opt-env-conf-test] go :: Parser a -> State Args (Maybe [Completion Suggestion])
1966.73 s
[opt-env-conf-test] go = \case
1966.73 s
[opt-env-conf-test] - ParserPure _ -> pure $ J u s t [ ]
1966.73 s
[opt-env-conf-test] + ParserPure _ -> pure $ No t h ing
1966.73 s
[opt-env-conf-test] -- Parse both and combine the result
1966.73 s
[opt-env-conf-test] ParserAp p1 p2 -> andCompletions p1 p2
1966.73 s
[opt-env-conf-test] -- Parse either: either completions are valid
1966.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1966.73 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1966.73 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1966.73 s
[opt-env-conf-test] case mArg of
1966.73 s
[opt-env-conf-test] Nothing -> do
1966.73 s
[opt-env-conf-test] - if a rg sAt En d r e s t
1966.73 s
[opt-env-conf-test] + if T r u e
1966.73 s
[opt-env-conf-test] then do
1966.73 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1966.73 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1966.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:340:20-34
1966.73 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1966.73 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1966.73 s
[opt-env-conf-test] case mArg of
1966.73 s
[opt-env-conf-test] Nothing -> do
1966.73 s
[opt-env-conf-test] - if a r g s AtE nd r e s t
1966.73 s
[opt-env-conf-test] + if F a l s e
1966.73 s
[opt-env-conf-test] then do
1966.73 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1966.73 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1966.73 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:340:20-34
1966.73 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
1966.73 s
[opt-env-conf-test] fmap combineOptions $ forM possibilities $ \(mArg, rest) -> do
1966.73 s
[opt-env-conf-test] case mArg of
1966.73 s
[opt-env-conf-test] Nothing -> do
1966.73 s
[opt-env-conf-test] - if argsAtEnd rest
1966.73 s
[opt-env-conf-test] + if n o t ( argsAtEnd rest )
1966.73 s
[opt-env-conf-test] then do
1966.73 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1966.73 s
[opt-env-conf-test] let matchingCommands = filter ((arg `isPrefixOf`) . commandArg) cs
1966.73 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:350:59-75
1966.73 s
[opt-env-conf-test] @@ -347,7 +347,7 @@
1966.73 s
[opt-env-conf-test] ( \Command {..} ->
1966.73 s
[opt-env-conf-test] Completion
1966.73 s
[opt-env-conf-test] { completionSuggestion = SuggestionBare commandArg,
1966.73 s
[opt-env-conf-test] - completionDescription = J u st c o mma n d Help
1966.73 s
[opt-env-conf-test] + completionDescription = N o t hi n g
1966.73 s
[opt-env-conf-test] }
1966.73 s
[opt-env-conf-test] )
1973.02 s
[opt-env-conf-test] matchingCommands
1973.05 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:361:29-32
1973.05 s
[opt-env-conf-test] @@ -358,9 +358,8 @@
1973.05 s
[opt-env-conf-test] pure Nothing
1973.05 s
[opt-env-conf-test] Just arg ->
1973.05 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1973.05 s
[opt-env-conf-test] Just c -> do
1973.05 s
[opt-env-conf-test] - put rest
1973.05 s
[opt-env-conf-test] goCommand c
1973.05 s
[opt-env-conf-test] Nothing -> pure Nothing
1973.05 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1973.05 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1973.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1973.05 s
[opt-env-conf-test] @@ -357,11 +357,8 @@
1973.05 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1973.05 s
[opt-env-conf-test] pure Nothing
1973.05 s
[opt-env-conf-test] Just arg ->
1973.06 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1973.06 s
[opt-env-conf-test] - Just c -> do
1973.06 s
[opt-env-conf-test] - put rest
1973.06 s
[opt-env-conf-test] - goCommand c
1973.06 s
[opt-env-conf-test] Nothing -> pure Nothing
1973.06 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1973.06 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1973.06 s
[opt-env-conf-test] -- if the user provides no command.
1973.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:360:17-42
1973.06 s
[opt-env-conf-test] @@ -357,11 +357,10 @@
1973.06 s
[opt-env-conf-test] -- name then the remaining args have nowhere to go.
1973.06 s
[opt-env-conf-test] pure Nothing
1973.06 s
[opt-env-conf-test] Just arg ->
1973.06 s
[opt-env-conf-test] case find ((== arg) . commandArg) cs of
1973.06 s
[opt-env-conf-test] Just c -> do
1973.06 s
[opt-env-conf-test] put rest
1973.06 s
[opt-env-conf-test] goCommand c
1973.06 s
[opt-env-conf-test] - Nothing -> pure Nothing
1973.06 s
[opt-env-conf-test] -- If there is a default command, also try completing within
1973.06 s
[opt-env-conf-test] -- the default command's parser, since that is what would run
1973.06 s
[opt-env-conf-test] -- if the user provides no command.
1973.06 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:378:19-31
1973.06 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1973.06 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1973.06 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1973.06 s
[opt-env-conf-test] -- command's completions.
1973.06 s
[opt-env-conf-test] - | a r gs AtE nd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1973.07 s
[opt-env-conf-test] + | T r ue -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1973.07 s
[opt-env-conf-test] | otherwise -> do
1973.07 s
[opt-env-conf-test] -- The default command consumed args, so its
1973.07 s
[opt-env-conf-test] -- completions are valid. But we must restore
1973.07 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:378:19-31
1973.07 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1973.07 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1973.07 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1973.07 s
[opt-env-conf-test] -- command's completions.
1973.07 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1973.07 s
[opt-env-conf-test] + | n o t ( argsAtEnd as ) -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1973.07 s
[opt-env-conf-test] | otherwise -> do
1973.07 s
[opt-env-conf-test] -- The default command consumed args, so its
1973.07 s
[opt-env-conf-test] -- completions are valid. But we must restore
1973.07 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:378:86-94
1973.07 s
[opt-env-conf-test] @@ -375,7 +375,7 @@
1973.07 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1973.07 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1973.07 s
[opt-env-conf-test] -- command's completions.
1973.07 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, J u s t dc s ]
1973.07 s
[opt-env-conf-test] + | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, No t h i ng ]
1973.07 s
[opt-env-conf-test] | otherwise -> do
1973.07 s
[opt-env-conf-test] -- The default command consumed args, so its
1973.07 s
[opt-env-conf-test] -- completions are valid. But we must restore
1973.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1973.07 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1973.07 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1973.07 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1973.07 s
[opt-env-conf-test] -- command's completions.
1973.07 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1973.07 s
[opt-env-conf-test] | otherwise -> do
1973.07 s
[opt-env-conf-test] -- The default command consumed args, so its
1973.07 s
[opt-env-conf-test] -- completions are valid. But we must restore
1973.07 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:378:57-95
1973.07 s
[opt-env-conf-test] @@ -375,7 +375,6 @@
1973.07 s
[opt-env-conf-test] -- If no args were consumed (we were already at end),
1973.08 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1973.08 s
[opt-env-conf-test] -- command's completions.
1973.08 s
[opt-env-conf-test] - | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1973.08 s
[opt-env-conf-test] | otherwise -> do
1973.08 s
[opt-env-conf-test] -- The default command consumed args, so its
1973.08 s
[opt-env-conf-test] -- completions are valid. But we must restore
1973.08 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:388:28-36
1973.08 s
[opt-env-conf-test] @@ -385,7 +385,7 @@
1973.08 s
[opt-env-conf-test] -- --archive-dir that the default command
1973.08 s
[opt-env-conf-test] -- swallowed as a positional argument.
1973.08 s
[opt-env-conf-test] put as
1973.08 s
[opt-env-conf-test] - pure $ J u s t dc s
1973.08 s
[opt-env-conf-test] + pure $ No t h i ng
1973.08 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1973.08 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1973.08 s
[opt-env-conf-test] let completionDescription = settingHelp
1973.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:84:3-26
1973.08 s
[opt-env-conf-test] @@ -81,27 +81,8 @@
1973.08 s
[opt-env-conf-test] Nothing -> pure result
1973.08 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
1973.08 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
1973.08 s
[opt-env-conf-test] case mTup of
1973.08 s
[opt-env-conf-test] Nothing -> error "TODO figure out when this list can be empty"
1973.08 s
[opt-env-conf-test] - Just ((errOrRes, _), nexts) -> case errOrRes of
1973.08 s
[opt-env-conf-test] - Success a -> pure (Right a)
1973.08 s
[opt-env-conf-test] - Failure firstErrors ->
1973.08 s
[opt-env-conf-test] - let goNexts ns = do
1973.08 s
[opt-env-conf-test] - -- TODO: Consider keeping around all errors?
1973.08 s
[opt-env-conf-test] - mNext <- runNonDetTLazy ns
1973.08 s
[opt-env-conf-test] - case mNext of
1973.08 s
[opt-env-conf-test] - Nothing ->
1973.08 s
[opt-env-conf-test] - pure $
1973.08 s
[opt-env-conf-test] - Left $
1973.08 s
[opt-env-conf-test] - -- Only show source locations in debug mode.
1973.08 s
[opt-env-conf-test] - let f = case mDebugMode of
1973.08 s
[opt-env-conf-test] - Nothing -> eraseErrorSrcLocs
1973.08 s
[opt-env-conf-test] - Just _ -> id
1973.08 s
[opt-env-conf-test] - in f firstErrors
1973.08 s
[opt-env-conf-test] - Just ((eOR, _), ns') -> case eOR of
1973.08 s
[opt-env-conf-test] - Success a -> pure (Right a)
1973.08 s
[opt-env-conf-test] - Failure _ -> goNexts ns'
1973.08 s
[opt-env-conf-test] - in goNexts nexts
1973.08 s
[opt-env-conf-test] where
1973.08 s
[opt-env-conf-test] go ::
1973.08 s
[opt-env-conf-test] Parser a ->
1973.08 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:379:32-36
1973.08 s
[opt-env-conf-test] @@ -376,16 +376,15 @@
1973.08 s
[opt-env-conf-test] -- combine the explicit command listing with the default
1973.09 s
[opt-env-conf-test] -- command's completions.
1973.09 s
[opt-env-conf-test] | argsAtEnd as -> pure $ combineOptions [explicitCommandCompletions, Just dcs]
1973.09 s
[opt-env-conf-test] | otherwise -> do
1973.09 s
[opt-env-conf-test] -- The default command consumed args, so its
1973.09 s
[opt-env-conf-test] -- completions are valid. But we must restore
1973.09 s
[opt-env-conf-test] -- the state: the consumed args may also be
1973.09 s
[opt-env-conf-test] -- intended for sibling parsers in an
1973.09 s
[opt-env-conf-test] -- applicative (<*>), e.g. an option like
1973.09 s
[opt-env-conf-test] -- --archive-dir that the default command
1973.09 s
[opt-env-conf-test] -- swallowed as a positional argument.
1973.09 s
[opt-env-conf-test] - put as
1973.09 s
[opt-env-conf-test] pure $ Just dcs
1973.09 s
[opt-env-conf-test] ParserSetting _ Setting {..} -> do
1973.09 s
[opt-env-conf-test] let arg = fromMaybe "" mCursorArg
1973.09 s
[opt-env-conf-test] let completionDescription = settingHelp
1977.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:219:15-39
1977.08 s
[opt-env-conf-test] @@ -216,11 +216,8 @@
1977.08 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1977.08 s
[opt-env-conf-test] go $ commandParser dc
1977.08 s
[opt-env-conf-test] Just s -> do
1977.08 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1977.08 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1977.08 s
[opt-env-conf-test] - Just c -> do
1977.08 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1977.08 s
[opt-env-conf-test] - go $ commandParser c
1977.09 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.09 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.09 s
[opt-env-conf-test] ppIndent $ do
1977.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
1977.09 s
[opt-env-conf-test] @@ -222,7 +222,6 @@
1977.09 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1977.09 s
[opt-env-conf-test] go $ commandParser c
1977.09 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.09 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.09 s
[opt-env-conf-test] ppIndent $ do
1977.09 s
[opt-env-conf-test] debug ["loading config"]
1977.09 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1977.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:219:15-39
1977.09 s
[opt-env-conf-test] @@ -216,11 +216,10 @@
1977.09 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1977.09 s
[opt-env-conf-test] go $ commandParser dc
1977.09 s
[opt-env-conf-test] Just s -> do
1977.09 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1977.09 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1977.09 s
[opt-env-conf-test] Just c -> do
1977.09 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1977.09 s
[opt-env-conf-test] go $ commandParser c
1977.09 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.09 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.09 s
[opt-env-conf-test] ppIndent $ do
1977.09 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
1977.09 s
[opt-env-conf-test] @@ -219,7 +219,6 @@
1977.09 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1977.09 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1977.09 s
[opt-env-conf-test] Just c -> do
1977.09 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1977.09 s
[opt-env-conf-test] go $ commandParser c
1977.09 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.09 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.09 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:207:11-39
1977.09 s
[opt-env-conf-test] @@ -204,23 +204,17 @@
1977.09 s
[opt-env-conf-test] ppIndent $ do
1977.09 s
[opt-env-conf-test] mS <- ppArg
1977.09 s
[opt-env-conf-test] let docsForErrors = map (void . commandParserDocs) cs
1977.09 s
[opt-env-conf-test] case mS of
1977.09 s
[opt-env-conf-test] Nothing -> do
1977.09 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
1977.09 s
[opt-env-conf-test] let mDefaultCommand = do
1977.09 s
[opt-env-conf-test] d <- mDefault
1977.09 s
[opt-env-conf-test] find ((== d) . commandArg) cs
1977.10 s
[opt-env-conf-test] case mDefaultCommand of
1977.10 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1977.10 s
[opt-env-conf-test] Just dc -> do
1977.10 s
[opt-env-conf-test] debug ["Choosing default command: ", commandChunk (commandArg dc)]
1977.10 s
[opt-env-conf-test] go $ commandParser dc
1977.10 s
[opt-env-conf-test] - Just s -> do
1977.10 s
[opt-env-conf-test] - case find ((== s) . commandArg) cs of
1977.10 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1977.10 s
[opt-env-conf-test] - Just c -> do
1977.10 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1977.10 s
[opt-env-conf-test] - go $ commandParser c
1977.10 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.10 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.10 s
[opt-env-conf-test] ppIndent $ do
1977.10 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:221:27-39
1977.10 s
[opt-env-conf-test] @@ -218,9 +218,8 @@
1977.10 s
[opt-env-conf-test] Just s -> do
1977.10 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1977.10 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1977.10 s
[opt-env-conf-test] Just c -> do
1977.10 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1977.10 s
[opt-env-conf-test] go $ commandParser c
1977.10 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.10 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.10 s
[opt-env-conf-test] ppIndent $ do
1977.10 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:207:11-39
1977.10 s
[opt-env-conf-test] @@ -204,23 +204,13 @@
1977.10 s
[opt-env-conf-test] ppIndent $ do
1977.10 s
[opt-env-conf-test] mS <- ppArg
1977.10 s
[opt-env-conf-test] let docsForErrors = map (void . commandParserDocs) cs
1977.10 s
[opt-env-conf-test] case mS of
1977.10 s
[opt-env-conf-test] - Nothing -> do
1977.10 s
[opt-env-conf-test] - debug ["No argument found for choosing a command."]
1977.10 s
[opt-env-conf-test] - let mDefaultCommand = do
1977.10 s
[opt-env-conf-test] - d <- mDefault
1977.10 s
[opt-env-conf-test] - find ((== d) . commandArg) cs
1977.10 s
[opt-env-conf-test] - case mDefaultCommand of
1977.10 s
[opt-env-conf-test] - Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
1977.10 s
[opt-env-conf-test] - Just dc -> do
1977.10 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
1977.10 s
[opt-env-conf-test] - go $ commandParser dc
1977.10 s
[opt-env-conf-test] Just s -> do
1977.10 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1977.10 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1977.10 s
[opt-env-conf-test] Just c -> do
1977.10 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1977.10 s
[opt-env-conf-test] go $ commandParser c
1977.10 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.10 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.10 s
[opt-env-conf-test] ppIndent $ do
1977.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:222:25-73
1977.10 s
[opt-env-conf-test] @@ -219,7 +219,6 @@
1977.10 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
1977.10 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
1977.10 s
[opt-env-conf-test] Just c -> do
1977.10 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
1977.10 s
[opt-env-conf-test] go $ commandParser c
1977.10 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.10 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.10 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:225:15-66
1977.11 s
[opt-env-conf-test] @@ -222,7 +222,6 @@
1977.11 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
1977.11 s
[opt-env-conf-test] go $ commandParser c
1977.11 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
1977.11 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
1977.11 s
[opt-env-conf-test] ppIndent $ do
1977.11 s
[opt-env-conf-test] debug ["loading config"]
1977.11 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
1977.11 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
1977.11 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
1977.11 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1977.11 s
[opt-env-conf-test] pure (a : as)
1977.11 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1977.11 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1977.11 s
[opt-env-conf-test] ppIndent $ do
1977.11 s
[opt-env-conf-test] a <- go p'
1977.11 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1977.11 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:143:29-25
1977.11 s
[opt-env-conf-test] @@ -140,13 +140,12 @@
1977.11 s
[opt-env-conf-test] Just a -> do
1977.11 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1977.11 s
[opt-env-conf-test] pure (a : as)
1977.11 s
[opt-env-conf-test] ParserSome mLoc p' -> do
1977.11 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
1977.11 s
[opt-env-conf-test] ppIndent $ do
1977.11 s
[opt-env-conf-test] a <- go p'
1977.11 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
1977.11 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
1977.11 s
[opt-env-conf-test] pure (a :| as)
1977.11 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
1977.11 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
1977.11 s
[opt-env-conf-test] ppIndent $ do
1977.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1977.11 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1977.11 s
[opt-env-conf-test] pure Completion {..}
1977.11 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1977.11 s
[opt-env-conf-test] as <- get
1977.11 s
[opt-env-conf-test] - if a r gs AtE nd as then completeWithCompleter else pure $ Just []
1977.11 s
[opt-env-conf-test] + if T r ue then completeWithCompleter else pure $ Just []
1977.11 s
[opt-env-conf-test] let completeWithDasheds = do
1977.11 s
[opt-env-conf-test] let isLong = \case
1977.11 s
[opt-env-conf-test] DashedLong _ -> True
1977.11 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:398:18-30
1977.11 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1977.11 s
[opt-env-conf-test] pure Completion {..}
1977.11 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1977.11 s
[opt-env-conf-test] as <- get
1977.11 s
[opt-env-conf-test] - if a r g s A t End a s then completeWithCompleter else pure $ Just []
1984.14 s
[opt-env-conf-test] + if F a l s e then completeWithCompleter else pure $ Just []
1984.16 s
[opt-env-conf-test] let completeWithDasheds = do
1984.16 s
[opt-env-conf-test] let isLong = \case
1984.16 s
[opt-env-conf-test] DashedLong _ -> True
1984.16 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:398:18-30
1984.16 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1984.16 s
[opt-env-conf-test] pure Completion {..}
1984.16 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1984.16 s
[opt-env-conf-test] as <- get
1984.16 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ Just []
1984.16 s
[opt-env-conf-test] + if n o t ( argsAtEnd as ) then completeWithCompleter else pure $ Just []
1984.16 s
[opt-env-conf-test] let completeWithDasheds = do
1984.16 s
[opt-env-conf-test] let isLong = \case
1984.16 s
[opt-env-conf-test] DashedLong _ -> True
1984.17 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
1984.17 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
1984.17 s
[opt-env-conf-test] pure Completion {..}
1984.17 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
1984.17 s
[opt-env-conf-test] as <- get
1984.17 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
1984.17 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
1984.17 s
[opt-env-conf-test] let completeWithDasheds = do
1984.17 s
[opt-env-conf-test] let isLong = \case
1984.17 s
[opt-env-conf-test] DashedLong _ -> True
1984.17 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:401:37-41
1984.17 s
[opt-env-conf-test] @@ -398,7 +398,7 @@
1984.17 s
[opt-env-conf-test] if argsAtEnd as then completeWithCompleter else pure $ Just []
1984.17 s
[opt-env-conf-test] let completeWithDasheds = do
1984.17 s
[opt-env-conf-test] let isLong = \case
1984.17 s
[opt-env-conf-test] - DashedLong _ -> Tr u e
1984.17 s
[opt-env-conf-test] + DashedLong _ -> F a ls e
1984.17 s
[opt-env-conf-test] DashedShort _ -> False
1984.17 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1984.17 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1984.17 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Completion.hs:402:38-43
1984.17 s
[opt-env-conf-test] @@ -399,7 +399,7 @@
1984.17 s
[opt-env-conf-test] let completeWithDasheds = do
1984.18 s
[opt-env-conf-test] let isLong = \case
1984.18 s
[opt-env-conf-test] DashedLong _ -> True
1984.18 s
[opt-env-conf-test] - DashedShort _ -> F al s e
1984.18 s
[opt-env-conf-test] + DashedShort _ -> T ru e
1984.18 s
[opt-env-conf-test] let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1984.18 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1984.18 s
[opt-env-conf-test] let completions =
1984.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1984.18 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1984.18 s
[opt-env-conf-test] let isLong = \case
1984.18 s
[opt-env-conf-test] DashedLong _ -> True
1984.18 s
[opt-env-conf-test] DashedShort _ -> False
1984.18 s
[opt-env-conf-test] - let favorableDasheds = if a ny is Long s e t ti ngD ash ed s then filter isLong settingDasheds else settingDasheds
1984.18 s
[opt-env-conf-test] + let favorableDasheds = if Tru e then filter isLong settingDasheds else settingDasheds
1984.18 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1984.18 s
[opt-env-conf-test] let completions =
1984.18 s
[opt-env-conf-test] map
1984.18 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:403:41-66
1984.18 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1984.18 s
[opt-env-conf-test] let isLong = \case
1984.18 s
[opt-env-conf-test] DashedLong _ -> True
1984.18 s
[opt-env-conf-test] DashedShort _ -> False
1984.18 s
[opt-env-conf-test] - let favorableDasheds = if a n y i sLo ng s etting D a s h e d s then filter isLong settingDasheds else settingDasheds
1984.18 s
[opt-env-conf-test] + let favorableDasheds = if F a l s e then filter isLong settingDasheds else settingDasheds
1984.18 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1984.18 s
[opt-env-conf-test] let completions =
1984.18 s
[opt-env-conf-test] map
1984.18 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:403:41-66
1984.18 s
[opt-env-conf-test] @@ -400,7 +400,7 @@
1984.18 s
[opt-env-conf-test] let isLong = \case
1984.18 s
[opt-env-conf-test] DashedLong _ -> True
1984.19 s
[opt-env-conf-test] DashedShort _ -> False
1984.19 s
[opt-env-conf-test] - let favorableDasheds = if any isLong settingDasheds then filter isLong settingDasheds else settingDasheds
1984.19 s
[opt-env-conf-test] + let favorableDasheds = if n o t ( any isLong settingDasheds ) then filter isLong settingDasheds else settingDasheds
1984.19 s
[opt-env-conf-test] let suggestions = filter (arg `isPrefixOf`) (map Args.renderDashed favorableDasheds)
1984.19 s
[opt-env-conf-test] let completions =
1984.19 s
[opt-env-conf-test] map
1984.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1984.19 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1984.19 s
[opt-env-conf-test] )
1984.19 s
[opt-env-conf-test] suggestions
1984.19 s
[opt-env-conf-test] pure $ Just completions
1984.19 s
[opt-env-conf-test] - if s e ttin gHidden
1984.19 s
[opt-env-conf-test] + if T ru e
1984.19 s
[opt-env-conf-test] then pure $ Just []
1984.19 s
[opt-env-conf-test] else do
1984.19 s
[opt-env-conf-test] as <- get
1984.19 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:414:12-25
1984.19 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1984.19 s
[opt-env-conf-test] )
1984.19 s
[opt-env-conf-test] suggestions
1984.19 s
[opt-env-conf-test] pure $ Just completions
1984.19 s
[opt-env-conf-test] - if s e tti ngHi dd e n
1984.19 s
[opt-env-conf-test] + if F a l s e
1984.19 s
[opt-env-conf-test] then pure $ Just []
1984.19 s
[opt-env-conf-test] else do
1984.19 s
[opt-env-conf-test] as <- get
1984.19 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:414:12-25
1984.19 s
[opt-env-conf-test] @@ -411,7 +411,7 @@
1984.19 s
[opt-env-conf-test] )
1984.19 s
[opt-env-conf-test] suggestions
1984.19 s
[opt-env-conf-test] pure $ Just completions
1984.19 s
[opt-env-conf-test] - if settingHidden
1984.20 s
[opt-env-conf-test] + if n o t ( settingHidden )
1984.20 s
[opt-env-conf-test] then pure $ Just []
1984.20 s
[opt-env-conf-test] else do
1984.20 s
[opt-env-conf-test] as <- get
1984.20 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:415:23-30
1984.20 s
[opt-env-conf-test] @@ -412,7 +412,7 @@
1984.20 s
[opt-env-conf-test] suggestions
1984.20 s
[opt-env-conf-test] pure $ Just completions
1984.20 s
[opt-env-conf-test] if settingHidden
1984.20 s
[opt-env-conf-test] - then pure $ J u s t [ ]
1984.20 s
[opt-env-conf-test] + then pure $ No t h ing
1984.20 s
[opt-env-conf-test] else do
1984.20 s
[opt-env-conf-test] as <- get
1984.20 s
[opt-env-conf-test] if settingTryArgument
1984.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1984.20 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1984.20 s
[opt-env-conf-test] then pure $ Just []
1984.20 s
[opt-env-conf-test] else do
1984.20 s
[opt-env-conf-test] as <- get
1984.20 s
[opt-env-conf-test] - if s e tt ing T ry A r g u m e n t
1984.20 s
[opt-env-conf-test] + if T r u e
1984.20 s
[opt-env-conf-test] then do
1984.20 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1984.20 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1984.20 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:413:22-38
1984.20 s
[opt-env-conf-test] @@ -410,7 +410,7 @@
1984.20 s
[opt-env-conf-test] . SuggestionBare
1984.20 s
[opt-env-conf-test] )
1984.20 s
[opt-env-conf-test] suggestions
1984.20 s
[opt-env-conf-test] - pure $ J us t c o m pl e t i o n s
1984.20 s
[opt-env-conf-test] + pure $ N o t h i n g
1984.20 s
[opt-env-conf-test] if settingHidden
1984.20 s
[opt-env-conf-test] then pure $ Just []
1984.20 s
[opt-env-conf-test] else do
1984.20 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
1984.20 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
1984.20 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
1984.20 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
1990.79 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
1990.81 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
1990.81 s
[opt-env-conf-test] - (Nothing, _) -> o2
1990.81 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
1990.81 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
1990.81 s
[opt-env-conf-test]
1990.81 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
1990.82 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
1990.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:127:11-31
1990.82 s
[opt-env-conf-test] @@ -124,13 +124,10 @@
1990.82 s
[opt-env-conf-test] ppIndent $ do
1990.82 s
[opt-env-conf-test] debug ["Trying left side."]
1990.82 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
1990.82 s
[opt-env-conf-test] case eor of
1990.82 s
[opt-env-conf-test] Just a -> do
1990.82 s
[opt-env-conf-test] debug ["Left side succeeded."]
1990.82 s
[opt-env-conf-test] pure a
1990.82 s
[opt-env-conf-test] - Nothing -> do
1990.82 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
1990.82 s
[opt-env-conf-test] - ppIndent $ go p2
1990.82 s
[opt-env-conf-test] ParserMany mLoc p' -> do
1990.82 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
1990.82 s
[opt-env-conf-test] ppIndent $ do
1990.82 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:418:16-34
1990.82 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1990.82 s
[opt-env-conf-test] then pure $ Just []
1990.82 s
[opt-env-conf-test] else do
1990.82 s
[opt-env-conf-test] as <- get
1990.82 s
[opt-env-conf-test] - if se tt ingTr yArgument
1990.82 s
[opt-env-conf-test] + if F a l se
1990.82 s
[opt-env-conf-test] then do
1990.82 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1990.82 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1990.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:101:41-43
1990.82 s
[opt-env-conf-test] @@ -98,9 +98,8 @@
1990.82 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
1990.82 s
[opt-env-conf-test] Just _ -> id
1990.82 s
[opt-env-conf-test] in f firstErrors
1990.82 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
1990.82 s
[opt-env-conf-test] - Success a -> pure (Right a)
1990.82 s
[opt-env-conf-test] Failure _ -> goNexts ns'
1990.82 s
[opt-env-conf-test] in goNexts nexts
1990.82 s
[opt-env-conf-test] where
1990.82 s
[opt-env-conf-test] go ::
1990.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1990.82 s
[opt-env-conf-test] @@ -432,11 +432,8 @@
1990.82 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1990.82 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1990.82 s
[opt-env-conf-test] -- completer if we are at the end.
1990.82 s
[opt-env-conf-test] case possibilities of
1990.82 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
1990.82 s
[opt-env-conf-test] - (_, as') : _ -> do
1990.82 s
[opt-env-conf-test] - put as'
1990.82 s
[opt-env-conf-test] - completeWithCompleterAtEnd
1990.82 s
[opt-env-conf-test] else
1990.82 s
[opt-env-conf-test] if isJust settingSwitchValue
1990.82 s
[opt-env-conf-test] then do
1990.82 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
1990.82 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
1990.82 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
1990.82 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
1990.82 s
[opt-env-conf-test] -- completer if we are at the end.
1990.82 s
[opt-env-conf-test] case possibilities of
1990.82 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
1990.82 s
[opt-env-conf-test] (_, as') : _ -> do
1990.82 s
[opt-env-conf-test] put as'
1990.82 s
[opt-env-conf-test] completeWithCompleterAtEnd
1990.82 s
[opt-env-conf-test] else
1990.82 s
[opt-env-conf-test] if isJust settingSwitchValue
1990.82 s
[opt-env-conf-test] then do
1990.82 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:428:28-35
1990.82 s
[opt-env-conf-test] @@ -425,7 +425,7 @@
1990.82 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
1990.82 s
[opt-env-conf-test] (_, as') : _ -> do
1990.82 s
[opt-env-conf-test] put as'
1990.82 s
[opt-env-conf-test] - pure $ J u s t [ ]
1990.83 s
[opt-env-conf-test] + pure $ No t h ing
1990.83 s
[opt-env-conf-test] [] ->
1990.83 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
1990.83 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
1990.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1990.83 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1990.83 s
[opt-env-conf-test] put as'
1990.83 s
[opt-env-conf-test] completeWithCompleterAtEnd
1990.83 s
[opt-env-conf-test] else
1990.83 s
[opt-env-conf-test] - if i s J u s t s e t tin gSwitchValue
1990.83 s
[opt-env-conf-test] + if Tr u e
1990.83 s
[opt-env-conf-test] then do
1990.83 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1990.83 s
[opt-env-conf-test] -- it's already been parsed.
1990.83 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:418:16-34
1990.83 s
[opt-env-conf-test] @@ -415,7 +415,7 @@
1990.83 s
[opt-env-conf-test] then pure $ Just []
1990.83 s
[opt-env-conf-test] else do
1990.83 s
[opt-env-conf-test] as <- get
1990.83 s
[opt-env-conf-test] - if settingTryArgument
1990.83 s
[opt-env-conf-test] + if n o t ( settingTryArgument )
1990.83 s
[opt-env-conf-test] then do
1990.83 s
[opt-env-conf-test] let possibilities = Args.consumeArgument as
1990.83 s
[opt-env-conf-test] -- Try all possible consumptions of the argument.
1990.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:441:20-45
1990.83 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
1990.83 s
[opt-env-conf-test] put as'
1990.83 s
[opt-env-conf-test] completeWithCompleterAtEnd
1990.83 s
[opt-env-conf-test] else
1990.83 s
[opt-env-conf-test] - if i s Jus t s e tti ngSwit chV al u e
1990.83 s
[opt-env-conf-test] + if F al s e
1990.83 s
[opt-env-conf-test] then do
1990.83 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
1990.83 s
[opt-env-conf-test] -- it's already been parsed.
1990.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1990.83 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1990.83 s
[opt-env-conf-test] put as'
1990.83 s
[opt-env-conf-test] pure $ Just []
1990.83 s
[opt-env-conf-test] else do
1990.83 s
[opt-env-conf-test] - if se tt ingT ryOption
1990.83 s
[opt-env-conf-test] + if F a l se
1990.83 s
[opt-env-conf-test] then do
1990.83 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1990.83 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1990.83 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:453:24-40
1990.83 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1990.83 s
[opt-env-conf-test] put as'
1990.83 s
[opt-env-conf-test] pure $ Just []
1990.83 s
[opt-env-conf-test] else do
1990.83 s
[opt-env-conf-test] - if settingTryOption
1990.83 s
[opt-env-conf-test] + if n o t ( settingTryOption )
1990.83 s
[opt-env-conf-test] then do
1990.83 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1990.83 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1990.83 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:453:24-40
1990.83 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
1990.83 s
[opt-env-conf-test] put as'
1990.83 s
[opt-env-conf-test] pure $ Just []
1990.83 s
[opt-env-conf-test] else do
1990.83 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
1990.83 s
[opt-env-conf-test] + if Tr ue
1990.83 s
[opt-env-conf-test] then do
1990.83 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
1990.83 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1990.83 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:459:36-43
1990.83 s
[opt-env-conf-test] @@ -456,7 +456,7 @@
1990.83 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
1990.83 s
[opt-env-conf-test] Just (_, as') -> do
1990.83 s
[opt-env-conf-test] put as'
1990.83 s
[opt-env-conf-test] - pure $ J u s t [ ]
1990.83 s
[opt-env-conf-test] + pure $ No t h ing
1990.83 s
[opt-env-conf-test] Nothing -> do
1990.83 s
[opt-env-conf-test] if argsAtEnd as
1990.83 s
[opt-env-conf-test] then completeWithDasheds
1990.83 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:461:32-44
1990.83 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
1990.83 s
[opt-env-conf-test] put as'
1990.83 s
[opt-env-conf-test] pure $ Just []
1990.83 s
[opt-env-conf-test] Nothing -> do
1990.83 s
[opt-env-conf-test] - if argsAtEnd as
1991.58 s
[opt-env-conf-test] + if n o t ( argsAtEnd as )
1991.58 s
[opt-env-conf-test] then completeWithDasheds
1991.58 s
[opt-env-conf-test] else do
1991.58 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
1991.59 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:449:35-39
1991.59 s
[opt-env-conf-test] @@ -446,9 +446,8 @@
1991.59 s
[opt-env-conf-test] Nothing ->
1991.59 s
[opt-env-conf-test] -- A switch can be anywhere, doesn't need to be at the end.
1991.59 s
[opt-env-conf-test] completeWithDasheds
1991.59 s
[opt-env-conf-test] Just as' -> do
1991.59 s
[opt-env-conf-test] - put as'
1991.59 s
[opt-env-conf-test] pure $ Just []
1991.59 s
[opt-env-conf-test] else do
1991.59 s
[opt-env-conf-test] if settingTryOption
1991.59 s
[opt-env-conf-test] then do
1991.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1991.59 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1991.59 s
[opt-env-conf-test] map
1991.59 s
[opt-env-conf-test] ( \Completion {..} ->
1991.59 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.59 s
[opt-env-conf-test] - notFinal = c om plet ionR es u lt Finality comp l e t io nSuggestion == CompletionNotFinal
1991.59 s
[opt-env-conf-test] + notFinal = T r u e
1991.59 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1991.59 s
[opt-env-conf-test] (False, Nothing) -> val
1991.59 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:178:32-99
1991.59 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1991.59 s
[opt-env-conf-test] map
1991.59 s
[opt-env-conf-test] ( \Completion {..} ->
1991.59 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.59 s
[opt-env-conf-test] - notFinal = c o mp leti onResult F in al it y co mpletio nSug ge s ti on == Co mp l e t ionN otFinal
1991.59 s
[opt-env-conf-test] + notFinal = F al s e
1991.59 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1991.59 s
[opt-env-conf-test] (False, Nothing) -> val
1991.59 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.59 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:178:32-99
1991.59 s
[opt-env-conf-test] @@ -175,7 +175,7 @@
1991.59 s
[opt-env-conf-test] map
1991.59 s
[opt-env-conf-test] ( \Completion {..} ->
1991.59 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.59 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.59 s
[opt-env-conf-test] + notFinal = n o t ( completionResultFinality completionSuggestion == CompletionNotFinal )
1991.59 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1991.59 s
[opt-env-conf-test] (False, Nothing) -> val
1991.59 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.59 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1991.59 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1991.59 s
[opt-env-conf-test] ( \Completion {..} ->
1991.59 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.59 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.59 s
[opt-env-conf-test] - in case ( n o t Fin a l , completionDescription) of
1991.60 s
[opt-env-conf-test] + in case ( T ru e , completionDescription) of
1991.60 s
[opt-env-conf-test] (False, Nothing) -> val
1991.60 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.60 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1991.60 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:179:27-35
1991.60 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1991.60 s
[opt-env-conf-test] ( \Completion {..} ->
1991.60 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.60 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.60 s
[opt-env-conf-test] - in case ( n o t F i n al , completionDescription) of
1991.60 s
[opt-env-conf-test] + in case ( F al s e , completionDescription) of
1991.60 s
[opt-env-conf-test] (False, Nothing) -> val
1991.60 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.60 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1991.60 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:179:27-35
1991.60 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
1991.60 s
[opt-env-conf-test] ( \Completion {..} ->
1991.60 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.60 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.60 s
[opt-env-conf-test] - in case (notFinal , completionDescription) of
1991.60 s
[opt-env-conf-test] + in case ( n ot (notFinal ) , completionDescription) of
1991.60 s
[opt-env-conf-test] (False, Nothing) -> val
1991.60 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.60 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1991.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1991.60 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1991.60 s
[opt-env-conf-test] ( \Completion {..} ->
1991.60 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.60 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.60 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1991.60 s
[opt-env-conf-test] - (False, Nothing) -> val
1991.60 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.60 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1991.60 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1991.60 s
[opt-env-conf-test] )
1991.60 s
[opt-env-conf-test] evaluatedCompletions
1991.60 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1991.60 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1991.60 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1991.60 s
[opt-env-conf-test] ( \Completion {..} ->
1991.60 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.61 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.61 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1991.61 s
[opt-env-conf-test] (False, Nothing) -> val
1991.61 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1991.61 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1991.61 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1991.61 s
[opt-env-conf-test] )
1991.61 s
[opt-env-conf-test] evaluatedCompletions
1991.61 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1991.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1991.61 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1991.61 s
[opt-env-conf-test] ( \Completion {..} ->
1991.61 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.61 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.61 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1991.61 s
[opt-env-conf-test] (False, Nothing) -> val
1991.61 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.61 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1991.61 s
[opt-env-conf-test] (True, Just d) -> val <> "\t" <> d <> "\tN"
1991.61 s
[opt-env-conf-test] )
1991.61 s
[opt-env-conf-test] evaluatedCompletions
1991.61 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1991.61 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Completion.hs:179:21-66
1991.61 s
[opt-env-conf-test] @@ -176,11 +176,10 @@
1991.61 s
[opt-env-conf-test] ( \Completion {..} ->
1991.61 s
[opt-env-conf-test] let val = completionResultValue completionSuggestion
1991.61 s
[opt-env-conf-test] notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1991.61 s
[opt-env-conf-test] in case (notFinal, completionDescription) of
1991.61 s
[opt-env-conf-test] (False, Nothing) -> val
1991.61 s
[opt-env-conf-test] (False, Just d) -> val <> "\t" <> d
1991.61 s
[opt-env-conf-test] (True, Nothing) -> val <> "\t\tN"
1991.61 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1991.61 s
[opt-env-conf-test] )
1991.61 s
[opt-env-conf-test] evaluatedCompletions
1991.61 s
[opt-env-conf-test] else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1991.61 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:171:3-100
1991.61 s
[opt-env-conf-test] @@ -168,22 +168,6 @@
1991.61 s
[opt-env-conf-test] -- import System.IO
1995.12 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
1995.12 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
1995.12 s
[opt-env-conf-test] - if enriched
1995.12 s
[opt-env-conf-test] - then
1995.12 s
[opt-env-conf-test] - putStr $
1995.12 s
[opt-env-conf-test] - unlines $
1995.12 s
[opt-env-conf-test] - map
1995.12 s
[opt-env-conf-test] - ( \Completion {..} ->
1995.12 s
[opt-env-conf-test] - let val = completionResultValue completionSuggestion
1995.12 s
[opt-env-conf-test] - notFinal = completionResultFinality completionSuggestion == CompletionNotFinal
1995.12 s
[opt-env-conf-test] - in case (notFinal, completionDescription) of
1995.12 s
[opt-env-conf-test] - (False, Nothing) -> val
1995.12 s
[opt-env-conf-test] - (False, Just d) -> val <> "\t" <> d
1995.12 s
[opt-env-conf-test] - (True, Nothing) -> val <> "\t\tN"
1995.12 s
[opt-env-conf-test] - (True, Just d) -> val <> "\t" <> d <> "\tN"
1995.12 s
[opt-env-conf-test] - )
1995.12 s
[opt-env-conf-test] - evaluatedCompletions
1995.12 s
[opt-env-conf-test] - else putStr $ unlines $ map (completionResultValue . completionSuggestion) evaluatedCompletions
1995.12 s
[opt-env-conf-test] pure ()
1995.12 s
[opt-env-conf-test]
1995.12 s
[opt-env-conf-test] -- Because the first arg has already been skipped we get input like this here:
1995.12 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1995.12 s
[opt-env-conf-test] @@ -113,27 +113,7 @@
1995.12 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1995.12 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1995.12 s
[opt-env-conf-test] in unlines
1995.12 s
[opt-env-conf-test] - [ " function " ++ functionName,
1995.12 s
[opt-env-conf-test] - " set -l cl (commandline --tokenize --current-process)",
1995.12 s
[opt-env-conf-test] - " # Hack around fish issue #3934",
1995.12 s
[opt-env-conf-test] - " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1995.12 s
[opt-env-conf-test] - " set -l cn (count $cn)",
1995.12 s
[opt-env-conf-test] - " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1995.12 s
[opt-env-conf-test] - " for arg in $cl",
1995.12 s
[opt-env-conf-test] - " set tmpline $tmpline --completion-word $arg",
1995.12 s
[opt-env-conf-test] - " end",
1995.12 s
[opt-env-conf-test] - " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1995.12 s
[opt-env-conf-test] - " set -l val (string split \\t -- $opt)[1]",
1995.12 s
[opt-env-conf-test] - " if test -d $val",
1995.12 s
[opt-env-conf-test] - " echo -E \"$val/\"",
1995.12 s
[opt-env-conf-test] - " else",
1995.13 s
[opt-env-conf-test] - " echo -E \"$val\"",
1995.13 s
[opt-env-conf-test] - " end",
1995.13 s
[opt-env-conf-test] - " end",
1995.13 s
[opt-env-conf-test] - "end",
1995.13 s
[opt-env-conf-test] - "",
1995.13 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1995.13 s
[opt-env-conf-test] ]
1995.13 s
[opt-env-conf-test]
1995.13 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1995.13 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1995.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1995.13 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1995.13 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1995.13 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1995.13 s
[opt-env-conf-test] in unlines
1995.13 s
[opt-env-conf-test] - [ " function " ++ functionName,
1995.13 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1995.13 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1995.13 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1995.13 s
[opt-env-conf-test] " set -l cn (count $cn)",
1995.13 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1995.13 s
[opt-env-conf-test] " for arg in $cl",
1995.13 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1995.13 s
[opt-env-conf-test] " end",
1995.13 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1995.13 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1995.13 s
[opt-env-conf-test] " if test -d $val",
1995.13 s
[opt-env-conf-test] " echo -E \"$val/\"",
1995.13 s
[opt-env-conf-test] " else",
1995.13 s
[opt-env-conf-test] " echo -E \"$val\"",
1995.13 s
[opt-env-conf-test] " end",
1995.13 s
[opt-env-conf-test] " end",
1995.13 s
[opt-env-conf-test] "end",
1995.13 s
[opt-env-conf-test] "",
1995.13 s
[opt-env-conf-test] "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1995.13 s
[opt-env-conf-test] ]
1995.13 s
[opt-env-conf-test]
1995.13 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1995.13 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1995.13 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:116:9-10
1995.13 s
[opt-env-conf-test] @@ -113,27 +113,26 @@
1995.13 s
[opt-env-conf-test] fishCompletionScript progPath progname =
1995.13 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1995.13 s
[opt-env-conf-test] in unlines
1995.13 s
[opt-env-conf-test] [ " function " ++ functionName,
1995.13 s
[opt-env-conf-test] " set -l cl (commandline --tokenize --current-process)",
1995.13 s
[opt-env-conf-test] " # Hack around fish issue #3934",
1995.13 s
[opt-env-conf-test] " set -l cn (commandline --tokenize --cut-at-cursor --current-process)",
1995.13 s
[opt-env-conf-test] " set -l cn (count $cn)",
1995.14 s
[opt-env-conf-test] " set -l tmpline --query-opt-env-conf-completion --completion-enriched --completion-index $cn",
1995.14 s
[opt-env-conf-test] " for arg in $cl",
1995.14 s
[opt-env-conf-test] " set tmpline $tmpline --completion-word $arg",
1995.14 s
[opt-env-conf-test] " end",
1995.14 s
[opt-env-conf-test] " for opt in (" ++ fromAbsFile progPath ++ " $tmpline)",
1995.14 s
[opt-env-conf-test] " set -l val (string split \\t -- $opt)[1]",
1995.14 s
[opt-env-conf-test] " if test -d $val",
1995.14 s
[opt-env-conf-test] " echo -E \"$val/\"",
1995.14 s
[opt-env-conf-test] " else",
1995.14 s
[opt-env-conf-test] " echo -E \"$val\"",
1995.14 s
[opt-env-conf-test] " end",
1995.14 s
[opt-env-conf-test] " end",
1995.14 s
[opt-env-conf-test] "end",
1995.14 s
[opt-env-conf-test] "",
1995.14 s
[opt-env-conf-test] - "complete --no-files --command " ++ fromAbsFile progPath ++ " --arguments '(" ++ functionName ++ ")'"
1995.14 s
[opt-env-conf-test] ]
1995.14 s
[opt-env-conf-test]
1995.14 s
[opt-env-conf-test] -- This should be a name that a normal user would never want to define themselves.
1995.14 s
[opt-env-conf-test] progNameToFunctionName :: String -> String
1995.14 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1995.14 s
[opt-env-conf-test] @@ -64,46 +64,7 @@
1995.14 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1995.14 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1995.14 s
[opt-env-conf-test] unlines
1995.14 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1995.14 s
[opt-env-conf-test] - "",
1995.14 s
[opt-env-conf-test] - "local request",
1995.14 s
[opt-env-conf-test] - "local completions",
1995.14 s
[opt-env-conf-test] - "local word",
1995.14 s
[opt-env-conf-test] - "local index=$((CURRENT - 1))",
1995.14 s
[opt-env-conf-test] - "",
1995.14 s
[opt-env-conf-test] - "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1995.14 s
[opt-env-conf-test] - "for arg in ${words[@]}; do",
1995.14 s
[opt-env-conf-test] - " request=(${request[@]} --completion-word $arg)",
1995.14 s
[opt-env-conf-test] - "done",
1995.14 s
[opt-env-conf-test] - "",
1995.14 s
[opt-env-conf-test] - "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1995.14 s
[opt-env-conf-test] - "",
1995.14 s
[opt-env-conf-test] - "for word in $completions; do",
1995.14 s
[opt-env-conf-test] - " local -a parts",
1995.14 s
[opt-env-conf-test] - "",
1995.14 s
[opt-env-conf-test] - " # Split the line at a tab if there is one.",
1995.14 s
[opt-env-conf-test] - " IFS=$'\\t' parts=($( echo $word ))",
1995.14 s
[opt-env-conf-test] - "",
1995.14 s
[opt-env-conf-test] - " if [[ -n $parts[2] ]]; then",
1995.14 s
[opt-env-conf-test] - " if [[ $word[1] == \"-\" ]]; then",
1995.14 s
[opt-env-conf-test] - " local desc=(\"$parts[1] ($parts[2])\")",
1995.14 s
[opt-env-conf-test] - " compadd -d desc -- $parts[1]",
1995.14 s
[opt-env-conf-test] - " elif [[ $parts[3] == 'N' ]]; then",
1995.14 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1995.15 s
[opt-env-conf-test] - " compadd -f -l -S '' -d desc -- $parts[1]",
1995.15 s
[opt-env-conf-test] - " else",
1995.15 s
[opt-env-conf-test] - " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1995.15 s
[opt-env-conf-test] - " compadd -f -l -d desc -- $parts[1]",
1995.15 s
[opt-env-conf-test] - " fi",
1995.15 s
[opt-env-conf-test] - " else",
1995.15 s
[opt-env-conf-test] - " if [[ $parts[3] == 'N' ]]; then",
1995.15 s
[opt-env-conf-test] - " compadd -f -S '' -- $parts[1]",
1995.15 s
[opt-env-conf-test] - " else",
1995.15 s
[opt-env-conf-test] - " compadd -f -- $parts[1]",
1995.15 s
[opt-env-conf-test] - " fi",
1995.15 s
[opt-env-conf-test] - " fi",
1995.15 s
[opt-env-conf-test] - "done"
1995.15 s
[opt-env-conf-test] ]
1995.15 s
[opt-env-conf-test]
1995.15 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1997.34 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1997.34 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1997.42 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1997.42 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1997.42 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1997.42 s
[opt-env-conf-test] unlines
1997.42 s
[opt-env-conf-test] - [ "#compdef " ++ progname,
1997.42 s
[opt-env-conf-test] "",
1997.42 s
[opt-env-conf-test] "local request",
1997.42 s
[opt-env-conf-test] "local completions",
1997.42 s
[opt-env-conf-test] "local word",
1997.42 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1997.42 s
[opt-env-conf-test] "",
1997.42 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1997.42 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1997.42 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1997.42 s
[opt-env-conf-test] "done",
1997.42 s
[opt-env-conf-test] "",
1997.42 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] "for word in $completions; do",
1997.43 s
[opt-env-conf-test] " local -a parts",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1997.43 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1997.43 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1997.43 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1997.43 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1997.43 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1997.43 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1997.43 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1997.43 s
[opt-env-conf-test] " else",
1997.43 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1997.43 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1997.43 s
[opt-env-conf-test] " fi",
1997.43 s
[opt-env-conf-test] " else",
1997.43 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1997.43 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1997.43 s
[opt-env-conf-test] " else",
1997.43 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1997.43 s
[opt-env-conf-test] " fi",
1997.43 s
[opt-env-conf-test] " fi",
1997.43 s
[opt-env-conf-test] "done"
1997.43 s
[opt-env-conf-test] ]
1997.43 s
[opt-env-conf-test]
1997.43 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1997.43 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1997.43 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:67:5-6
1997.43 s
[opt-env-conf-test] @@ -64,46 +64,45 @@
1997.43 s
[opt-env-conf-test] zshCompletionScript :: Path Abs File -> String -> String
1997.43 s
[opt-env-conf-test] zshCompletionScript progPath progname =
1997.43 s
[opt-env-conf-test] unlines
1997.43 s
[opt-env-conf-test] [ "#compdef " ++ progname,
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] "local request",
1997.43 s
[opt-env-conf-test] "local completions",
1997.43 s
[opt-env-conf-test] "local word",
1997.43 s
[opt-env-conf-test] "local index=$((CURRENT - 1))",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] "request=(--query-opt-env-conf-completion --completion-enriched --completion-index $index)",
1997.43 s
[opt-env-conf-test] "for arg in ${words[@]}; do",
1997.43 s
[opt-env-conf-test] " request=(${request[@]} --completion-word $arg)",
1997.43 s
[opt-env-conf-test] "done",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] "IFS=$'\\n' completions=($( " ++ fromAbsFile progPath ++ " \"${request[@]}\" ))",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] "for word in $completions; do",
1997.43 s
[opt-env-conf-test] " local -a parts",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] " # Split the line at a tab if there is one.",
1997.43 s
[opt-env-conf-test] " IFS=$'\\t' parts=($( echo $word ))",
1997.43 s
[opt-env-conf-test] "",
1997.43 s
[opt-env-conf-test] " if [[ -n $parts[2] ]]; then",
1997.43 s
[opt-env-conf-test] " if [[ $word[1] == \"-\" ]]; then",
1997.43 s
[opt-env-conf-test] " local desc=(\"$parts[1] ($parts[2])\")",
1997.43 s
[opt-env-conf-test] " compadd -d desc -- $parts[1]",
1997.43 s
[opt-env-conf-test] " elif [[ $parts[3] == 'N' ]]; then",
1997.43 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1997.43 s
[opt-env-conf-test] " compadd -f -l -S '' -d desc -- $parts[1]",
1997.43 s
[opt-env-conf-test] " else",
1997.43 s
[opt-env-conf-test] " local desc=($(print -f \"%-019s -- %s\" $parts[1] $parts[2]))",
1997.43 s
[opt-env-conf-test] " compadd -f -l -d desc -- $parts[1]",
1997.43 s
[opt-env-conf-test] " fi",
1997.43 s
[opt-env-conf-test] " else",
1997.43 s
[opt-env-conf-test] " if [[ $parts[3] == 'N' ]]; then",
1997.43 s
[opt-env-conf-test] " compadd -f -S '' -- $parts[1]",
1997.44 s
[opt-env-conf-test] " else",
1997.44 s
[opt-env-conf-test] " compadd -f -- $parts[1]",
1997.44 s
[opt-env-conf-test] " fi",
1997.44 s
[opt-env-conf-test] " fi",
1997.44 s
[opt-env-conf-test] - "done"
1997.44 s
[opt-env-conf-test] ]
1997.44 s
[opt-env-conf-test]
1997.44 s
[opt-env-conf-test] generateFishCompletionScript :: Path Abs File -> String -> IO ()
1997.44 s
[opt-env-conf-test] generateFishCompletionScript progPath progname = putStrLn $ fishCompletionScript progPath progname
1997.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1997.44 s
[opt-env-conf-test] @@ -40,22 +40,7 @@
1997.44 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1997.44 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1997.44 s
[opt-env-conf-test] in unlines
1997.44 s
[opt-env-conf-test] - [ functionName ++ "()",
1997.44 s
[opt-env-conf-test] - "{",
1997.44 s
[opt-env-conf-test] - " local CMDLINE",
1997.44 s
[opt-env-conf-test] - " local IFS=$'\\n'",
1997.44 s
[opt-env-conf-test] - " CMDLINE=(--query-opt-env-conf-completion)",
1997.44 s
[opt-env-conf-test] - " CMDLINE+=(--completion-index $COMP_CWORD)",
1997.44 s
[opt-env-conf-test] - "",
1997.44 s
[opt-env-conf-test] - " for arg in ${COMP_WORDS[@]}; do",
1997.44 s
[opt-env-conf-test] - " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1997.44 s
[opt-env-conf-test] - " done",
1997.44 s
[opt-env-conf-test] - "",
1997.44 s
[opt-env-conf-test] - " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1997.44 s
[opt-env-conf-test] - "}",
1997.44 s
[opt-env-conf-test] - "",
1997.44 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1997.44 s
[opt-env-conf-test] ]
1997.44 s
[opt-env-conf-test]
1997.44 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1997.44 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1997.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1997.44 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1997.44 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1997.44 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1997.44 s
[opt-env-conf-test] in unlines
1997.44 s
[opt-env-conf-test] - [ functionName ++ "()",
1997.44 s
[opt-env-conf-test] "{",
1997.44 s
[opt-env-conf-test] " local CMDLINE",
1997.44 s
[opt-env-conf-test] " local IFS=$'\\n'",
1997.44 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1997.44 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1997.44 s
[opt-env-conf-test] "",
1997.44 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1997.44 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1997.44 s
[opt-env-conf-test] " done",
1997.44 s
[opt-env-conf-test] "",
1997.44 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1997.44 s
[opt-env-conf-test] "}",
1997.44 s
[opt-env-conf-test] "",
1997.44 s
[opt-env-conf-test] "complete -o filenames -F " ++ functionName ++ " " ++ progname
1997.44 s
[opt-env-conf-test] ]
1997.44 s
[opt-env-conf-test]
1997.44 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1997.44 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1997.44 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Completion.hs:43:9-10
1997.44 s
[opt-env-conf-test] @@ -40,22 +40,21 @@
1997.44 s
[opt-env-conf-test] bashCompletionScript progPath progname =
1997.44 s
[opt-env-conf-test] let functionName = progNameToFunctionName progname
1997.44 s
[opt-env-conf-test] in unlines
1997.44 s
[opt-env-conf-test] [ functionName ++ "()",
1997.44 s
[opt-env-conf-test] "{",
1997.44 s
[opt-env-conf-test] " local CMDLINE",
1997.44 s
[opt-env-conf-test] " local IFS=$'\\n'",
1997.44 s
[opt-env-conf-test] " CMDLINE=(--query-opt-env-conf-completion)",
1997.44 s
[opt-env-conf-test] " CMDLINE+=(--completion-index $COMP_CWORD)",
1997.44 s
[opt-env-conf-test] "",
1997.44 s
[opt-env-conf-test] " for arg in ${COMP_WORDS[@]}; do",
1997.44 s
[opt-env-conf-test] " CMDLINE=(${CMDLINE[@]} --completion-word $arg)",
1997.44 s
[opt-env-conf-test] " done",
1997.44 s
[opt-env-conf-test] "",
1997.44 s
[opt-env-conf-test] " COMPREPLY=( $(" ++ fromAbsFile progPath ++ " \"${CMDLINE[@]}\") )",
1997.44 s
[opt-env-conf-test] "}",
1997.44 s
[opt-env-conf-test] "",
1997.44 s
[opt-env-conf-test] - "complete -o filenames -F " ++ functionName ++ " " ++ progname
1997.44 s
[opt-env-conf-test] ]
1997.44 s
[opt-env-conf-test]
1997.44 s
[opt-env-conf-test] generateZshCompletionScript :: Path Abs File -> String -> IO ()
1997.44 s
[opt-env-conf-test] generateZshCompletionScript progPath progname = putStrLn $ zshCompletionScript progPath progname
1997.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1997.44 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1997.44 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1997.44 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1997.44 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1997.44 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc f o r gi v a b l e caps f <$> go p
1997.44 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc T r u e caps f <$> go p
1997.44 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
1997.44 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
1997.44 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
1997.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1210:64-74
1997.44 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
1997.44 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
1997.44 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
1997.44 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
1997.44 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc f o rg iv a b l e caps f <$> go p
2004.52 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc F a l s e caps f <$> go p
2004.54 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
2004.54 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
2004.55 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
2004.55 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1210:64-74
2004.55 s
[opt-env-conf-test] @@ -1207,7 +1207,7 @@
2004.55 s
[opt-env-conf-test] ParserMany mLoc p -> ParserMany mLoc <$> go p
2004.55 s
[opt-env-conf-test] ParserSome mLoc p -> ParserSome mLoc <$> go p
2004.55 s
[opt-env-conf-test] ParserAllOrNothing mLoc p -> ParserAllOrNothing mLoc <$> go p
2004.55 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc forgivable caps f <$> go p
2004.55 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps f p -> ParserCheck mLoc n o t ( forgivable ) caps f <$> go p
2004.55 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault <$> traverse (commandTraverseSetting func) cs
2004.55 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 -> ParserWithConfig mLoc <$> go p1 <*> go p2
2004.55 s
[opt-env-conf-test] ParserSetting mLoc s -> ParserSetting mLoc <$> func s
2004.55 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
2004.55 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
2004.55 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
2004.55 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
2004.55 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
2004.55 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing f o r gi v a b l e caps f (go p)
2004.55 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing T r u e caps f (go p)
2004.55 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
2004.55 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
2004.55 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
2004.55 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:1173:64-74
2004.55 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
2004.55 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
2004.55 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
2004.55 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
2004.55 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing f o rg iv a b l e caps f (go p)
2004.55 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing F a l s e caps f (go p)
2004.55 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
2004.56 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
2004.56 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
2004.56 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:1173:64-74
2004.56 s
[opt-env-conf-test] @@ -1170,7 +1170,7 @@
2004.56 s
[opt-env-conf-test] ParserMany _ p -> ParserMany Nothing (go p)
2004.56 s
[opt-env-conf-test] ParserSome _ p -> ParserSome Nothing (go p)
2004.56 s
[opt-env-conf-test] ParserAllOrNothing _ p -> ParserAllOrNothing Nothing (go p)
2004.56 s
[opt-env-conf-test] - ParserCheck _ forgivable caps f p -> ParserCheck Nothing forgivable caps f (go p)
2004.56 s
[opt-env-conf-test] + ParserCheck _ forgivable caps f p -> ParserCheck Nothing n o t ( forgivable ) caps f (go p)
2004.56 s
[opt-env-conf-test] ParserCommands _ mDefault cs -> ParserCommands Nothing mDefault $ map commandEraseSrcLocs cs
2004.56 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> ParserWithConfig Nothing (go p1) (go p2)
2004.56 s
[opt-env-conf-test] ParserSetting _ s -> ParserSetting Nothing s
2004.56 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:705:57-63
2004.56 s
[opt-env-conf-test] @@ -702,7 +702,7 @@
2004.56 s
[opt-env-conf-test] let (mDefault, cs) = go bs
2004.56 s
[opt-env-conf-test] in case b of
2004.56 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
2004.56 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> J u s t d , cs)
2004.56 s
[opt-env-conf-test] + CommandsBuilderDefault d -> (mDefault <|> No t h ing , cs)
2004.56 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2004.56 s
[opt-env-conf-test]
2004.56 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
2004.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
2004.56 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
2004.56 s
[opt-env-conf-test] [] -> (Nothing, [])
2004.56 s
[opt-env-conf-test] (b : bs) ->
2004.56 s
[opt-env-conf-test] let (mDefault, cs) = go bs
2004.56 s
[opt-env-conf-test] in case b of
2004.56 s
[opt-env-conf-test] - CommandsBuilderCommand c -> (mDefault, c : cs)
2004.56 s
[opt-env-conf-test] CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
2004.56 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2004.56 s
[opt-env-conf-test]
2004.56 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
2004.56 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:703:13-68
2004.56 s
[opt-env-conf-test] @@ -700,9 +700,8 @@
2004.56 s
[opt-env-conf-test] [] -> (Nothing, [])
2004.56 s
[opt-env-conf-test] (b : bs) ->
2004.56 s
[opt-env-conf-test] let (mDefault, cs) = go bs
2004.56 s
[opt-env-conf-test] in case b of
2004.56 s
[opt-env-conf-test] CommandsBuilderCommand c -> (mDefault, c : cs)
2004.56 s
[opt-env-conf-test] - CommandsBuilderDefault d -> (mDefault <|> Just d, cs)
2004.56 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2004.57 s
[opt-env-conf-test]
2004.57 s
[opt-env-conf-test] -- | Declare a single command with a name, documentation and parser
2004.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:686:41-45
2004.57 s
[opt-env-conf-test] @@ -683,7 +683,7 @@
2004.57 s
[opt-env-conf-test]
2004.57 s
[opt-env-conf-test] -- | Like 'checkMapIO', but allow trying the other side of any alternative if the result is Nothing.
2004.57 s
[opt-env-conf-test] checkMapIOForgivable :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
2004.57 s
[opt-env-conf-test] - checkMapIOForgivable = ParserCheck mLoc Tr u e Set.empty
2004.57 s
[opt-env-conf-test] + checkMapIOForgivable = ParserCheck mLoc F a ls e Set.empty
2004.57 s
[opt-env-conf-test] where
2004.57 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2004.57 s
[opt-env-conf-test]
2004.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
2004.57 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
2004.57 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
2004.57 s
[opt-env-conf-test] withFrozenCallStack $
2004.57 s
[opt-env-conf-test] checkMapEitherForgivable
2004.57 s
[opt-env-conf-test] ( \a -> case func a of
2004.57 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
2004.57 s
[opt-env-conf-test] Just b -> Right b
2004.57 s
[opt-env-conf-test] )
2004.57 s
[opt-env-conf-test] p
2004.57 s
[opt-env-conf-test]
2004.57 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:674:15-28
2004.57 s
[opt-env-conf-test] @@ -671,9 +671,8 @@
2004.57 s
[opt-env-conf-test] checkMapMaybeForgivable func p =
2004.57 s
[opt-env-conf-test] withFrozenCallStack $
2004.57 s
[opt-env-conf-test] checkMapEitherForgivable
2004.57 s
[opt-env-conf-test] ( \a -> case func a of
2004.57 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybeForgivable failed without a helpful error message"
2004.57 s
[opt-env-conf-test] - Just b -> Right b
2004.57 s
[opt-env-conf-test] )
2004.57 s
[opt-env-conf-test] p
2004.57 s
[opt-env-conf-test]
2004.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
2004.57 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
2004.57 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
2004.57 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
2004.57 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
2004.57 s
[opt-env-conf-test] - ParserCheck mLoc' f o r gi v a b l e (Set.insert cap caps) f p
2004.57 s
[opt-env-conf-test] + ParserCheck mLoc' T r u e (Set.insert cap caps) f p
2004.57 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
2004.57 s
[opt-env-conf-test] where
2004.57 s
[opt-env-conf-test] cap = Capability (T.pack capName)
2004.57 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:663:23-33
2004.57 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
2004.57 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
2004.57 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
2004.57 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
2004.57 s
[opt-env-conf-test] - ParserCheck mLoc' f o rg iv a b l e (Set.insert cap caps) f p
2004.57 s
[opt-env-conf-test] + ParserCheck mLoc' F a l s e (Set.insert cap caps) f p
2004.57 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
2004.57 s
[opt-env-conf-test] where
2004.57 s
[opt-env-conf-test] cap = Capability (T.pack capName)
2004.57 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:663:23-33
2004.57 s
[opt-env-conf-test] @@ -660,7 +660,7 @@
2004.57 s
[opt-env-conf-test] checkWithRequiredCapability :: (HasCallStack) => String -> Parser a -> Parser a
2004.57 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
2004.58 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
2004.58 s
[opt-env-conf-test] - ParserCheck mLoc' forgivable (Set.insert cap caps) f p
2004.58 s
[opt-env-conf-test] + ParserCheck mLoc' n o t ( forgivable ) (Set.insert cap caps) f p
2012.47 s
[opt-env-conf-test] p -> ParserCheck mLoc False (Set.singleton cap) (pure . Right) p
2012.47 s
[opt-env-conf-test] where
2012.47 s
[opt-env-conf-test] cap = Capability (T.pack capName)
2012.49 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:664:25-30
2012.49 s
[opt-env-conf-test] @@ -661,7 +661,7 @@
2012.49 s
[opt-env-conf-test] checkWithRequiredCapability capName = \case
2012.49 s
[opt-env-conf-test] ParserCheck mLoc' forgivable caps f p ->
2012.49 s
[opt-env-conf-test] ParserCheck mLoc' forgivable (Set.insert cap caps) f p
2012.50 s
[opt-env-conf-test] - p -> ParserCheck mLoc F al s e (Set.singleton cap) (pure . Right) p
2012.50 s
[opt-env-conf-test] + p -> ParserCheck mLoc T ru e (Set.singleton cap) (pure . Right) p
2012.50 s
[opt-env-conf-test] where
2012.50 s
[opt-env-conf-test] cap = Capability (T.pack capName)
2012.50 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.50 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:618:31-36
2012.50 s
[opt-env-conf-test] @@ -615,7 +615,7 @@
2012.50 s
[opt-env-conf-test]
2012.50 s
[opt-env-conf-test] -- | Check a 'Parser' after the fact, allowing IO.
2012.50 s
[opt-env-conf-test] checkMapIO :: (HasCallStack) => (a -> IO (Either String b)) -> Parser a -> Parser b
2012.50 s
[opt-env-conf-test] - checkMapIO = ParserCheck mLoc F al s e Set.empty
2012.50 s
[opt-env-conf-test] + checkMapIO = ParserCheck mLoc T ru e Set.empty
2012.50 s
[opt-env-conf-test] where
2012.50 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.50 s
[opt-env-conf-test]
2012.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
2012.50 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
2012.50 s
[opt-env-conf-test] checkMapMaybe func p =
2012.50 s
[opt-env-conf-test] withFrozenCallStack $
2012.50 s
[opt-env-conf-test] checkMapEither
2012.50 s
[opt-env-conf-test] ( \a -> case func a of
2012.50 s
[opt-env-conf-test] - Nothing -> Left "checkMapMaybe failed without a helpful error message"
2012.50 s
[opt-env-conf-test] Just b -> Right b
2012.50 s
[opt-env-conf-test] )
2012.50 s
[opt-env-conf-test] p
2012.50 s
[opt-env-conf-test]
2012.50 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
2012.50 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
2012.50 s
[opt-env-conf-test] checkMapMaybe func p =
2012.50 s
[opt-env-conf-test] withFrozenCallStack $
2012.50 s
[opt-env-conf-test] checkMapEither
2012.50 s
[opt-env-conf-test] ( \a -> case func a of
2012.50 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
2012.50 s
[opt-env-conf-test] - Just b -> Right b
2012.50 s
[opt-env-conf-test] )
2012.50 s
[opt-env-conf-test] p
2012.50 s
[opt-env-conf-test]
2012.50 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
2012.50 s
[opt-env-conf-test] @@ -1016,13 +1016,7 @@
2012.50 s
[opt-env-conf-test] withFrozenCallStack $
2012.50 s
[opt-env-conf-test] choice $
2012.50 s
[opt-env-conf-test] catMaybes
2012.50 s
[opt-env-conf-test] - [ bareOption,
2012.50 s
[opt-env-conf-test] - fileOption,
2012.50 s
[opt-env-conf-test] - bareEnv,
2012.50 s
[opt-env-conf-test] - fileEnv,
2012.50 s
[opt-env-conf-test] - bareConf,
2012.50 s
[opt-env-conf-test] - fileConf
2012.50 s
[opt-env-conf-test] ]
2012.51 s
[opt-env-conf-test] where
2012.51 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.51 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
2012.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
2012.51 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
2012.51 s
[opt-env-conf-test] withFrozenCallStack $
2012.51 s
[opt-env-conf-test] choice $
2012.51 s
[opt-env-conf-test] catMaybes
2012.51 s
[opt-env-conf-test] [ bareOption,
2012.51 s
[opt-env-conf-test] fileOption,
2012.51 s
[opt-env-conf-test] bareEnv,
2012.51 s
[opt-env-conf-test] fileEnv,
2012.51 s
[opt-env-conf-test] bareConf,
2012.51 s
[opt-env-conf-test] - fileConf
2012.51 s
[opt-env-conf-test] ]
2012.51 s
[opt-env-conf-test] where
2012.51 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.51 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
2012.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1019:9-10
2012.51 s
[opt-env-conf-test] @@ -1016,13 +1016,12 @@
2012.51 s
[opt-env-conf-test] withFrozenCallStack $
2012.51 s
[opt-env-conf-test] choice $
2012.51 s
[opt-env-conf-test] catMaybes
2012.51 s
[opt-env-conf-test] - [ bareOption,
2012.51 s
[opt-env-conf-test] fileOption,
2012.51 s
[opt-env-conf-test] bareEnv,
2012.51 s
[opt-env-conf-test] fileEnv,
2012.51 s
[opt-env-conf-test] bareConf,
2012.51 s
[opt-env-conf-test] fileConf
2012.51 s
[opt-env-conf-test] ]
2012.51 s
[opt-env-conf-test] where
2012.51 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.51 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
2012.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
2012.51 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
2012.51 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.51 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
2012.51 s
[opt-env-conf-test] bareSetting p f = do
2012.51 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
2012.51 s
[opt-env-conf-test] guard $ p s
2012.51 s
[opt-env-conf-test] pure $
2012.51 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
2012.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
2012.51 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
2012.51 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.51 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
2012.51 s
[opt-env-conf-test] bareSetting p f = do
2012.51 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
2012.51 s
[opt-env-conf-test] guard $ p s
2012.51 s
[opt-env-conf-test] pure $
2012.51 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
2012.51 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1030:41-92
2012.51 s
[opt-env-conf-test] @@ -1027,7 +1027,6 @@
2012.51 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2012.51 s
[opt-env-conf-test] b = mconcat $ bs ++ [reader str]
2012.51 s
[opt-env-conf-test] bareSetting p f = do
2012.51 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "SECRET"]
2012.51 s
[opt-env-conf-test] guard $ p s
2012.51 s
[opt-env-conf-test] pure $
2012.51 s
[opt-env-conf-test] -- Require the capability for the entire setting because the secret may be
2012.51 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1055:12-18
2012.51 s
[opt-env-conf-test] @@ -1052,7 +1052,7 @@
2012.51 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
2012.51 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
2012.51 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
2012.51 s
[opt-env-conf-test] - i -> J us t i
2012.51 s
[opt-env-conf-test] + i -> N o t h i ng
2012.51 s
[opt-env-conf-test] fileOption = fileSetting settingTryOption $ \case
2012.51 s
[opt-env-conf-test] BuildTryArgument -> Nothing
2012.51 s
[opt-env-conf-test] BuildAddShort _ -> Nothing
2012.51 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1072:12-18
2012.51 s
[opt-env-conf-test] @@ -1069,7 +1069,7 @@
2012.51 s
[opt-env-conf-test] BuildAddEnv v -> Just $ BuildAddEnv v
2012.51 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
2012.51 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
2012.51 s
[opt-env-conf-test] - i -> J us t i
2012.51 s
[opt-env-conf-test] + i -> N o t h i ng
2012.51 s
[opt-env-conf-test] fileEnv = fileSetting (isJust . settingEnvVars) $ \case
2012.51 s
[opt-env-conf-test] BuildTryArgument -> Nothing
2012.51 s
[opt-env-conf-test] BuildTryOption -> Nothing
2012.51 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1093:12-18
2012.51 s
[opt-env-conf-test] @@ -1090,7 +1090,7 @@
2012.52 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
2012.52 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf k
2012.52 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
2012.52 s
[opt-env-conf-test] - i -> J us t i
2012.52 s
[opt-env-conf-test] + i -> N o t h i ng
2012.52 s
[opt-env-conf-test] fileConf = fileSetting (isJust . settingConfigVals) $ \case
2012.52 s
[opt-env-conf-test] BuildTryArgument -> Nothing
2012.52 s
[opt-env-conf-test] BuildTryOption -> Nothing
2012.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
2012.52 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
2012.52 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
2012.52 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
2012.52 s
[opt-env-conf-test] fileSetting p f = do
2012.52 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
2012.52 s
[opt-env-conf-test] guard $ p s
2012.52 s
[opt-env-conf-test] pure $
2012.52 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
2012.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
2012.52 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
2012.52 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
2012.52 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
2012.52 s
[opt-env-conf-test] fileSetting p f = do
2012.52 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
2012.52 s
[opt-env-conf-test] guard $ p s
2012.52 s
[opt-env-conf-test] pure $
2012.52 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
2012.52 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:1038:41-95
2012.52 s
[opt-env-conf-test] @@ -1035,7 +1035,6 @@
2012.52 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
2012.52 s
[opt-env-conf-test] T.pack <$> ParserSetting mLoc s
2012.52 s
[opt-env-conf-test] fileSetting p f = do
2012.52 s
[opt-env-conf-test] - let s = completeBuilder $ mconcat [mapMaybeBuilder f b, reader str, metavar "FILE_PATH"]
2012.52 s
[opt-env-conf-test] guard $ p s
2012.52 s
[opt-env-conf-test] pure $
2012.52 s
[opt-env-conf-test] checkWithRequiredCapability readSecretCapability $
2012.52 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1063:12-18
2012.52 s
[opt-env-conf-test] @@ -1060,7 +1060,7 @@
2012.52 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
2012.52 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
2012.52 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
2012.52 s
[opt-env-conf-test] - i -> J us t i
2012.52 s
[opt-env-conf-test] + i -> N o t h i ng
2012.52 s
[opt-env-conf-test] bareEnv = bareSetting (isJust . settingEnvVars) $ \case
2012.52 s
[opt-env-conf-test] BuildTryArgument -> Nothing
2012.52 s
[opt-env-conf-test] BuildTryOption -> Nothing
2012.52 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1084:12-18
2012.52 s
[opt-env-conf-test] @@ -1081,7 +1081,7 @@
2012.52 s
[opt-env-conf-test] suffixEnvVarSetting "_FILE" e
2012.52 s
[opt-env-conf-test] BuildAddConf _ -> Nothing
2012.52 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
2012.52 s
[opt-env-conf-test] - i -> J us t i
2012.52 s
[opt-env-conf-test] + i -> N o t h i ng
2012.52 s
[opt-env-conf-test] bareConf = bareSetting (isJust . settingConfigVals) $ \case
2012.52 s
[opt-env-conf-test] BuildTryArgument -> Nothing
2012.52 s
[opt-env-conf-test] BuildTryOption -> Nothing
2012.52 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:1102:12-18
2012.52 s
[opt-env-conf-test] @@ -1099,7 +1099,7 @@
2012.52 s
[opt-env-conf-test] BuildAddEnv _ -> Nothing
2018.02 s
[opt-env-conf-test] BuildAddConf k -> Just $ BuildAddConf $ suffixConfigValSettingKey "-file" k
2018.04 s
[opt-env-conf-test] BuildSetDefault _ _ -> Nothing
2018.04 s
[opt-env-conf-test] - i -> J us t i
2018.04 s
[opt-env-conf-test] + i -> N o t h i ng
2018.04 s
[opt-env-conf-test]
2018.04 s
[opt-env-conf-test] -- | Prefix all 'long's and 'short's with a given 'String'.
2018.04 s
[opt-env-conf-test] {-# ANN subArgs ("NOCOVER" :: String) #-}
2018.04 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:563:72-117
2018.04 s
[opt-env-conf-test] @@ -560,7 +560,7 @@
2018.04 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.04 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.04 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.04 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = J u st (defau ltValu e, s h o w Default defa ul t V alu e ) }
2018.04 s
[opt-env-conf-test] + Nothing -> ParserSetting mLoc $ s {settingDefaultValue = N o t h in g }
2018.04 s
[opt-env-conf-test] Just _ -> p
2018.04 s
[opt-env-conf-test]
2018.04 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.04 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
2018.04 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2018.05 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.05 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.05 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.05 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.05 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.05 s
[opt-env-conf-test] - Just _ -> p
2018.05 s
[opt-env-conf-test]
2018.05 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.05 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
2018.05 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2018.05 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.05 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.05 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.05 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.05 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.05 s
[opt-env-conf-test] Just _ -> p
2018.05 s
[opt-env-conf-test]
2018.05 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.05 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.05 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2018.05 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2018.05 s
[opt-env-conf-test] where
2018.05 s
[opt-env-conf-test] go p =
2018.05 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2018.05 s
[opt-env-conf-test] in case p of
2018.05 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
2018.05 s
[opt-env-conf-test] ParserAp {} -> p'
2018.05 s
[opt-env-conf-test] ParserSelect {} -> p'
2018.05 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2018.05 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2018.05 s
[opt-env-conf-test] ParserMany {} -> p'
2018.05 s
[opt-env-conf-test] ParserSome {} -> p'
2018.05 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2018.06 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.06 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.06 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.06 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.06 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.06 s
[opt-env-conf-test] Just _ -> p
2018.06 s
[opt-env-conf-test]
2018.06 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.06 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2018.06 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2018.06 s
[opt-env-conf-test] where
2018.06 s
[opt-env-conf-test] go p =
2018.06 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2018.06 s
[opt-env-conf-test] in case p of
2018.06 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2018.06 s
[opt-env-conf-test] - ParserAp {} -> p'
2018.06 s
[opt-env-conf-test] ParserSelect {} -> p'
2018.06 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2018.06 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2018.06 s
[opt-env-conf-test] ParserMany {} -> p'
2018.06 s
[opt-env-conf-test] ParserSome {} -> p'
2018.06 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2018.06 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.06 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.06 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.06 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.06 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.06 s
[opt-env-conf-test] Just _ -> p
2018.06 s
[opt-env-conf-test]
2018.06 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.06 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.06 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2018.06 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2018.06 s
[opt-env-conf-test] where
2018.06 s
[opt-env-conf-test] go p =
2018.06 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2018.06 s
[opt-env-conf-test] in case p of
2018.06 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2018.07 s
[opt-env-conf-test] ParserAp {} -> p'
2018.07 s
[opt-env-conf-test] - ParserSelect {} -> p'
2018.07 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2018.07 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2018.07 s
[opt-env-conf-test] ParserMany {} -> p'
2018.07 s
[opt-env-conf-test] ParserSome {} -> p'
2018.07 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2018.07 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.07 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.07 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.07 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.07 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.07 s
[opt-env-conf-test] Just _ -> p
2018.07 s
[opt-env-conf-test]
2018.07 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.07 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.07 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2018.07 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2018.07 s
[opt-env-conf-test] where
2018.07 s
[opt-env-conf-test] go p =
2018.07 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2018.07 s
[opt-env-conf-test] in case p of
2018.07 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2018.07 s
[opt-env-conf-test] ParserAp {} -> p'
2018.07 s
[opt-env-conf-test] ParserSelect {} -> p'
2018.07 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
2018.07 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2018.07 s
[opt-env-conf-test] ParserMany {} -> p'
2018.07 s
[opt-env-conf-test] ParserSome {} -> p'
2018.07 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2018.07 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.07 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.07 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.07 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.07 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.07 s
[opt-env-conf-test] Just _ -> p
2018.07 s
[opt-env-conf-test]
2018.07 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.07 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.07 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2018.07 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2018.07 s
[opt-env-conf-test] where
2018.07 s
[opt-env-conf-test] go p =
2018.07 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2018.07 s
[opt-env-conf-test] in case p of
2018.07 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2018.07 s
[opt-env-conf-test] ParserAp {} -> p'
2018.07 s
[opt-env-conf-test] ParserSelect {} -> p'
2018.07 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2018.07 s
[opt-env-conf-test] - ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2018.08 s
[opt-env-conf-test] ParserMany {} -> p'
2018.08 s
[opt-env-conf-test] ParserSome {} -> p'
2018.08 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2018.08 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.08 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.08 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.08 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.08 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.08 s
[opt-env-conf-test] Just _ -> p
2018.08 s
[opt-env-conf-test]
2018.08 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.08 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2018.08 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2018.08 s
[opt-env-conf-test] where
2018.08 s
[opt-env-conf-test] go p =
2018.08 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2018.08 s
[opt-env-conf-test] in case p of
2018.08 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2018.08 s
[opt-env-conf-test] ParserAp {} -> p'
2018.08 s
[opt-env-conf-test] ParserSelect {} -> p'
2018.08 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2018.08 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2018.08 s
[opt-env-conf-test] - ParserMany {} -> p'
2018.08 s
[opt-env-conf-test] ParserSome {} -> p'
2018.08 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2018.08 s
[opt-env-conf-test] ParserCheck {} -> p'
2018.08 s
[opt-env-conf-test] ParserCommands {} -> p'
2018.08 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2018.08 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2018.08 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2018.08 s
[opt-env-conf-test] Just _ -> p
2018.08 s
[opt-env-conf-test]
2018.08 s
[opt-env-conf-test] -- | Try a list of parsers in order
2018.08 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2018.08 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2018.08 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2018.08 s
[opt-env-conf-test] where
2018.08 s
[opt-env-conf-test] go p =
2018.08 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2018.08 s
[opt-env-conf-test] in case p of
2018.08 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2018.08 s
[opt-env-conf-test] ParserAp {} -> p'
2018.08 s
[opt-env-conf-test] ParserSelect {} -> p'
2018.09 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2018.09 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2018.09 s
[opt-env-conf-test] ParserMany {} -> p'
2018.09 s
[opt-env-conf-test] - ParserSome {} -> p'
2018.09 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2024.65 s
[opt-env-conf-test] ParserCheck {} -> p'
2024.65 s
[opt-env-conf-test] ParserCommands {} -> p'
2024.65 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2024.67 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2024.67 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2024.67 s
[opt-env-conf-test] Just _ -> p
2024.67 s
[opt-env-conf-test]
2024.67 s
[opt-env-conf-test] -- | Try a list of parsers in order
2024.67 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2024.67 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2024.67 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2024.67 s
[opt-env-conf-test] where
2024.67 s
[opt-env-conf-test] go p =
2024.67 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2024.67 s
[opt-env-conf-test] in case p of
2024.67 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2024.68 s
[opt-env-conf-test] ParserAp {} -> p'
2024.68 s
[opt-env-conf-test] ParserSelect {} -> p'
2024.68 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2024.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2024.68 s
[opt-env-conf-test] ParserMany {} -> p'
2024.68 s
[opt-env-conf-test] ParserSome {} -> p'
2024.68 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
2024.68 s
[opt-env-conf-test] ParserCheck {} -> p'
2024.68 s
[opt-env-conf-test] ParserCommands {} -> p'
2024.68 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2024.68 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2024.68 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2024.68 s
[opt-env-conf-test] Just _ -> p
2024.68 s
[opt-env-conf-test]
2024.68 s
[opt-env-conf-test] -- | Try a list of parsers in order
2024.68 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2024.68 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2024.68 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2024.68 s
[opt-env-conf-test] where
2024.68 s
[opt-env-conf-test] go p =
2024.68 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2024.68 s
[opt-env-conf-test] in case p of
2024.68 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2024.68 s
[opt-env-conf-test] ParserAp {} -> p'
2024.68 s
[opt-env-conf-test] ParserSelect {} -> p'
2024.68 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2024.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2024.68 s
[opt-env-conf-test] ParserMany {} -> p'
2024.68 s
[opt-env-conf-test] ParserSome {} -> p'
2024.68 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2024.68 s
[opt-env-conf-test] - ParserCheck {} -> p'
2024.68 s
[opt-env-conf-test] ParserCommands {} -> p'
2024.68 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2024.68 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2024.68 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2024.68 s
[opt-env-conf-test] Just _ -> p
2024.68 s
[opt-env-conf-test]
2024.68 s
[opt-env-conf-test] -- | Try a list of parsers in order
2024.68 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2024.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2024.69 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2024.69 s
[opt-env-conf-test] where
2024.69 s
[opt-env-conf-test] go p =
2024.69 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2024.69 s
[opt-env-conf-test] in case p of
2024.69 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2024.69 s
[opt-env-conf-test] ParserAp {} -> p'
2024.69 s
[opt-env-conf-test] ParserSelect {} -> p'
2024.69 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2024.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2024.69 s
[opt-env-conf-test] ParserMany {} -> p'
2024.69 s
[opt-env-conf-test] ParserSome {} -> p'
2024.69 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2024.69 s
[opt-env-conf-test] ParserCheck {} -> p'
2024.69 s
[opt-env-conf-test] - ParserCommands {} -> p'
2024.69 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2024.69 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2024.69 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2024.69 s
[opt-env-conf-test] Just _ -> p
2024.69 s
[opt-env-conf-test]
2024.69 s
[opt-env-conf-test] -- | Try a list of parsers in order
2024.69 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2024.69 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2024.69 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2024.69 s
[opt-env-conf-test] where
2024.69 s
[opt-env-conf-test] go p =
2024.69 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2024.69 s
[opt-env-conf-test] in case p of
2024.69 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2024.69 s
[opt-env-conf-test] ParserAp {} -> p'
2024.69 s
[opt-env-conf-test] ParserSelect {} -> p'
2024.69 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2024.69 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2024.70 s
[opt-env-conf-test] ParserMany {} -> p'
2024.70 s
[opt-env-conf-test] ParserSome {} -> p'
2024.70 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2024.70 s
[opt-env-conf-test] ParserCheck {} -> p'
2024.70 s
[opt-env-conf-test] ParserCommands {} -> p'
2024.70 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
2024.70 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2024.70 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2024.70 s
[opt-env-conf-test] Just _ -> p
2024.70 s
[opt-env-conf-test]
2024.70 s
[opt-env-conf-test] -- | Try a list of parsers in order
2024.70 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2024.70 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2024.70 s
[opt-env-conf-test] @@ -547,21 +547,18 @@
2024.70 s
[opt-env-conf-test] where
2024.70 s
[opt-env-conf-test] go p =
2024.70 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2024.70 s
[opt-env-conf-test] in case p of
2024.70 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2024.70 s
[opt-env-conf-test] ParserAp {} -> p'
2024.70 s
[opt-env-conf-test] ParserSelect {} -> p'
2024.70 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2024.70 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2024.70 s
[opt-env-conf-test] ParserMany {} -> p'
2024.70 s
[opt-env-conf-test] ParserSome {} -> p'
2024.70 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2024.70 s
[opt-env-conf-test] ParserCheck {} -> p'
2024.70 s
[opt-env-conf-test] ParserCommands {} -> p'
2024.70 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2024.70 s
[opt-env-conf-test] - ParserSetting mLoc s -> case settingDefaultValue s of
2024.70 s
[opt-env-conf-test] - Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2024.70 s
[opt-env-conf-test] - Just _ -> p
2024.70 s
[opt-env-conf-test]
2024.70 s
[opt-env-conf-test] -- | Try a list of parsers in order
2024.70 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2024.70 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:877:11-26
2024.70 s
[opt-env-conf-test] @@ -874,7 +874,7 @@
2024.71 s
[opt-env-conf-test] withFrozenCallStack $
2024.71 s
[opt-env-conf-test] choice $
2024.71 s
[opt-env-conf-test] catMaybes
2024.71 s
[opt-env-conf-test] - [ J us t pars eDumm y ,
2024.71 s
[opt-env-conf-test] + [ N o t hin g ,
2024.71 s
[opt-env-conf-test] Just parseDisableSwitch,
2024.71 s
[opt-env-conf-test] Just parseEnableSwitch,
2024.71 s
[opt-env-conf-test] parseEnv,
2024.71 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:878:11-34
2024.71 s
[opt-env-conf-test] @@ -875,7 +875,7 @@
2024.71 s
[opt-env-conf-test] choice $
2024.71 s
[opt-env-conf-test] catMaybes
2024.71 s
[opt-env-conf-test] [ Just parseDummy,
2024.71 s
[opt-env-conf-test] - J u st pa rseDis ab leS wi t c h ,
2024.71 s
[opt-env-conf-test] + No t h in g ,
2024.71 s
[opt-env-conf-test] Just parseEnableSwitch,
2024.71 s
[opt-env-conf-test] parseEnv,
2024.71 s
[opt-env-conf-test] parseConfigVal,
2024.71 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:879:11-33
2024.71 s
[opt-env-conf-test] @@ -876,7 +876,7 @@
2024.72 s
[opt-env-conf-test] catMaybes
2024.72 s
[opt-env-conf-test] [ Just parseDummy,
2024.72 s
[opt-env-conf-test] Just parseDisableSwitch,
2024.72 s
[opt-env-conf-test] - J u s t parse E n a b leS wit c h ,
2024.72 s
[opt-env-conf-test] + No t h i n g ,
2024.72 s
[opt-env-conf-test] parseEnv,
2024.72 s
[opt-env-conf-test] parseConfigVal,
2024.72 s
[opt-env-conf-test] parseDefaultVal
2024.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
2024.72 s
[opt-env-conf-test] @@ -874,13 +874,7 @@
2024.72 s
[opt-env-conf-test] withFrozenCallStack $
2024.72 s
[opt-env-conf-test] choice $
2024.72 s
[opt-env-conf-test] catMaybes
2024.72 s
[opt-env-conf-test] - [ Just parseDummy,
2024.72 s
[opt-env-conf-test] - Just parseDisableSwitch,
2024.72 s
[opt-env-conf-test] - Just parseEnableSwitch,
2024.72 s
[opt-env-conf-test] - parseEnv,
2024.72 s
[opt-env-conf-test] - parseConfigVal,
2024.72 s
[opt-env-conf-test] - parseDefaultVal
2024.72 s
[opt-env-conf-test] ]
2024.72 s
[opt-env-conf-test] where
2024.72 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2024.72 s
[opt-env-conf-test] s = buildSetting builders
2024.72 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
2024.72 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
2024.73 s
[opt-env-conf-test] withFrozenCallStack $
2024.73 s
[opt-env-conf-test] choice $
2024.73 s
[opt-env-conf-test] catMaybes
2024.73 s
[opt-env-conf-test] - [ Just parseDummy,
2024.73 s
[opt-env-conf-test] Just parseDisableSwitch,
2024.73 s
[opt-env-conf-test] Just parseEnableSwitch,
2024.73 s
[opt-env-conf-test] parseEnv,
2024.73 s
[opt-env-conf-test] parseConfigVal,
2024.73 s
[opt-env-conf-test] parseDefaultVal
2024.73 s
[opt-env-conf-test] ]
2024.73 s
[opt-env-conf-test] where
2024.73 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2024.73 s
[opt-env-conf-test] s = buildSetting builders
2024.73 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:877:9-10
2024.73 s
[opt-env-conf-test] @@ -874,13 +874,12 @@
2024.73 s
[opt-env-conf-test] withFrozenCallStack $
2024.73 s
[opt-env-conf-test] choice $
2024.73 s
[opt-env-conf-test] catMaybes
2024.73 s
[opt-env-conf-test] [ Just parseDummy,
2024.73 s
[opt-env-conf-test] Just parseDisableSwitch,
2024.73 s
[opt-env-conf-test] Just parseEnableSwitch,
2024.73 s
[opt-env-conf-test] parseEnv,
2024.73 s
[opt-env-conf-test] parseConfigVal,
2024.73 s
[opt-env-conf-test] - parseDefaultVal
2024.73 s
[opt-env-conf-test] ]
2024.73 s
[opt-env-conf-test] where
2024.73 s
[opt-env-conf-test] mLoc = snd <$> listToMaybe (getCallStack callStack)
2024.73 s
[opt-env-conf-test] s = buildSetting builders
2024.73 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
2024.73 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
2024.73 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
2024.73 s
[opt-env-conf-test] parseDefaultVal = do
2024.73 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
2024.73 s
[opt-env-conf-test] - pure $ pure d v
2024.74 s
[opt-env-conf-test] + pure $ pure T rue
2024.74 s
[opt-env-conf-test]
2024.74 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
2024.74 s
[opt-env-conf-test] parseEnableSwitch =
2027.54 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:890:19-21
2027.54 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
2027.55 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
2027.55 s
[opt-env-conf-test] parseDefaultVal = do
2027.55 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
2027.55 s
[opt-env-conf-test] - pure $ pure d v
2027.55 s
[opt-env-conf-test] + pure $ pure F a ls e
2027.55 s
[opt-env-conf-test]
2027.55 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
2027.55 s
[opt-env-conf-test] parseEnableSwitch =
2027.55 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:890:19-21
2027.55 s
[opt-env-conf-test] @@ -887,7 +887,7 @@
2027.55 s
[opt-env-conf-test] parseDefaultVal :: Maybe (Parser Bool)
2027.55 s
[opt-env-conf-test] parseDefaultVal = do
2027.55 s
[opt-env-conf-test] (dv, _) <- settingDefaultValue s
2027.55 s
[opt-env-conf-test] - pure $ pure dv
2027.55 s
[opt-env-conf-test] + pure $ pure n o t ( dv )
2027.55 s
[opt-env-conf-test]
2027.55 s
[opt-env-conf-test] parseEnableSwitch :: Parser Bool
2027.55 s
[opt-env-conf-test] parseEnableSwitch =
2027.55 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:898:34-39
2027.55 s
[opt-env-conf-test] @@ -895,7 +895,7 @@
2027.55 s
[opt-env-conf-test] Setting
2027.55 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
2027.55 s
[opt-env-conf-test] settingReaders = [],
2027.55 s
[opt-env-conf-test] - settingTryArgument = F al s e,
2027.55 s
[opt-env-conf-test] + settingTryArgument = T ru e,
2027.55 s
[opt-env-conf-test] settingSwitchValue = Just True,
2027.55 s
[opt-env-conf-test] settingTryOption = False,
2027.56 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.56 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:899:39-43
2027.56 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
2027.56 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
2027.56 s
[opt-env-conf-test] settingReaders = [],
2027.56 s
[opt-env-conf-test] settingTryArgument = False,
2027.56 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e,
2027.56 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e,
2027.56 s
[opt-env-conf-test] settingTryOption = False,
2027.56 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.56 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.56 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:899:34-43
2027.56 s
[opt-env-conf-test] @@ -896,7 +896,7 @@
2027.56 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong truePrefix) (settingDasheds s),
2027.56 s
[opt-env-conf-test] settingReaders = [],
2027.56 s
[opt-env-conf-test] settingTryArgument = False,
2027.56 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e ,
2027.56 s
[opt-env-conf-test] + settingSwitchValue = No t hing ,
2027.56 s
[opt-env-conf-test] settingTryOption = False,
2027.56 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.56 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.56 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:900:32-37
2027.56 s
[opt-env-conf-test] @@ -897,7 +897,7 @@
2027.56 s
[opt-env-conf-test] settingReaders = [],
2027.56 s
[opt-env-conf-test] settingTryArgument = False,
2027.56 s
[opt-env-conf-test] settingSwitchValue = Just True,
2027.56 s
[opt-env-conf-test] - settingTryOption = F al s e,
2027.56 s
[opt-env-conf-test] + settingTryOption = T ru e,
2027.56 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.56 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.56 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.56 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:905:29-33
2027.56 s
[opt-env-conf-test] @@ -902,7 +902,7 @@
2027.56 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.56 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.56 s
[opt-env-conf-test] settingExamples = [],
2027.56 s
[opt-env-conf-test] - settingHidden = Tr u e,
2027.56 s
[opt-env-conf-test] + settingHidden = F a ls e,
2027.56 s
[opt-env-conf-test] settingMetavar = Nothing,
2027.56 s
[opt-env-conf-test] settingHelp = Nothing,
2027.56 s
[opt-env-conf-test] settingCompleter = Nothing,
2027.56 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:917:34-39
2027.57 s
[opt-env-conf-test] @@ -914,7 +914,7 @@
2027.57 s
[opt-env-conf-test] Setting
2027.57 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
2027.57 s
[opt-env-conf-test] settingReaders = [],
2027.57 s
[opt-env-conf-test] - settingTryArgument = F al s e,
2027.57 s
[opt-env-conf-test] + settingTryArgument = T ru e,
2027.57 s
[opt-env-conf-test] settingSwitchValue = Just False,
2027.57 s
[opt-env-conf-test] settingTryOption = False,
2027.57 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:918:39-44
2027.57 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
2027.57 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
2027.57 s
[opt-env-conf-test] settingReaders = [],
2027.57 s
[opt-env-conf-test] settingTryArgument = False,
2027.57 s
[opt-env-conf-test] - settingSwitchValue = Just F al s e,
2027.57 s
[opt-env-conf-test] + settingSwitchValue = Just T ru e,
2027.57 s
[opt-env-conf-test] settingTryOption = False,
2027.57 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.57 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.57 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:918:34-44
2027.57 s
[opt-env-conf-test] @@ -915,7 +915,7 @@
2027.57 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong falsePrefix) (settingDasheds s),
2027.57 s
[opt-env-conf-test] settingReaders = [],
2027.57 s
[opt-env-conf-test] settingTryArgument = False,
2027.57 s
[opt-env-conf-test] - settingSwitchValue = J u s t F a ls e ,
2027.57 s
[opt-env-conf-test] + settingSwitchValue = N o t h in g ,
2027.57 s
[opt-env-conf-test] settingTryOption = False,
2027.57 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.57 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:919:32-37
2027.57 s
[opt-env-conf-test] @@ -916,7 +916,7 @@
2027.57 s
[opt-env-conf-test] settingReaders = [],
2027.57 s
[opt-env-conf-test] settingTryArgument = False,
2027.57 s
[opt-env-conf-test] settingSwitchValue = Just False,
2027.57 s
[opt-env-conf-test] - settingTryOption = F al s e,
2027.57 s
[opt-env-conf-test] + settingTryOption = T ru e,
2027.57 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.57 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.57 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:924:29-33
2027.57 s
[opt-env-conf-test] @@ -921,7 +921,7 @@
2027.57 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.57 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.57 s
[opt-env-conf-test] settingExamples = [],
2027.57 s
[opt-env-conf-test] - settingHidden = Tr u e,
2027.57 s
[opt-env-conf-test] + settingHidden = F a ls e,
2027.57 s
[opt-env-conf-test] settingMetavar = Nothing,
2027.57 s
[opt-env-conf-test] settingHelp = Nothing,
2027.57 s
[opt-env-conf-test] settingCompleter = Nothing,
2027.57 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:939:36-41
2027.57 s
[opt-env-conf-test] @@ -936,7 +936,7 @@
2027.57 s
[opt-env-conf-test] Setting
2027.57 s
[opt-env-conf-test] { settingDasheds = [],
2027.58 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
2027.58 s
[opt-env-conf-test] - settingTryArgument = F al s e,
2027.58 s
[opt-env-conf-test] + settingTryArgument = T ru e,
2027.58 s
[opt-env-conf-test] settingSwitchValue = Nothing,
2027.58 s
[opt-env-conf-test] settingTryOption = False,
2027.58 s
[opt-env-conf-test] settingEnvVars = Just ne,
2027.58 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:941:34-39
2027.58 s
[opt-env-conf-test] @@ -938,7 +938,7 @@
2027.58 s
[opt-env-conf-test] settingReaders = (auto :: Reader Bool) : settingReaders s,
2027.58 s
[opt-env-conf-test] settingTryArgument = False,
2027.58 s
[opt-env-conf-test] settingSwitchValue = Nothing,
2027.58 s
[opt-env-conf-test] - settingTryOption = F al s e,
2027.58 s
[opt-env-conf-test] + settingTryOption = T ru e,
2027.58 s
[opt-env-conf-test] settingEnvVars = Just ne,
2027.58 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.58 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.58 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:942:32-39
2027.58 s
[opt-env-conf-test] @@ -939,7 +939,7 @@
2027.58 s
[opt-env-conf-test] settingTryArgument = False,
2027.58 s
[opt-env-conf-test] settingSwitchValue = Nothing,
2027.58 s
[opt-env-conf-test] settingTryOption = False,
2027.58 s
[opt-env-conf-test] - settingEnvVars = J us t n e ,
2027.58 s
[opt-env-conf-test] + settingEnvVars = N o t hi n g ,
2027.58 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.58 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.58 s
[opt-env-conf-test] settingExamples = [],
2027.58 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:946:31-36
2027.58 s
[opt-env-conf-test] @@ -943,7 +943,7 @@
2027.58 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.58 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.58 s
[opt-env-conf-test] settingExamples = [],
2027.58 s
[opt-env-conf-test] - settingHidden = F al s e,
2027.58 s
[opt-env-conf-test] + settingHidden = T ru e,
2027.60 s
[opt-env-conf-test] settingMetavar = Just "BOOL",
2027.60 s
[opt-env-conf-test] settingHelp = settingHelp s,
2027.60 s
[opt-env-conf-test] settingCompleter = Nothing,
2027.60 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:947:32-43
2027.61 s
[opt-env-conf-test] @@ -944,7 +944,7 @@
2027.61 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.61 s
[opt-env-conf-test] settingExamples = [],
2027.61 s
[opt-env-conf-test] settingHidden = False,
2027.61 s
[opt-env-conf-test] - settingMetavar = J u s t "B OOL" ,
2027.61 s
[opt-env-conf-test] + settingMetavar = N o t hi n g ,
2027.61 s
[opt-env-conf-test] settingHelp = settingHelp s,
2027.61 s
[opt-env-conf-test] settingCompleter = Nothing,
2027.61 s
[opt-env-conf-test] settingRequiredCapabilities = Set.empty
2027.61 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:960:36-41
2027.61 s
[opt-env-conf-test] @@ -957,7 +957,7 @@
2027.61 s
[opt-env-conf-test] Setting
2027.61 s
[opt-env-conf-test] { settingDasheds = [],
2027.61 s
[opt-env-conf-test] settingReaders = [],
2027.61 s
[opt-env-conf-test] - settingTryArgument = F al s e,
2027.61 s
[opt-env-conf-test] + settingTryArgument = T ru e,
2027.61 s
[opt-env-conf-test] settingSwitchValue = Nothing,
2027.61 s
[opt-env-conf-test] settingTryOption = False,
2027.61 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.61 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:962:34-39
2027.61 s
[opt-env-conf-test] @@ -959,7 +959,7 @@
2027.61 s
[opt-env-conf-test] settingReaders = [],
2027.61 s
[opt-env-conf-test] settingTryArgument = False,
2027.61 s
[opt-env-conf-test] settingSwitchValue = Nothing,
2027.61 s
[opt-env-conf-test] - settingTryOption = F al s e,
2027.61 s
[opt-env-conf-test] + settingTryOption = T ru e,
2027.61 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.61 s
[opt-env-conf-test] settingConfigVals = Just ne,
2027.61 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.61 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:964:35-42
2027.61 s
[opt-env-conf-test] @@ -961,7 +961,7 @@
2027.61 s
[opt-env-conf-test] settingSwitchValue = Nothing,
2027.62 s
[opt-env-conf-test] settingTryOption = False,
2027.62 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.62 s
[opt-env-conf-test] - settingConfigVals = J us t n e ,
2027.62 s
[opt-env-conf-test] + settingConfigVals = N o t hi n g ,
2027.62 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.62 s
[opt-env-conf-test] settingExamples = [],
2027.62 s
[opt-env-conf-test] settingHidden = False,
2027.62 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:967:31-36
2027.62 s
[opt-env-conf-test] @@ -964,7 +964,7 @@
2027.62 s
[opt-env-conf-test] settingConfigVals = Just ne,
2027.62 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.62 s
[opt-env-conf-test] settingExamples = [],
2027.62 s
[opt-env-conf-test] - settingHidden = F al s e,
2027.62 s
[opt-env-conf-test] + settingHidden = T ru e,
2027.62 s
[opt-env-conf-test] settingMetavar = Nothing,
2027.62 s
[opt-env-conf-test] settingHelp = settingHelp s,
2027.62 s
[opt-env-conf-test] settingCompleter = Nothing,
2027.62 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:979:34-39
2027.62 s
[opt-env-conf-test] @@ -976,7 +976,7 @@
2027.62 s
[opt-env-conf-test] Setting
2027.62 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
2027.62 s
[opt-env-conf-test] settingReaders = [],
2027.62 s
[opt-env-conf-test] - settingTryArgument = F al s e,
2027.62 s
[opt-env-conf-test] + settingTryArgument = T ru e,
2027.62 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
2027.62 s
[opt-env-conf-test] settingTryOption = False,
2027.62 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.62 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:980:39-43
2027.62 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
2027.62 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
2027.62 s
[opt-env-conf-test] settingReaders = [],
2027.63 s
[opt-env-conf-test] settingTryArgument = False,
2027.63 s
[opt-env-conf-test] - settingSwitchValue = Just Tr u e, -- Unused
2027.63 s
[opt-env-conf-test] + settingSwitchValue = Just F a ls e, -- Unused
2027.63 s
[opt-env-conf-test] settingTryOption = False,
2027.63 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.63 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.63 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:980:34-43
2027.63 s
[opt-env-conf-test] @@ -977,7 +977,7 @@
2027.63 s
[opt-env-conf-test] { settingDasheds = mapMaybe (prefixDashedLong helpPrefix) (settingDasheds s),
2027.63 s
[opt-env-conf-test] settingReaders = [],
2027.63 s
[opt-env-conf-test] settingTryArgument = False,
2027.63 s
[opt-env-conf-test] - settingSwitchValue = J u s t T ru e , -- Unused
2027.63 s
[opt-env-conf-test] + settingSwitchValue = No t hing , -- Unused
2027.63 s
[opt-env-conf-test] settingTryOption = False,
2027.63 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.63 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.63 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:981:32-37
2027.63 s
[opt-env-conf-test] @@ -978,7 +978,7 @@
2027.63 s
[opt-env-conf-test] settingReaders = [],
2027.63 s
[opt-env-conf-test] settingTryArgument = False,
2027.63 s
[opt-env-conf-test] settingSwitchValue = Just True, -- Unused
2027.63 s
[opt-env-conf-test] - settingTryOption = F al s e,
2027.63 s
[opt-env-conf-test] + settingTryOption = T ru e,
2027.63 s
[opt-env-conf-test] settingEnvVars = Nothing,
2027.63 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.63 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.63 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:986:29-34
2027.63 s
[opt-env-conf-test] @@ -983,7 +983,7 @@
2027.63 s
[opt-env-conf-test] settingConfigVals = Nothing,
2027.63 s
[opt-env-conf-test] settingDefaultValue = Nothing,
2027.63 s
[opt-env-conf-test] settingExamples = [],
2027.63 s
[opt-env-conf-test] - settingHidden = F al s e,
2027.63 s
[opt-env-conf-test] + settingHidden = T ru e,
2027.63 s
[opt-env-conf-test] settingMetavar = Nothing,
2027.63 s
[opt-env-conf-test] settingHelp = settingHelp s,
2027.63 s
[opt-env-conf-test] settingCompleter = Nothing,
2027.63 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
2027.63 s
[opt-env-conf-test] @@ -480,10 +480,7 @@
2027.63 s
[opt-env-conf-test] withFrozenCallStack $
2027.63 s
[opt-env-conf-test] setting $
2027.63 s
[opt-env-conf-test] builders
2027.63 s
[opt-env-conf-test] - ++ [ reader str,
2027.63 s
[opt-env-conf-test] - metavar "FILE_PATH",
2027.63 s
[opt-env-conf-test] - completer filePath
2027.63 s
[opt-env-conf-test] ]
2027.64 s
[opt-env-conf-test]
2027.64 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
2027.64 s
[opt-env-conf-test] --
2027.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
2027.64 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
2027.64 s
[opt-env-conf-test] withFrozenCallStack $
2027.64 s
[opt-env-conf-test] setting $
2027.64 s
[opt-env-conf-test] builders
2027.64 s
[opt-env-conf-test] - ++ [ reader str,
2027.64 s
[opt-env-conf-test] metavar "FILE_PATH",
2027.64 s
[opt-env-conf-test] completer filePath
2027.64 s
[opt-env-conf-test] ]
2027.64 s
[opt-env-conf-test]
2027.64 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
2027.64 s
[opt-env-conf-test] --
2027.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:483:14-15
2027.64 s
[opt-env-conf-test] @@ -480,10 +480,9 @@
2027.64 s
[opt-env-conf-test] withFrozenCallStack $
2027.64 s
[opt-env-conf-test] setting $
2027.64 s
[opt-env-conf-test] builders
2027.64 s
[opt-env-conf-test] ++ [ reader str,
2027.64 s
[opt-env-conf-test] metavar "FILE_PATH",
2027.64 s
[opt-env-conf-test] - completer filePath
2027.64 s
[opt-env-conf-test] ]
2027.64 s
[opt-env-conf-test]
2027.64 s
[opt-env-conf-test] -- | A setting for @Path Abs dir@.
2027.64 s
[opt-env-conf-test] --
2027.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
2027.64 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
2027.64 s
[opt-env-conf-test] long "config-file",
2027.64 s
[opt-env-conf-test] env "CONFIG_FILE",
2027.64 s
[opt-env-conf-test] help "Path to the configuration file",
2027.64 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
2027.64 s
[opt-env-conf-test] ]
2027.64 s
[opt-env-conf-test]
2027.64 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
2027.64 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:829:41-58
2027.64 s
[opt-env-conf-test] @@ -826,7 +826,6 @@
2027.64 s
[opt-env-conf-test] long "config-file",
2027.64 s
[opt-env-conf-test] env "CONFIG_FILE",
2027.64 s
[opt-env-conf-test] help "Path to the configuration file",
2027.64 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
2027.64 s
[opt-env-conf-test] ]
2027.64 s
[opt-env-conf-test]
2027.64 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
2027.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
2027.65 s
[opt-env-conf-test] @@ -822,12 +822,7 @@
2027.65 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
2027.65 s
[opt-env-conf-test] configuredConfigFile =
2027.65 s
[opt-env-conf-test] filePathSetting
2027.65 s
[opt-env-conf-test] - [ option,
2027.65 s
[opt-env-conf-test] - long "config-file",
2027.65 s
[opt-env-conf-test] - env "CONFIG_FILE",
2027.65 s
[opt-env-conf-test] - help "Path to the configuration file",
2027.65 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
2027.65 s
[opt-env-conf-test] ]
2027.65 s
[opt-env-conf-test]
2027.65 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
2027.65 s
[opt-env-conf-test] --
2027.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
2027.65 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
2027.65 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
2027.65 s
[opt-env-conf-test] configuredConfigFile =
2027.65 s
[opt-env-conf-test] filePathSetting
2027.65 s
[opt-env-conf-test] - [ option,
2027.65 s
[opt-env-conf-test] long "config-file",
2027.65 s
[opt-env-conf-test] env "CONFIG_FILE",
2027.65 s
[opt-env-conf-test] help "Path to the configuration file",
2027.65 s
[opt-env-conf-test] completer (filePathWithExtensions [".yaml", ".yml"])
2027.65 s
[opt-env-conf-test] ]
2027.65 s
[opt-env-conf-test]
2027.65 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
2027.65 s
[opt-env-conf-test] --
2027.65 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:825:5-6
2027.65 s
[opt-env-conf-test] @@ -822,12 +822,11 @@
2029.75 s
[opt-env-conf-test] configuredConfigFile :: (HasCallStack) => Parser (Path Abs File)
2029.82 s
[opt-env-conf-test] configuredConfigFile =
2029.82 s
[opt-env-conf-test] filePathSetting
2029.82 s
[opt-env-conf-test] [ option,
2029.82 s
[opt-env-conf-test] long "config-file",
2029.82 s
[opt-env-conf-test] env "CONFIG_FILE",
2029.82 s
[opt-env-conf-test] help "Path to the configuration file",
2029.82 s
[opt-env-conf-test] - completer (filePathWithExtensions [".yaml", ".yml"])
2029.82 s
[opt-env-conf-test] ]
2029.82 s
[opt-env-conf-test]
2029.82 s
[opt-env-conf-test] -- | Define a setting for a 'Bool' with a given default value.
2029.82 s
[opt-env-conf-test] --
2029.82 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Parser.hs:774:47-68
2029.82 s
[opt-env-conf-test] @@ -771,7 +771,7 @@
2029.82 s
[opt-env-conf-test] combineMaybeObjects :: Maybe JSON.Object -> Maybe JSON.Object -> Maybe JSON.Object
2029.82 s
[opt-env-conf-test] combineMaybeObjects Nothing mo = mo
2029.82 s
[opt-env-conf-test] combineMaybeObjects mo Nothing = mo
2029.82 s
[opt-env-conf-test] - combineMaybeObjects (Just o1) (Just o2) = J u s t (comb in e r o 1 o2)
2029.82 s
[opt-env-conf-test] + combineMaybeObjects (Just o1) (Just o2) = No t h in g
2029.82 s
[opt-env-conf-test]
2029.82 s
[opt-env-conf-test] combineConfigObjects :: JSON.Object -> JSON.Object -> JSON.Object
2029.82 s
[opt-env-conf-test] combineConfigObjects = KM.unionWith combineValues
2029.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
2029.82 s
[opt-env-conf-test] @@ -497,10 +497,7 @@
2029.82 s
[opt-env-conf-test] withFrozenCallStack $
2029.82 s
[opt-env-conf-test] setting $
2029.82 s
[opt-env-conf-test] builders
2029.82 s
[opt-env-conf-test] - ++ [ reader str,
2029.82 s
[opt-env-conf-test] - metavar "DIRECTORY_PATH",
2029.82 s
[opt-env-conf-test] - completer directoryPath
2029.82 s
[opt-env-conf-test] ]
2029.82 s
[opt-env-conf-test]
2029.82 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
2029.82 s
[opt-env-conf-test] --
2029.82 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
2029.82 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
2029.83 s
[opt-env-conf-test] withFrozenCallStack $
2029.83 s
[opt-env-conf-test] setting $
2029.83 s
[opt-env-conf-test] builders
2029.83 s
[opt-env-conf-test] - ++ [ reader str,
2029.83 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
2029.83 s
[opt-env-conf-test] completer directoryPath
2029.83 s
[opt-env-conf-test] ]
2029.83 s
[opt-env-conf-test]
2029.83 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
2029.83 s
[opt-env-conf-test] --
2029.83 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:500:14-15
2029.83 s
[opt-env-conf-test] @@ -497,10 +497,9 @@
2029.83 s
[opt-env-conf-test] withFrozenCallStack $
2029.83 s
[opt-env-conf-test] setting $
2029.83 s
[opt-env-conf-test] builders
2029.83 s
[opt-env-conf-test] ++ [ reader str,
2029.83 s
[opt-env-conf-test] metavar "DIRECTORY_PATH",
2029.83 s
[opt-env-conf-test] - completer directoryPath
2029.83 s
[opt-env-conf-test] ]
2029.83 s
[opt-env-conf-test]
2029.83 s
[opt-env-conf-test] -- | A 'setting' with 'option', a 'reader' set to 'str', and the 'metavar' set to @STR@.
2029.83 s
[opt-env-conf-test] --
2029.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
2029.83 s
[opt-env-conf-test] @@ -785,11 +785,10 @@
2029.83 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
2029.83 s
[opt-env-conf-test] mapIO
2029.83 s
[opt-env-conf-test] ( \mXdgDir -> do
2029.83 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
2029.83 s
[opt-env-conf-test] - Just d -> resolveDir' d
2029.83 s
[opt-env-conf-test] Nothing -> do
2029.83 s
[opt-env-conf-test] home <- getHomeDir
2029.83 s
[opt-env-conf-test] resolveDir home ".config"
2029.83 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
2029.83 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
2029.83 s
[opt-env-conf-test] )
2029.83 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:788:19-38
2029.83 s
[opt-env-conf-test] @@ -785,11 +785,8 @@
2029.83 s
[opt-env-conf-test] xdgYamlConfigFile subdir =
2029.83 s
[opt-env-conf-test] mapIO
2029.83 s
[opt-env-conf-test] ( \mXdgDir -> do
2029.83 s
[opt-env-conf-test] xdgDir <- case mXdgDir of
2029.83 s
[opt-env-conf-test] Just d -> resolveDir' d
2029.83 s
[opt-env-conf-test] - Nothing -> do
2029.83 s
[opt-env-conf-test] - home <- getHomeDir
2029.83 s
[opt-env-conf-test] - resolveDir home ".config"
2029.83 s
[opt-env-conf-test] configDir <- resolveDir xdgDir subdir
2029.83 s
[opt-env-conf-test] resolveFile configDir "config.yaml"
2029.83 s
[opt-env-conf-test] )
2029.83 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
2029.83 s
[opt-env-conf-test] @@ -796,12 +796,7 @@
2029.83 s
[opt-env-conf-test] $ optional
2029.83 s
[opt-env-conf-test] $ withFrozenCallStack
2029.83 s
[opt-env-conf-test] $ setting
2029.83 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
2029.83 s
[opt-env-conf-test] - reader str,
2029.83 s
[opt-env-conf-test] - env "XDG_CONFIG_HOME",
2029.83 s
[opt-env-conf-test] - metavar "DIRECTORY",
2029.83 s
[opt-env-conf-test] - hidden
2029.83 s
[opt-env-conf-test] ]
2029.83 s
[opt-env-conf-test]
2029.83 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
2029.83 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
2029.83 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
2029.83 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
2029.83 s
[opt-env-conf-test] $ optional
2029.83 s
[opt-env-conf-test] $ withFrozenCallStack
2029.83 s
[opt-env-conf-test] $ setting
2029.83 s
[opt-env-conf-test] - [ help "Path to the XDG configuration directory",
2029.84 s
[opt-env-conf-test] reader str,
2029.84 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
2029.84 s
[opt-env-conf-test] metavar "DIRECTORY",
2029.84 s
[opt-env-conf-test] hidden
2029.84 s
[opt-env-conf-test] ]
2029.84 s
[opt-env-conf-test]
2029.84 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
2029.84 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
2029.84 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Parser.hs:799:7-8
2029.84 s
[opt-env-conf-test] @@ -796,12 +796,11 @@
2029.84 s
[opt-env-conf-test] $ optional
2029.84 s
[opt-env-conf-test] $ withFrozenCallStack
2029.84 s
[opt-env-conf-test] $ setting
2029.84 s
[opt-env-conf-test] [ help "Path to the XDG configuration directory",
2029.84 s
[opt-env-conf-test] reader str,
2029.84 s
[opt-env-conf-test] env "XDG_CONFIG_HOME",
2029.84 s
[opt-env-conf-test] metavar "DIRECTORY",
2029.84 s
[opt-env-conf-test] - hidden
2029.84 s
[opt-env-conf-test] ]
2029.84 s
[opt-env-conf-test]
2029.84 s
[opt-env-conf-test] -- | Load a config file that is reconfigurable with an option and environment
2029.84 s
[opt-env-conf-test] -- variable but @config.yaml@ in the local working directory by default.
2029.84 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
2029.84 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2029.84 s
[opt-env-conf-test] where
2029.84 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2029.84 s
[opt-env-conf-test] go d = \case
2029.84 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] ParserAp pf pa ->
2029.84 s
[opt-env-conf-test] showParen (d > 10) $
2029.84 s
[opt-env-conf-test] showString "Ap "
2029.84 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
2029.84 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2029.84 s
[opt-env-conf-test] where
2029.84 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2029.84 s
[opt-env-conf-test] go d = \case
2029.84 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] ParserAp pf pa ->
2029.84 s
[opt-env-conf-test] showParen (d > 10) $
2029.84 s
[opt-env-conf-test] showString "Ap "
2029.84 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:304:38-40
2029.84 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2029.84 s
[opt-env-conf-test] where
2029.84 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2029.84 s
[opt-env-conf-test] go d = \case
2029.84 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] ParserAp pf pa ->
2029.84 s
[opt-env-conf-test] showParen (d > 10) $
2029.84 s
[opt-env-conf-test] showString "Ap "
2029.84 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
2029.84 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2029.84 s
[opt-env-conf-test] where
2029.84 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2029.84 s
[opt-env-conf-test] go d = \case
2029.84 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < 10) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] ParserAp pf pa ->
2029.84 s
[opt-env-conf-test] showParen (d > 10) $
2029.84 s
[opt-env-conf-test] showString "Ap "
2029.84 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
2029.84 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2029.84 s
[opt-env-conf-test] where
2029.84 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2029.84 s
[opt-env-conf-test] go d = \case
2029.84 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] + ParserPure _ -> showParen (d < = 10) $ showString "Pure _"
2029.84 s
[opt-env-conf-test] ParserAp pf pa ->
2029.84 s
[opt-env-conf-test] showParen (d > 10) $
2029.84 s
[opt-env-conf-test] showString "Ap "
2029.84 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:171:6-14
2029.84 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
2029.84 s
[opt-env-conf-test] -- import System.IO
2029.84 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
2029.84 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
2029.84 s
[opt-env-conf-test] - if enriched
2029.85 s
[opt-env-conf-test] + if n o t ( enriched )
2029.85 s
[opt-env-conf-test] then
2029.85 s
[opt-env-conf-test] putStr $
2029.85 s
[opt-env-conf-test] unlines $
2029.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
2029.85 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
2029.85 s
[opt-env-conf-test] -- import System.IO
2029.85 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
2029.85 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
2029.85 s
[opt-env-conf-test] - if e n r iched
2029.85 s
[opt-env-conf-test] + if F a l s e
2029.85 s
[opt-env-conf-test] then
2029.85 s
[opt-env-conf-test] putStr $
2029.85 s
[opt-env-conf-test] unlines $
2029.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:171:6-14
2029.85 s
[opt-env-conf-test] @@ -168,7 +168,7 @@
2029.85 s
[opt-env-conf-test] -- import System.IO
2029.85 s
[opt-env-conf-test] -- hPutStrLn stderr $ show (enriched, index, ws)
2029.85 s
[opt-env-conf-test] -- hPutStrLn stderr $ show evaluatedCompletions
2029.85 s
[opt-env-conf-test] - if e n r i ch e d
2029.85 s
[opt-env-conf-test] + if T r u e
2029.85 s
[opt-env-conf-test] then
2029.85 s
[opt-env-conf-test] putStr $
2029.85 s
[opt-env-conf-test] unlines $
2029.85 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
2029.85 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
2029.85 s
[opt-env-conf-test] --
2029.85 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
2029.85 s
[opt-env-conf-test] let index = pred index'
2029.85 s
[opt-env-conf-test] - let ws = drop 1 ws'
2029.85 s
[opt-env-conf-test] + let ws = drop - 1 ws'
2039.75 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
2039.75 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
2039.77 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
2039.77 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:487:32-39
2039.77 s
[opt-env-conf-test] @@ -484,4 +484,4 @@
2039.77 s
[opt-env-conf-test] -- this branch, improving completions when one branch
2039.77 s
[opt-env-conf-test] -- is env/conf-only and the other has args/options.
2039.77 s
[opt-env-conf-test] -- This would require IO or an environment parameter.
2039.77 s
[opt-env-conf-test] - pure $ J u s t [ ]
2039.77 s
[opt-env-conf-test] + pure $ No t h ing
2039.77 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Completion.hs:163:17-18
2039.77 s
[opt-env-conf-test] @@ -160,7 +160,7 @@
2039.77 s
[opt-env-conf-test] --
2039.77 s
[opt-env-conf-test] -- We use 'drop 1' here because we don't care about the progname anymore.
2039.77 s
[opt-env-conf-test] let index = pred index'
2039.77 s
[opt-env-conf-test] - let ws = drop 1 ws'
2039.77 s
[opt-env-conf-test] + let ws = drop 0 ws'
2039.77 s
[opt-env-conf-test] let arg = fromMaybe "" $ listToMaybe $ drop index ws
2039.77 s
[opt-env-conf-test] let completions = pureCompletionQuery parser index ws
2039.77 s
[opt-env-conf-test] evaluatedCompletions <- evalCompletions arg completions
2039.77 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:304:34-40
2039.77 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2039.77 s
[opt-env-conf-test] where
2039.77 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] showParen (d > 10) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] - showParen (d > 1 0) $
2039.78 s
[opt-env-conf-test] + showParen (d > 0) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] . go 11 pf
2039.78 s
[opt-env-conf-test] . showString " "
2039.78 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2039.78 s
[opt-env-conf-test] + showParen (d > 1 ) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] . go 11 pf
2039.78 s
[opt-env-conf-test] . showString " "
2039.78 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:306:24-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] - showParen (d > 10) $
2039.78 s
[opt-env-conf-test] + showParen (d > - 10) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] . go 11 pf
2039.78 s
[opt-env-conf-test] . showString " "
2039.78 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] - showParen (d > 10) $
2039.78 s
[opt-env-conf-test] + showParen (d < 10) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] . go 11 pf
2039.78 s
[opt-env-conf-test] . showString " "
2039.78 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] - showParen (d > 10) $
2039.78 s
[opt-env-conf-test] + showParen (d < = 10) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] . go 11 pf
2039.78 s
[opt-env-conf-test] . showString " "
2039.78 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:306:20-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] - showParen (d > 10) $
2039.78 s
[opt-env-conf-test] + showParen (d > = 10) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] . go 11 pf
2039.78 s
[opt-env-conf-test] . showString " "
2039.78 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.78 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.78 s
[opt-env-conf-test] ParserAp pf pa ->
2039.78 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2039.78 s
[opt-env-conf-test] + showParen ( Tru e ) $
2039.78 s
[opt-env-conf-test] showString "Ap "
2039.78 s
[opt-env-conf-test] . go 11 pf
2039.78 s
[opt-env-conf-test] . showString " "
2039.78 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:20-26
2039.78 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.78 s
[opt-env-conf-test] go d = \case
2039.79 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2039.79 s
[opt-env-conf-test] + showParen ( F a lse ) $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] . go 11 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:20-26
2039.79 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.79 s
[opt-env-conf-test] go d = \case
2039.79 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] - showPare n (d > 10) $
2039.79 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] . go 11 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
2039.79 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.79 s
[opt-env-conf-test] go d = \case
2039.79 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2039.79 s
[opt-env-conf-test] + showParen T ru e $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] . go 11 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:306:19-27
2039.79 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.79 s
[opt-env-conf-test] go d = \case
2039.79 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2039.79 s
[opt-env-conf-test] + showParen F a ls e $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] . go 11 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:306:19-27
2039.79 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2039.79 s
[opt-env-conf-test] go d = \case
2039.79 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] - showPare n ( d > 10) $
2039.79 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] . go 11 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
2039.79 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] showParen (d > 10) $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] - . go 1 1 pf
2039.79 s
[opt-env-conf-test] + . go 0 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] . go 11 pa
2039.79 s
[opt-env-conf-test] ParserSelect pe pf ->
2039.79 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
2039.79 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] showParen (d > 10) $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] - . go 1 1 pf
2039.79 s
[opt-env-conf-test] + . go 1 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] . go 11 pa
2039.79 s
[opt-env-conf-test] ParserSelect pe pf ->
2039.79 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:308:18-20
2039.79 s
[opt-env-conf-test] @@ -305,7 +305,7 @@
2039.79 s
[opt-env-conf-test] ParserAp pf pa ->
2039.79 s
[opt-env-conf-test] showParen (d > 10) $
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] - . go 11 pf
2039.79 s
[opt-env-conf-test] + . go - 11 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] . go 11 pa
2039.79 s
[opt-env-conf-test] ParserSelect pe pf ->
2039.79 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
2039.79 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
2039.79 s
[opt-env-conf-test] showString "Ap "
2039.79 s
[opt-env-conf-test] . go 11 pf
2039.79 s
[opt-env-conf-test] . showString " "
2039.79 s
[opt-env-conf-test] - . go 1 1 pa
2039.79 s
[opt-env-conf-test] + . go 0 pa
2040.09 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.09 s
[opt-env-conf-test] showParen (d > 10) $
2040.09 s
[opt-env-conf-test] showString "Select "
2040.09 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
2040.09 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
2040.09 s
[opt-env-conf-test] showString "Ap "
2040.09 s
[opt-env-conf-test] . go 11 pf
2040.09 s
[opt-env-conf-test] . showString " "
2040.09 s
[opt-env-conf-test] - . go 1 1 pa
2040.09 s
[opt-env-conf-test] + . go 1 pa
2040.10 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.10 s
[opt-env-conf-test] showParen (d > 10) $
2040.10 s
[opt-env-conf-test] showString "Select "
2040.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:310:18-20
2040.10 s
[opt-env-conf-test] @@ -307,7 +307,7 @@
2040.10 s
[opt-env-conf-test] showString "Ap "
2040.10 s
[opt-env-conf-test] . go 11 pf
2040.10 s
[opt-env-conf-test] . showString " "
2040.10 s
[opt-env-conf-test] - . go 11 pa
2040.10 s
[opt-env-conf-test] + . go - 11 pa
2040.10 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.10 s
[opt-env-conf-test] showParen (d > 10) $
2040.10 s
[opt-env-conf-test] showString "Select "
2040.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
2040.10 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.10 s
[opt-env-conf-test] . showString " "
2040.10 s
[opt-env-conf-test] . go 11 pa
2040.10 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.10 s
[opt-env-conf-test] - showParen (d > 1 0) $
2040.10 s
[opt-env-conf-test] + showParen (d > 0) $
2040.10 s
[opt-env-conf-test] showString "Select "
2040.10 s
[opt-env-conf-test] . go 11 pe
2040.10 s
[opt-env-conf-test] . showString " "
2040.10 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
2040.10 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.10 s
[opt-env-conf-test] . showString " "
2040.10 s
[opt-env-conf-test] . go 11 pa
2040.10 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.10 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2040.10 s
[opt-env-conf-test] + showParen (d > 1 ) $
2040.10 s
[opt-env-conf-test] showString "Select "
2040.10 s
[opt-env-conf-test] . go 11 pe
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:312:24-26
2040.11 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] . go 11 pa
2040.11 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.11 s
[opt-env-conf-test] - showParen (d > 10) $
2040.11 s
[opt-env-conf-test] + showParen (d > - 10) $
2040.11 s
[opt-env-conf-test] showString "Select "
2040.11 s
[opt-env-conf-test] . go 11 pe
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
2040.11 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] . go 11 pa
2040.11 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.11 s
[opt-env-conf-test] - showParen (d > 10) $
2040.11 s
[opt-env-conf-test] + showParen (d < 10) $
2040.11 s
[opt-env-conf-test] showString "Select "
2040.11 s
[opt-env-conf-test] . go 11 pe
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
2040.11 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] . go 11 pa
2040.11 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.11 s
[opt-env-conf-test] - showParen (d > 10) $
2040.11 s
[opt-env-conf-test] + showParen (d < = 10) $
2040.11 s
[opt-env-conf-test] showString "Select "
2040.11 s
[opt-env-conf-test] . go 11 pe
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:312:20-26
2040.11 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.11 s
[opt-env-conf-test] . showString " "
2040.11 s
[opt-env-conf-test] . go 11 pa
2040.11 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.11 s
[opt-env-conf-test] - showParen (d > 10) $
2040.12 s
[opt-env-conf-test] + showParen (d > = 10) $
2040.12 s
[opt-env-conf-test] showString "Select "
2040.12 s
[opt-env-conf-test] . go 11 pe
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
2040.12 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] . go 11 pa
2040.12 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.12 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2040.12 s
[opt-env-conf-test] + showParen ( Tru e ) $
2040.12 s
[opt-env-conf-test] showString "Select "
2040.12 s
[opt-env-conf-test] . go 11 pe
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:20-26
2040.12 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] . go 11 pa
2040.12 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.12 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2040.12 s
[opt-env-conf-test] + showParen ( F a lse ) $
2040.12 s
[opt-env-conf-test] showString "Select "
2040.12 s
[opt-env-conf-test] . go 11 pe
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:20-26
2040.12 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] . go 11 pa
2040.12 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.12 s
[opt-env-conf-test] - showPare n (d > 10) $
2040.12 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2040.12 s
[opt-env-conf-test] showString "Select "
2040.12 s
[opt-env-conf-test] . go 11 pe
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
2040.12 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.12 s
[opt-env-conf-test] . showString " "
2040.12 s
[opt-env-conf-test] . go 11 pa
2040.12 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.12 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2040.12 s
[opt-env-conf-test] + showParen T ru e $
2040.13 s
[opt-env-conf-test] showString "Select "
2040.13 s
[opt-env-conf-test] . go 11 pe
2040.13 s
[opt-env-conf-test] . showString " "
2040.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:312:19-27
2040.13 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.13 s
[opt-env-conf-test] . showString " "
2040.13 s
[opt-env-conf-test] . go 11 pa
2040.13 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.13 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2040.13 s
[opt-env-conf-test] + showParen F a ls e $
2040.13 s
[opt-env-conf-test] showString "Select "
2040.13 s
[opt-env-conf-test] . go 11 pe
2040.13 s
[opt-env-conf-test] . showString " "
2040.13 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:312:19-27
2040.13 s
[opt-env-conf-test] @@ -309,7 +309,7 @@
2040.13 s
[opt-env-conf-test] . showString " "
2040.13 s
[opt-env-conf-test] . go 11 pa
2040.13 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.13 s
[opt-env-conf-test] - showPare n ( d > 10) $
2040.13 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2040.13 s
[opt-env-conf-test] showString "Select "
2040.13 s
[opt-env-conf-test] . go 11 pe
2040.13 s
[opt-env-conf-test] . showString " "
2040.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
2040.13 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
2040.13 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.13 s
[opt-env-conf-test] showParen (d > 10) $
2040.13 s
[opt-env-conf-test] showString "Select "
2040.13 s
[opt-env-conf-test] - . go 1 1 pe
2040.13 s
[opt-env-conf-test] + . go 0 pe
2040.13 s
[opt-env-conf-test] . showString " "
2040.13 s
[opt-env-conf-test] . go 11 pf
2040.13 s
[opt-env-conf-test] ParserEmpty mLoc ->
2040.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
2040.13 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
2040.13 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.13 s
[opt-env-conf-test] showParen (d > 10) $
2040.13 s
[opt-env-conf-test] showString "Select "
2040.13 s
[opt-env-conf-test] - . go 1 1 pe
2040.13 s
[opt-env-conf-test] + . go 1 pe
2040.13 s
[opt-env-conf-test] . showString " "
2040.13 s
[opt-env-conf-test] . go 11 pf
2040.13 s
[opt-env-conf-test] ParserEmpty mLoc ->
2040.13 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:314:18-20
2040.14 s
[opt-env-conf-test] @@ -311,7 +311,7 @@
2040.14 s
[opt-env-conf-test] ParserSelect pe pf ->
2040.14 s
[opt-env-conf-test] showParen (d > 10) $
2040.14 s
[opt-env-conf-test] showString "Select "
2040.14 s
[opt-env-conf-test] - . go 11 pe
2040.14 s
[opt-env-conf-test] + . go - 11 pe
2040.14 s
[opt-env-conf-test] . showString " "
2040.14 s
[opt-env-conf-test] . go 11 pf
2040.14 s
[opt-env-conf-test] ParserEmpty mLoc ->
2040.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
2040.14 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
2040.14 s
[opt-env-conf-test] showString "Select "
2040.14 s
[opt-env-conf-test] . go 11 pe
2040.14 s
[opt-env-conf-test] . showString " "
2040.14 s
[opt-env-conf-test] - . go 1 1 pf
2040.14 s
[opt-env-conf-test] + . go 0 pf
2040.14 s
[opt-env-conf-test] ParserEmpty mLoc ->
2040.14 s
[opt-env-conf-test] showString "Empty "
2040.14 s
[opt-env-conf-test] . showsPrec 11 mLoc
2040.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
2040.14 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
2040.14 s
[opt-env-conf-test] showString "Select "
2040.14 s
[opt-env-conf-test] . go 11 pe
2040.14 s
[opt-env-conf-test] . showString " "
2040.14 s
[opt-env-conf-test] - . go 1 1 pf
2040.14 s
[opt-env-conf-test] + . go 1 pf
2040.14 s
[opt-env-conf-test] ParserEmpty mLoc ->
2040.14 s
[opt-env-conf-test] showString "Empty "
2040.14 s
[opt-env-conf-test] . showsPrec 11 mLoc
2040.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:316:18-20
2040.14 s
[opt-env-conf-test] @@ -313,7 +313,7 @@
2040.14 s
[opt-env-conf-test] showString "Select "
2040.14 s
[opt-env-conf-test] . go 11 pe
2040.14 s
[opt-env-conf-test] . showString " "
2040.14 s
[opt-env-conf-test] - . go 11 pf
2040.14 s
[opt-env-conf-test] + . go - 11 pf
2040.14 s
[opt-env-conf-test] ParserEmpty mLoc ->
2040.14 s
[opt-env-conf-test] showString "Empty "
2040.14 s
[opt-env-conf-test] . showsPrec 11 mLoc
2040.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
2040.14 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
2040.14 s
[opt-env-conf-test] . go 11 pf
2040.14 s
[opt-env-conf-test] ParserEmpty mLoc ->
2040.14 s
[opt-env-conf-test] showString "Empty "
2054.87 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2054.89 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2054.89 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.89 s
[opt-env-conf-test] showParen (d > 10) $
2054.89 s
[opt-env-conf-test] showString "Alt "
2054.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
2054.89 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
2054.89 s
[opt-env-conf-test] . go 11 pf
2054.89 s
[opt-env-conf-test] ParserEmpty mLoc ->
2054.89 s
[opt-env-conf-test] showString "Empty "
2054.89 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2054.89 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2054.89 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.89 s
[opt-env-conf-test] showParen (d > 10) $
2054.89 s
[opt-env-conf-test] showString "Alt "
2054.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:319:23-25
2054.89 s
[opt-env-conf-test] @@ -316,7 +316,7 @@
2054.89 s
[opt-env-conf-test] . go 11 pf
2054.89 s
[opt-env-conf-test] ParserEmpty mLoc ->
2054.89 s
[opt-env-conf-test] showString "Empty "
2054.89 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2054.89 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2054.89 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.89 s
[opt-env-conf-test] showParen (d > 10) $
2054.89 s
[opt-env-conf-test] showString "Alt "
2054.89 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
2054.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.90 s
[opt-env-conf-test] showString "Empty "
2054.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.90 s
[opt-env-conf-test] - showParen (d > 1 0) $
2054.90 s
[opt-env-conf-test] + showParen (d > 0) $
2054.90 s
[opt-env-conf-test] showString "Alt "
2054.90 s
[opt-env-conf-test] . go 11 p1
2054.90 s
[opt-env-conf-test] . showString " "
2054.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
2054.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.90 s
[opt-env-conf-test] showString "Empty "
2054.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.90 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2054.90 s
[opt-env-conf-test] + showParen (d > 1 ) $
2054.90 s
[opt-env-conf-test] showString "Alt "
2054.90 s
[opt-env-conf-test] . go 11 p1
2054.90 s
[opt-env-conf-test] . showString " "
2054.90 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:321:24-26
2054.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.90 s
[opt-env-conf-test] showString "Empty "
2054.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.90 s
[opt-env-conf-test] - showParen (d > 10) $
2054.90 s
[opt-env-conf-test] + showParen (d > - 10) $
2054.90 s
[opt-env-conf-test] showString "Alt "
2054.90 s
[opt-env-conf-test] . go 11 p1
2054.90 s
[opt-env-conf-test] . showString " "
2054.90 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
2054.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.90 s
[opt-env-conf-test] showString "Empty "
2054.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.90 s
[opt-env-conf-test] - showParen (d > 10) $
2054.90 s
[opt-env-conf-test] + showParen (d < 10) $
2054.90 s
[opt-env-conf-test] showString "Alt "
2054.90 s
[opt-env-conf-test] . go 11 p1
2054.90 s
[opt-env-conf-test] . showString " "
2054.90 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
2054.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.90 s
[opt-env-conf-test] showString "Empty "
2054.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.90 s
[opt-env-conf-test] - showParen (d > 10) $
2054.90 s
[opt-env-conf-test] + showParen (d < = 10) $
2054.90 s
[opt-env-conf-test] showString "Alt "
2054.90 s
[opt-env-conf-test] . go 11 p1
2054.90 s
[opt-env-conf-test] . showString " "
2054.90 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:321:20-26
2054.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.90 s
[opt-env-conf-test] showString "Empty "
2054.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.90 s
[opt-env-conf-test] - showParen (d > 10) $
2054.90 s
[opt-env-conf-test] + showParen (d > = 10) $
2054.90 s
[opt-env-conf-test] showString "Alt "
2054.90 s
[opt-env-conf-test] . go 11 p1
2054.90 s
[opt-env-conf-test] . showString " "
2054.90 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
2054.90 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.90 s
[opt-env-conf-test] showString "Empty "
2054.90 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.90 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2054.91 s
[opt-env-conf-test] + showParen ( Tru e ) $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] . go 11 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:20-26
2054.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.91 s
[opt-env-conf-test] showString "Empty "
2054.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2054.91 s
[opt-env-conf-test] + showParen ( F a lse ) $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] . go 11 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:20-26
2054.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.91 s
[opt-env-conf-test] showString "Empty "
2054.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] - showPare n (d > 10) $
2054.91 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] . go 11 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
2054.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.91 s
[opt-env-conf-test] showString "Empty "
2054.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2054.91 s
[opt-env-conf-test] + showParen T ru e $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] . go 11 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:321:19-27
2054.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.91 s
[opt-env-conf-test] showString "Empty "
2054.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2054.91 s
[opt-env-conf-test] + showParen F a ls e $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] . go 11 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:321:19-27
2054.91 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2054.91 s
[opt-env-conf-test] showString "Empty "
2054.91 s
[opt-env-conf-test] . showsPrec 11 mLoc
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] - showPare n ( d > 10) $
2054.91 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] . go 11 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
2054.91 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] showParen (d > 10) $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] - . go 1 1 p1
2054.91 s
[opt-env-conf-test] + . go 0 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] . go 11 p2
2054.91 s
[opt-env-conf-test] ParserMany mLoc p ->
2054.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
2054.91 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] showParen (d > 10) $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] - . go 1 1 p1
2054.91 s
[opt-env-conf-test] + . go 1 p1
2054.91 s
[opt-env-conf-test] . showString " "
2054.91 s
[opt-env-conf-test] . go 11 p2
2054.91 s
[opt-env-conf-test] ParserMany mLoc p ->
2054.91 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:323:18-20
2054.91 s
[opt-env-conf-test] @@ -320,7 +320,7 @@
2054.91 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2054.91 s
[opt-env-conf-test] showParen (d > 10) $
2054.91 s
[opt-env-conf-test] showString "Alt "
2054.91 s
[opt-env-conf-test] - . go 11 p1
2054.92 s
[opt-env-conf-test] + . go - 11 p1
2054.92 s
[opt-env-conf-test] . showString " "
2054.92 s
[opt-env-conf-test] . go 11 p2
2054.92 s
[opt-env-conf-test] ParserMany mLoc p ->
2054.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
2054.92 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
2054.92 s
[opt-env-conf-test] showString "Alt "
2054.92 s
[opt-env-conf-test] . go 11 p1
2054.92 s
[opt-env-conf-test] . showString " "
2054.92 s
[opt-env-conf-test] - . go 1 1 p2
2054.92 s
[opt-env-conf-test] + . go 0 p2
2054.92 s
[opt-env-conf-test] ParserMany mLoc p ->
2054.92 s
[opt-env-conf-test] showParen (d > 10) $
2054.92 s
[opt-env-conf-test] showString "Many "
2054.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
2054.92 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
2054.92 s
[opt-env-conf-test] showString "Alt "
2054.92 s
[opt-env-conf-test] . go 11 p1
2054.92 s
[opt-env-conf-test] . showString " "
2054.92 s
[opt-env-conf-test] - . go 1 1 p2
2054.92 s
[opt-env-conf-test] + . go 1 p2
2054.92 s
[opt-env-conf-test] ParserMany mLoc p ->
2054.92 s
[opt-env-conf-test] showParen (d > 10) $
2054.92 s
[opt-env-conf-test] showString "Many "
2054.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:325:18-20
2054.92 s
[opt-env-conf-test] @@ -322,7 +322,7 @@
2054.92 s
[opt-env-conf-test] showString "Alt "
2054.92 s
[opt-env-conf-test] . go 11 p1
2054.92 s
[opt-env-conf-test] . showString " "
2054.92 s
[opt-env-conf-test] - . go 11 p2
2054.92 s
[opt-env-conf-test] + . go - 11 p2
2054.92 s
[opt-env-conf-test] ParserMany mLoc p ->
2054.92 s
[opt-env-conf-test] showParen (d > 10) $
2054.92 s
[opt-env-conf-test] showString "Many "
2054.92 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
2054.92 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.16 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] . go 11 p2
2062.21 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.21 s
[opt-env-conf-test] - showParen (d > 1 0) $
2062.21 s
[opt-env-conf-test] + showParen (d > 0) $
2062.21 s
[opt-env-conf-test] showString "Many "
2062.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.21 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
2062.21 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.21 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] . go 11 p2
2062.21 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.21 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2062.21 s
[opt-env-conf-test] + showParen (d > 1 ) $
2062.21 s
[opt-env-conf-test] showString "Many "
2062.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.21 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:327:24-26
2062.21 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.21 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] . go 11 p2
2062.21 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.21 s
[opt-env-conf-test] - showParen (d > 10) $
2062.21 s
[opt-env-conf-test] + showParen (d > - 10) $
2062.21 s
[opt-env-conf-test] showString "Many "
2062.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.21 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
2062.21 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.21 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] . go 11 p2
2062.21 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.21 s
[opt-env-conf-test] - showParen (d > 10) $
2062.21 s
[opt-env-conf-test] + showParen (d < 10) $
2062.21 s
[opt-env-conf-test] showString "Many "
2062.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.21 s
[opt-env-conf-test] . showString " "
2062.21 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
2062.21 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.21 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] . go 11 p2
2062.22 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.22 s
[opt-env-conf-test] - showParen (d > 10) $
2062.22 s
[opt-env-conf-test] + showParen (d < = 10) $
2062.22 s
[opt-env-conf-test] showString "Many "
2062.22 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:327:20-26
2062.22 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] . go 11 p2
2062.22 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.22 s
[opt-env-conf-test] - showParen (d > 10) $
2062.22 s
[opt-env-conf-test] + showParen (d > = 10) $
2062.22 s
[opt-env-conf-test] showString "Many "
2062.22 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
2062.22 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] . go 11 p2
2062.22 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.22 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2062.22 s
[opt-env-conf-test] + showParen ( Tru e ) $
2062.22 s
[opt-env-conf-test] showString "Many "
2062.22 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:20-26
2062.22 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] . go 11 p2
2062.22 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.22 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2062.22 s
[opt-env-conf-test] + showParen ( F a lse ) $
2062.22 s
[opt-env-conf-test] showString "Many "
2062.22 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:20-26
2062.22 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] . go 11 p2
2062.22 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.22 s
[opt-env-conf-test] - showPare n (d > 10) $
2062.22 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2062.22 s
[opt-env-conf-test] showString "Many "
2062.22 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
2062.22 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] . go 11 p2
2062.22 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.22 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2062.22 s
[opt-env-conf-test] + showParen T ru e $
2062.22 s
[opt-env-conf-test] showString "Many "
2062.22 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:327:19-27
2062.22 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] . go 11 p2
2062.22 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.22 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2062.22 s
[opt-env-conf-test] + showParen F a ls e $
2062.22 s
[opt-env-conf-test] showString "Many "
2062.22 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.22 s
[opt-env-conf-test] . showString " "
2062.22 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:327:19-27
2062.23 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2062.23 s
[opt-env-conf-test] . showString " "
2062.23 s
[opt-env-conf-test] . go 11 p2
2062.23 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.23 s
[opt-env-conf-test] - showPare n ( d > 10) $
2062.23 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2062.23 s
[opt-env-conf-test] showString "Many "
2062.23 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.23 s
[opt-env-conf-test] . showString " "
2062.23 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
2062.23 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
2062.23 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.23 s
[opt-env-conf-test] showParen (d > 10) $
2062.23 s
[opt-env-conf-test] showString "Many "
2062.23 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2062.23 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2062.23 s
[opt-env-conf-test] . showString " "
2062.23 s
[opt-env-conf-test] . go 11 p
2062.23 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.23 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
2062.23 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
2062.23 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.23 s
[opt-env-conf-test] showParen (d > 10) $
2062.23 s
[opt-env-conf-test] showString "Many "
2062.23 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2062.23 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2062.23 s
[opt-env-conf-test] . showString " "
2062.23 s
[opt-env-conf-test] . go 11 p
2062.23 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.23 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:329:25-27
2062.23 s
[opt-env-conf-test] @@ -326,7 +326,7 @@
2062.23 s
[opt-env-conf-test] ParserMany mLoc p ->
2062.23 s
[opt-env-conf-test] showParen (d > 10) $
2062.23 s
[opt-env-conf-test] showString "Many "
2062.23 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2062.23 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2062.23 s
[opt-env-conf-test] . showString " "
2062.23 s
[opt-env-conf-test] . go 11 p
2062.23 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.23 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
2062.23 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
2062.23 s
[opt-env-conf-test] showString "Many "
2062.23 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.23 s
[opt-env-conf-test] . showString " "
2062.23 s
[opt-env-conf-test] - . go 1 1 p
2062.23 s
[opt-env-conf-test] + . go 0 p
2062.23 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.23 s
[opt-env-conf-test] showParen (d > 10) $
2062.23 s
[opt-env-conf-test] showString "Some "
2062.23 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
2062.23 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
2062.23 s
[opt-env-conf-test] showString "Many "
2062.23 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.23 s
[opt-env-conf-test] . showString " "
2062.23 s
[opt-env-conf-test] - . go 1 1 p
2062.23 s
[opt-env-conf-test] + . go 1 p
2062.23 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.23 s
[opt-env-conf-test] showParen (d > 10) $
2062.23 s
[opt-env-conf-test] showString "Some "
2062.23 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:331:18-20
2062.23 s
[opt-env-conf-test] @@ -328,7 +328,7 @@
2062.23 s
[opt-env-conf-test] showString "Many "
2062.24 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.24 s
[opt-env-conf-test] . showString " "
2062.24 s
[opt-env-conf-test] - . go 11 p
2062.24 s
[opt-env-conf-test] + . go - 11 p
2062.24 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.24 s
[opt-env-conf-test] showParen (d > 10) $
2062.24 s
[opt-env-conf-test] showString "Some "
2062.24 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
2062.24 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2062.24 s
[opt-env-conf-test] . showString " "
2062.24 s
[opt-env-conf-test] . go 11 p
2062.24 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.24 s
[opt-env-conf-test] - showParen (d > 1 0) $
2062.24 s
[opt-env-conf-test] + showParen (d > 0) $
2062.24 s
[opt-env-conf-test] showString "Some "
2062.24 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.24 s
[opt-env-conf-test] . showString " "
2062.24 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
2062.24 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2062.24 s
[opt-env-conf-test] . showString " "
2062.24 s
[opt-env-conf-test] . go 11 p
2062.24 s
[opt-env-conf-test] ParserSome mLoc p ->
2062.24 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2062.24 s
[opt-env-conf-test] + showParen (d > 1 ) $
2062.24 s
[opt-env-conf-test] showString "Some "
2062.24 s
[opt-env-conf-test] . showsPrec 11 mLoc
2062.24 s
[opt-env-conf-test] . showString " "
2062.24 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:333:24-26
2062.24 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2062.24 s
[opt-env-conf-test] . showString " "
2062.24 s
[opt-env-conf-test] . go 11 p
2062.24 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.48 s
[opt-env-conf-test] - showParen (d > 10) $
2068.48 s
[opt-env-conf-test] + showParen (d > - 10) $
2068.50 s
[opt-env-conf-test] showString "Some "
2068.50 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.50 s
[opt-env-conf-test] . showString " "
2068.50 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
2068.50 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.50 s
[opt-env-conf-test] . showString " "
2068.50 s
[opt-env-conf-test] . go 11 p
2068.50 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.50 s
[opt-env-conf-test] - showParen (d > 10) $
2068.50 s
[opt-env-conf-test] + showParen (d < 10) $
2068.50 s
[opt-env-conf-test] showString "Some "
2068.50 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.50 s
[opt-env-conf-test] . showString " "
2068.50 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
2068.50 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.50 s
[opt-env-conf-test] . showString " "
2068.50 s
[opt-env-conf-test] . go 11 p
2068.50 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.50 s
[opt-env-conf-test] - showParen (d > 10) $
2068.50 s
[opt-env-conf-test] + showParen (d < = 10) $
2068.51 s
[opt-env-conf-test] showString "Some "
2068.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:333:20-26
2068.51 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] . go 11 p
2068.51 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.51 s
[opt-env-conf-test] - showParen (d > 10) $
2068.51 s
[opt-env-conf-test] + showParen (d > = 10) $
2068.51 s
[opt-env-conf-test] showString "Some "
2068.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
2068.51 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] . go 11 p
2068.51 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.51 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2068.51 s
[opt-env-conf-test] + showParen ( Tru e ) $
2068.51 s
[opt-env-conf-test] showString "Some "
2068.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:20-26
2068.51 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] . go 11 p
2068.51 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.51 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2068.51 s
[opt-env-conf-test] + showParen ( F a lse ) $
2068.51 s
[opt-env-conf-test] showString "Some "
2068.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:20-26
2068.51 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] . go 11 p
2068.51 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.51 s
[opt-env-conf-test] - showPare n (d > 10) $
2068.51 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2068.51 s
[opt-env-conf-test] showString "Some "
2068.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
2068.51 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] . go 11 p
2068.51 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.51 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2068.51 s
[opt-env-conf-test] + showParen T ru e $
2068.51 s
[opt-env-conf-test] showString "Some "
2068.51 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:333:19-27
2068.51 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.51 s
[opt-env-conf-test] . showString " "
2068.51 s
[opt-env-conf-test] . go 11 p
2068.51 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.51 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2068.51 s
[opt-env-conf-test] + showParen F a ls e $
2068.51 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:333:19-27
2068.52 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] . go 11 p
2068.52 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.52 s
[opt-env-conf-test] - showPare n ( d > 10) $
2068.52 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2068.52 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
2068.52 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
2068.52 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.52 s
[opt-env-conf-test] showParen (d > 10) $
2068.52 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2068.52 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] . go 11 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
2068.52 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
2068.52 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.52 s
[opt-env-conf-test] showParen (d > 10) $
2068.52 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2068.52 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] . go 11 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:335:25-27
2068.52 s
[opt-env-conf-test] @@ -332,7 +332,7 @@
2068.52 s
[opt-env-conf-test] ParserSome mLoc p ->
2068.52 s
[opt-env-conf-test] showParen (d > 10) $
2068.52 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] . go 11 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
2068.52 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
2068.52 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] - . go 1 1 p
2068.52 s
[opt-env-conf-test] + . go 0 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] showParen (d > 10) $
2068.52 s
[opt-env-conf-test] showString "AllOrNothing "
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
2068.52 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
2068.52 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] - . go 1 1 p
2068.52 s
[opt-env-conf-test] + . go 1 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] showParen (d > 10) $
2068.52 s
[opt-env-conf-test] showString "AllOrNothing "
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:337:18-20
2068.52 s
[opt-env-conf-test] @@ -334,7 +334,7 @@
2068.52 s
[opt-env-conf-test] showString "Some "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] - . go 11 p
2068.52 s
[opt-env-conf-test] + . go - 11 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] showParen (d > 10) $
2068.52 s
[opt-env-conf-test] showString "AllOrNothing "
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
2068.52 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] . go 11 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] - showParen (d > 1 0) $
2068.52 s
[opt-env-conf-test] + showParen (d > 0) $
2068.52 s
[opt-env-conf-test] showString "AllOrNothing "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
2068.52 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] . go 11 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2068.52 s
[opt-env-conf-test] + showParen (d > 1 ) $
2068.52 s
[opt-env-conf-test] showString "AllOrNothing "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:339:24-26
2068.52 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] . go 11 p
2068.52 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.52 s
[opt-env-conf-test] - showParen (d > 10) $
2068.52 s
[opt-env-conf-test] + showParen (d > - 10) $
2068.52 s
[opt-env-conf-test] showString "AllOrNothing "
2068.52 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.52 s
[opt-env-conf-test] . showString " "
2068.52 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
2068.52 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2068.52 s
[opt-env-conf-test] . showString " "
2068.53 s
[opt-env-conf-test] . go 11 p
2068.53 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2068.53 s
[opt-env-conf-test] - showParen (d > 10) $
2068.53 s
[opt-env-conf-test] + showParen (d < 10) $
2068.53 s
[opt-env-conf-test] showString "AllOrNothing "
2068.53 s
[opt-env-conf-test] . showsPrec 11 mLoc
2068.53 s
[opt-env-conf-test] . showString " "
2068.53 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
2068.53 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2068.53 s
[opt-env-conf-test] . showString " "
2068.53 s
[opt-env-conf-test] . go 11 p
2068.53 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.70 s
[opt-env-conf-test] - showParen (d > 10) $
2069.70 s
[opt-env-conf-test] + showParen (d < = 10) $
2069.70 s
[opt-env-conf-test] showString "AllOrNothing "
2069.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:339:20-26
2069.70 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] . go 11 p
2069.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.70 s
[opt-env-conf-test] - showParen (d > 10) $
2069.70 s
[opt-env-conf-test] + showParen (d > = 10) $
2069.70 s
[opt-env-conf-test] showString "AllOrNothing "
2069.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
2069.70 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] . go 11 p
2069.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.70 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2069.70 s
[opt-env-conf-test] + showParen ( Tru e ) $
2069.70 s
[opt-env-conf-test] showString "AllOrNothing "
2069.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:20-26
2069.70 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] . go 11 p
2069.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.70 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2069.70 s
[opt-env-conf-test] + showParen ( F a lse ) $
2069.70 s
[opt-env-conf-test] showString "AllOrNothing "
2069.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:20-26
2069.70 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] . go 11 p
2069.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.70 s
[opt-env-conf-test] - showPare n (d > 10) $
2069.70 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2069.70 s
[opt-env-conf-test] showString "AllOrNothing "
2069.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
2069.70 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2069.70 s
[opt-env-conf-test] . showString " "
2069.70 s
[opt-env-conf-test] . go 11 p
2069.70 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.70 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2069.70 s
[opt-env-conf-test] + showParen T ru e $
2069.70 s
[opt-env-conf-test] showString "AllOrNothing "
2069.70 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.70 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:339:19-27
2069.71 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.71 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2069.71 s
[opt-env-conf-test] + showParen F a ls e $
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:339:19-27
2069.71 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.71 s
[opt-env-conf-test] - showPare n ( d > 10) $
2069.71 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
2069.71 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
2069.71 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.71 s
[opt-env-conf-test] showParen (d > 10) $
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2069.71 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
2069.71 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
2069.71 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.71 s
[opt-env-conf-test] showParen (d > 10) $
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2069.71 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:341:25-27
2069.71 s
[opt-env-conf-test] @@ -338,7 +338,7 @@
2069.71 s
[opt-env-conf-test] ParserAllOrNothing mLoc p ->
2069.71 s
[opt-env-conf-test] showParen (d > 10) $
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
2069.71 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] - . go 1 1 p
2069.71 s
[opt-env-conf-test] + . go 0 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] showParen (d > 10) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
2069.71 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] - . go 1 1 p
2069.71 s
[opt-env-conf-test] + . go 1 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] showParen (d > 10) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:343:18-20
2069.71 s
[opt-env-conf-test] @@ -340,7 +340,7 @@
2069.71 s
[opt-env-conf-test] showString "AllOrNothing "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] - . go 11 p
2069.71 s
[opt-env-conf-test] + . go - 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] showParen (d > 10) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
2069.71 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] - showParen (d > 1 0) $
2069.71 s
[opt-env-conf-test] + showParen (d > 0) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
2069.71 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] - showParen (d > 10) $
2069.71 s
[opt-env-conf-test] + showParen (d > - 10) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:345:24-26
2069.71 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2069.71 s
[opt-env-conf-test] + showParen (d > 1 ) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
2069.71 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] - showParen (d > 10) $
2069.71 s
[opt-env-conf-test] + showParen (d < 10) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
2069.71 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.71 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.71 s
[opt-env-conf-test] - showParen (d > 10) $
2069.71 s
[opt-env-conf-test] + showParen (d < = 10) $
2069.71 s
[opt-env-conf-test] showString "Check "
2069.71 s
[opt-env-conf-test] . showsPrec 11 mLoc
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:345:20-26
2069.71 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2069.71 s
[opt-env-conf-test] . showString " "
2069.71 s
[opt-env-conf-test] . go 11 p
2069.72 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2069.72 s
[opt-env-conf-test] - showParen (d > 10) $
2072.19 s
[opt-env-conf-test] + showParen (d > = 10) $
2072.19 s
[opt-env-conf-test] showString "Check "
2072.19 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.19 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
2072.20 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] . go 11 p
2072.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.20 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2072.20 s
[opt-env-conf-test] + showParen ( Tru e ) $
2072.20 s
[opt-env-conf-test] showString "Check "
2072.20 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:20-26
2072.20 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] . go 11 p
2072.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.20 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2072.20 s
[opt-env-conf-test] + showParen ( F a lse ) $
2072.20 s
[opt-env-conf-test] showString "Check "
2072.20 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:20-26
2072.20 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] . go 11 p
2072.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.20 s
[opt-env-conf-test] - showPare n (d > 10) $
2072.20 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2072.20 s
[opt-env-conf-test] showString "Check "
2072.20 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
2072.20 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] . go 11 p
2072.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.20 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2072.20 s
[opt-env-conf-test] + showParen T ru e $
2072.20 s
[opt-env-conf-test] showString "Check "
2072.20 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:345:19-27
2072.20 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] . go 11 p
2072.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.20 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2072.20 s
[opt-env-conf-test] + showParen F a ls e $
2072.20 s
[opt-env-conf-test] showString "Check "
2072.20 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:345:19-27
2072.20 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] . go 11 p
2072.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.20 s
[opt-env-conf-test] - showPare n ( d > 10) $
2072.20 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2072.20 s
[opt-env-conf-test] showString "Check "
2072.20 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.20 s
[opt-env-conf-test] . showString " "
2072.20 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
2072.20 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
2072.20 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.20 s
[opt-env-conf-test] showParen (d > 10) $
2072.20 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2072.21 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
2072.21 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
2072.21 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.21 s
[opt-env-conf-test] showParen (d > 10) $
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2072.21 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:347:25-27
2072.21 s
[opt-env-conf-test] @@ -344,7 +344,7 @@
2072.21 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2072.21 s
[opt-env-conf-test] showParen (d > 10) $
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2072.21 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
2072.21 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
2072.21 s
[opt-env-conf-test] + . showsPrec 0 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
2072.21 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 1 1 forgivable
2072.21 s
[opt-env-conf-test] + . showsPrec 1 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:349:25-27
2072.21 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] + . showsPrec - 11 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
2072.21 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 11 f o r gi v a b l e
2072.21 s
[opt-env-conf-test] + . showsPrec 11 T r u e
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:349:28-38
2072.21 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 11 f o rg iv a b l e
2072.21 s
[opt-env-conf-test] + . showsPrec 11 F a l s e
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:349:28-38
2072.21 s
[opt-env-conf-test] @@ -346,7 +346,7 @@
2072.21 s
[opt-env-conf-test] showString "Check "
2072.21 s
[opt-env-conf-test] . showsPrec 11 mLoc
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] + . showsPrec 11 n o t ( forgivable )
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
2072.21 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 1 1 caps
2072.21 s
[opt-env-conf-test] + . showsPrec 0 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] . go 11 p
2072.21 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
2072.21 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 1 1 caps
2072.21 s
[opt-env-conf-test] + . showsPrec 1 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] . go 11 p
2072.21 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2072.21 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:351:25-27
2072.21 s
[opt-env-conf-test] @@ -348,7 +348,7 @@
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] . showsPrec 11 forgivable
2072.21 s
[opt-env-conf-test] . showString " "
2072.21 s
[opt-env-conf-test] - . showsPrec 11 caps
2072.21 s
[opt-env-conf-test] + . showsPrec - 11 caps
2072.21 s
[opt-env-conf-test] . showString " _ "
2072.21 s
[opt-env-conf-test] . go 11 p
2072.21 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.62 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
2078.62 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
2078.62 s
[opt-env-conf-test] . showString " "
2078.66 s
[opt-env-conf-test] . showsPrec 11 caps
2078.66 s
[opt-env-conf-test] . showString " _ "
2078.66 s
[opt-env-conf-test] - . go 1 1 p
2078.66 s
[opt-env-conf-test] + . go 0 p
2078.66 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.67 s
[opt-env-conf-test] showParen (d > 10) $
2078.67 s
[opt-env-conf-test] showString "Commands "
2078.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
2078.67 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
2078.67 s
[opt-env-conf-test] . showString " "
2078.67 s
[opt-env-conf-test] . showsPrec 11 caps
2078.67 s
[opt-env-conf-test] . showString " _ "
2078.67 s
[opt-env-conf-test] - . go 1 1 p
2078.67 s
[opt-env-conf-test] + . go 1 p
2078.67 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.67 s
[opt-env-conf-test] showParen (d > 10) $
2078.67 s
[opt-env-conf-test] showString "Commands "
2078.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:353:18-20
2078.67 s
[opt-env-conf-test] @@ -350,7 +350,7 @@
2078.67 s
[opt-env-conf-test] . showString " "
2078.67 s
[opt-env-conf-test] . showsPrec 11 caps
2078.67 s
[opt-env-conf-test] . showString " _ "
2078.67 s
[opt-env-conf-test] - . go 11 p
2078.67 s
[opt-env-conf-test] + . go - 11 p
2078.67 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.67 s
[opt-env-conf-test] showParen (d > 10) $
2078.67 s
[opt-env-conf-test] showString "Commands "
2078.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
2078.67 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.67 s
[opt-env-conf-test] . showString " _ "
2078.67 s
[opt-env-conf-test] . go 11 p
2078.67 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.67 s
[opt-env-conf-test] - showParen (d > 1 0) $
2078.67 s
[opt-env-conf-test] + showParen (d > 0) $
2078.67 s
[opt-env-conf-test] showString "Commands "
2078.67 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.67 s
[opt-env-conf-test] . showString " "
2078.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
2078.67 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.67 s
[opt-env-conf-test] . showString " _ "
2078.67 s
[opt-env-conf-test] . go 11 p
2078.67 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.67 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2078.67 s
[opt-env-conf-test] + showParen (d > 1 ) $
2078.67 s
[opt-env-conf-test] showString "Commands "
2078.67 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.67 s
[opt-env-conf-test] . showString " "
2078.67 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:355:24-26
2078.67 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.67 s
[opt-env-conf-test] . showString " _ "
2078.67 s
[opt-env-conf-test] . go 11 p
2078.67 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.67 s
[opt-env-conf-test] - showParen (d > 10) $
2078.68 s
[opt-env-conf-test] + showParen (d > - 10) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showParen (d > 10) $
2078.68 s
[opt-env-conf-test] + showParen (d < 10) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showParen (d > 10) $
2078.68 s
[opt-env-conf-test] + showParen (d < = 10) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:355:20-26
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showParen (d > 10) $
2078.68 s
[opt-env-conf-test] + showParen (d > = 10) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2078.68 s
[opt-env-conf-test] + showParen ( Tru e ) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:20-26
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2078.68 s
[opt-env-conf-test] + showParen ( F a lse ) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:20-26
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showPare n (d > 10) $
2078.68 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2078.68 s
[opt-env-conf-test] + showParen T ru e $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:355:19-27
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2078.68 s
[opt-env-conf-test] + showParen F a ls e $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:355:19-27
2078.68 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2078.68 s
[opt-env-conf-test] . showString " _ "
2078.68 s
[opt-env-conf-test] . go 11 p
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] - showPare n ( d > 10) $
2078.68 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2078.68 s
[opt-env-conf-test] showString "Commands "
2078.68 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.68 s
[opt-env-conf-test] . showString " "
2078.68 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
2078.68 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
2078.68 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.68 s
[opt-env-conf-test] showParen (d > 10) $
2078.69 s
[opt-env-conf-test] showString "Commands "
2078.69 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2078.69 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] . showsPrec 11 mDefault
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
2078.69 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
2078.69 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.69 s
[opt-env-conf-test] showParen (d > 10) $
2078.69 s
[opt-env-conf-test] showString "Commands "
2078.69 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2078.69 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] . showsPrec 11 mDefault
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:357:25-27
2078.69 s
[opt-env-conf-test] @@ -354,7 +354,7 @@
2078.69 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2078.69 s
[opt-env-conf-test] showParen (d > 10) $
2078.69 s
[opt-env-conf-test] showString "Commands "
2078.69 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2078.69 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] . showsPrec 11 mDefault
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
2078.69 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
2078.69 s
[opt-env-conf-test] showString "Commands "
2078.69 s
[opt-env-conf-test] . showsPrec 11 mLoc
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
2078.69 s
[opt-env-conf-test] + . showsPrec 0 mDefault
2078.69 s
[opt-env-conf-test] . showString " "
2078.69 s
[opt-env-conf-test] . showListWith
2078.69 s
[opt-env-conf-test] showCommandABit
2078.69 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
2084.12 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
2084.12 s
[opt-env-conf-test] showString "Commands "
2084.12 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.14 s
[opt-env-conf-test] . showString " "
2084.14 s
[opt-env-conf-test] - . showsPrec 1 1 mDefault
2084.14 s
[opt-env-conf-test] + . showsPrec 1 mDefault
2084.14 s
[opt-env-conf-test] . showString " "
2084.14 s
[opt-env-conf-test] . showListWith
2084.14 s
[opt-env-conf-test] showCommandABit
2084.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:359:25-27
2084.14 s
[opt-env-conf-test] @@ -356,7 +356,7 @@
2084.14 s
[opt-env-conf-test] showString "Commands "
2084.14 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.14 s
[opt-env-conf-test] . showString " "
2084.14 s
[opt-env-conf-test] - . showsPrec 11 mDefault
2084.14 s
[opt-env-conf-test] + . showsPrec - 11 mDefault
2084.14 s
[opt-env-conf-test] . showString " "
2084.14 s
[opt-env-conf-test] . showListWith
2084.14 s
[opt-env-conf-test] showCommandABit
2084.14 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
2084.14 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.14 s
[opt-env-conf-test] showCommandABit
2084.14 s
[opt-env-conf-test] cs
2084.15 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.15 s
[opt-env-conf-test] - showParen (d > 1 0) $
2084.15 s
[opt-env-conf-test] + showParen (d > 0) $
2084.15 s
[opt-env-conf-test] showString "WithConfig _ "
2084.15 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.15 s
[opt-env-conf-test] . showString " "
2084.15 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
2084.15 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.15 s
[opt-env-conf-test] showCommandABit
2084.15 s
[opt-env-conf-test] cs
2084.15 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.15 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2084.15 s
[opt-env-conf-test] + showParen (d > 1 ) $
2084.15 s
[opt-env-conf-test] showString "WithConfig _ "
2084.15 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.15 s
[opt-env-conf-test] . showString " "
2084.15 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:365:24-26
2084.15 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.15 s
[opt-env-conf-test] showCommandABit
2084.15 s
[opt-env-conf-test] cs
2084.15 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.15 s
[opt-env-conf-test] - showParen (d > 10) $
2084.15 s
[opt-env-conf-test] + showParen (d > - 10) $
2084.15 s
[opt-env-conf-test] showString "WithConfig _ "
2084.15 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.15 s
[opt-env-conf-test] . showString " "
2084.15 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
2084.15 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.15 s
[opt-env-conf-test] showCommandABit
2084.15 s
[opt-env-conf-test] cs
2084.15 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.15 s
[opt-env-conf-test] - showParen (d > 10) $
2084.15 s
[opt-env-conf-test] + showParen (d < 10) $
2084.15 s
[opt-env-conf-test] showString "WithConfig _ "
2084.15 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.15 s
[opt-env-conf-test] . showString " "
2084.15 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
2084.15 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.15 s
[opt-env-conf-test] showCommandABit
2084.15 s
[opt-env-conf-test] cs
2084.15 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.15 s
[opt-env-conf-test] - showParen (d > 10) $
2084.15 s
[opt-env-conf-test] + showParen (d < = 10) $
2084.15 s
[opt-env-conf-test] showString "WithConfig _ "
2084.15 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.15 s
[opt-env-conf-test] . showString " "
2084.15 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:365:20-26
2084.15 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.15 s
[opt-env-conf-test] showCommandABit
2084.15 s
[opt-env-conf-test] cs
2084.15 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.15 s
[opt-env-conf-test] - showParen (d > 10) $
2084.15 s
[opt-env-conf-test] + showParen (d > = 10) $
2084.15 s
[opt-env-conf-test] showString "WithConfig _ "
2084.15 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.15 s
[opt-env-conf-test] . showString " "
2084.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2084.15 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.15 s
[opt-env-conf-test] showCommandABit
2084.15 s
[opt-env-conf-test] cs
2084.15 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.15 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2084.15 s
[opt-env-conf-test] + showParen ( Tru e ) $
2084.15 s
[opt-env-conf-test] showString "WithConfig _ "
2084.15 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.15 s
[opt-env-conf-test] . showString " "
2084.15 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2084.16 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.16 s
[opt-env-conf-test] showCommandABit
2084.16 s
[opt-env-conf-test] cs
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2084.16 s
[opt-env-conf-test] + showParen ( F a lse ) $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:20-26
2084.16 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.16 s
[opt-env-conf-test] showCommandABit
2084.16 s
[opt-env-conf-test] cs
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] - showPare n (d > 10) $
2084.16 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2084.16 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.16 s
[opt-env-conf-test] showCommandABit
2084.16 s
[opt-env-conf-test] cs
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2084.16 s
[opt-env-conf-test] + showParen T ru e $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2084.16 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.16 s
[opt-env-conf-test] showCommandABit
2084.16 s
[opt-env-conf-test] cs
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2084.16 s
[opt-env-conf-test] + showParen F a ls e $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:365:19-27
2084.16 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2084.16 s
[opt-env-conf-test] showCommandABit
2084.16 s
[opt-env-conf-test] cs
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] - showPare n ( d > 10) $
2084.16 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
2084.16 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] showParen (d > 10) $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2084.16 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] . go 11 p1
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
2084.16 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] showParen (d > 10) $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2084.16 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] . go 11 p1
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:367:25-27
2084.16 s
[opt-env-conf-test] @@ -364,7 +364,7 @@
2084.16 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2084.16 s
[opt-env-conf-test] showParen (d > 10) $
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2084.16 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] . go 11 p1
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
2084.16 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
2084.16 s
[opt-env-conf-test] showString "WithConfig _ "
2084.16 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] - . go 1 1 p1
2084.16 s
[opt-env-conf-test] + . go 0 p1
2084.16 s
[opt-env-conf-test] . showString " "
2084.16 s
[opt-env-conf-test] . go 11 p2
2084.17 s
[opt-env-conf-test] ParserSetting mLoc p ->
2084.17 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
2084.17 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
2084.17 s
[opt-env-conf-test] showString "WithConfig _ "
2084.17 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.17 s
[opt-env-conf-test] . showString " "
2084.17 s
[opt-env-conf-test] - . go 1 1 p1
2084.17 s
[opt-env-conf-test] + . go 1 p1
2084.17 s
[opt-env-conf-test] . showString " "
2084.17 s
[opt-env-conf-test] . go 11 p2
2084.17 s
[opt-env-conf-test] ParserSetting mLoc p ->
2084.17 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:369:18-20
2084.17 s
[opt-env-conf-test] @@ -366,7 +366,7 @@
2084.17 s
[opt-env-conf-test] showString "WithConfig _ "
2084.17 s
[opt-env-conf-test] . showsPrec 11 mLoc
2084.17 s
[opt-env-conf-test] . showString " "
2084.17 s
[opt-env-conf-test] - . go 11 p1
2089.29 s
[opt-env-conf-test] + . go - 11 p1
2089.29 s
[opt-env-conf-test] . showString " "
2089.29 s
[opt-env-conf-test] . go 11 p2
2089.31 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.31 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
2089.31 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
2089.31 s
[opt-env-conf-test] . showString " "
2089.31 s
[opt-env-conf-test] . go 11 p1
2089.31 s
[opt-env-conf-test] . showString " "
2089.31 s
[opt-env-conf-test] - . go 1 1 p2
2089.31 s
[opt-env-conf-test] + . go 0 p2
2089.31 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.31 s
[opt-env-conf-test] showParen (d > 10) $
2089.31 s
[opt-env-conf-test] showString "Setting "
2089.31 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
2089.31 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
2089.31 s
[opt-env-conf-test] . showString " "
2089.31 s
[opt-env-conf-test] . go 11 p1
2089.31 s
[opt-env-conf-test] . showString " "
2089.31 s
[opt-env-conf-test] - . go 1 1 p2
2089.31 s
[opt-env-conf-test] + . go 1 p2
2089.31 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.31 s
[opt-env-conf-test] showParen (d > 10) $
2089.31 s
[opt-env-conf-test] showString "Setting "
2089.31 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:371:18-20
2089.31 s
[opt-env-conf-test] @@ -368,7 +368,7 @@
2089.31 s
[opt-env-conf-test] . showString " "
2089.31 s
[opt-env-conf-test] . go 11 p1
2089.31 s
[opt-env-conf-test] . showString " "
2089.31 s
[opt-env-conf-test] - . go 11 p2
2089.31 s
[opt-env-conf-test] + . go - 11 p2
2089.31 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.32 s
[opt-env-conf-test] showParen (d > 10) $
2089.32 s
[opt-env-conf-test] showString "Setting "
2089.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
2089.32 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] . go 11 p2
2089.32 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.32 s
[opt-env-conf-test] - showParen (d > 1 0) $
2089.32 s
[opt-env-conf-test] + showParen (d > 0) $
2089.32 s
[opt-env-conf-test] showString "Setting "
2089.32 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
2089.32 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] . go 11 p2
2089.32 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.32 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2089.32 s
[opt-env-conf-test] + showParen (d > 1 ) $
2089.32 s
[opt-env-conf-test] showString "Setting "
2089.32 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:373:24-26
2089.32 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] . go 11 p2
2089.32 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.32 s
[opt-env-conf-test] - showParen (d > 10) $
2089.32 s
[opt-env-conf-test] + showParen (d > - 10) $
2089.32 s
[opt-env-conf-test] showString "Setting "
2089.32 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
2089.32 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] . go 11 p2
2089.32 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.32 s
[opt-env-conf-test] - showParen (d > 10) $
2089.32 s
[opt-env-conf-test] + showParen (d < 10) $
2089.32 s
[opt-env-conf-test] showString "Setting "
2089.32 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
2089.32 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.32 s
[opt-env-conf-test] . showString " "
2089.32 s
[opt-env-conf-test] . go 11 p2
2089.32 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.32 s
[opt-env-conf-test] - showParen (d > 10) $
2089.32 s
[opt-env-conf-test] + showParen (d < = 10) $
2089.32 s
[opt-env-conf-test] showString "Setting "
2089.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] Testing mutation Cmp at src/OptEnvConf/Parser.hs:373:20-26
2089.33 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] . go 11 p2
2089.33 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.33 s
[opt-env-conf-test] - showParen (d > 10) $
2089.33 s
[opt-env-conf-test] + showParen (d > = 10) $
2089.33 s
[opt-env-conf-test] showString "Setting "
2089.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
2089.33 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] . go 11 p2
2089.33 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.33 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2089.33 s
[opt-env-conf-test] + showParen ( Tru e ) $
2089.33 s
[opt-env-conf-test] showString "Setting "
2089.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:20-26
2089.33 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] . go 11 p2
2089.33 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.33 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2089.33 s
[opt-env-conf-test] + showParen ( F a lse ) $
2089.33 s
[opt-env-conf-test] showString "Setting "
2089.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:20-26
2089.33 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] . go 11 p2
2089.33 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.33 s
[opt-env-conf-test] - showPare n (d > 10) $
2089.33 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2089.33 s
[opt-env-conf-test] showString "Setting "
2089.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
2089.33 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] . go 11 p2
2089.33 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.33 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2089.33 s
[opt-env-conf-test] + showParen T ru e $
2089.33 s
[opt-env-conf-test] showString "Setting "
2089.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:373:19-27
2089.33 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] . go 11 p2
2089.33 s
[opt-env-conf-test] ParserSetting mLoc p ->
2089.33 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2089.33 s
[opt-env-conf-test] + showParen F a ls e $
2089.33 s
[opt-env-conf-test] showString "Setting "
2089.33 s
[opt-env-conf-test] . showsPrec 11 mLoc
2089.33 s
[opt-env-conf-test] . showString " "
2089.33 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
2089.33 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2089.33 s
[opt-env-conf-test] where
2089.33 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2089.33 s
[opt-env-conf-test] go d = \case
2089.33 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0) $ showString "Pure _"
2089.34 s
[opt-env-conf-test] + ParserPure _ -> showParen F a ls e $ showString "Pure _"
2089.34 s
[opt-env-conf-test] ParserAp pf pa ->
2089.34 s
[opt-env-conf-test] showParen (d > 10) $
2089.34 s
[opt-env-conf-test] showString "Ap "
2089.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:33-41
2089.34 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2089.34 s
[opt-env-conf-test] where
2089.34 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2089.34 s
[opt-env-conf-test] go d = \case
2089.34 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2089.34 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
2089.34 s
[opt-env-conf-test] ParserAp pf pa ->
2089.34 s
[opt-env-conf-test] showParen (d > 10) $
2089.34 s
[opt-env-conf-test] showString "Ap "
2089.34 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:34-40
2089.34 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2089.34 s
[opt-env-conf-test] where
2089.34 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2089.34 s
[opt-env-conf-test] go d = \case
2089.34 s
[opt-env-conf-test] - ParserPure _ -> showPare n (d > 10) $ showString "Pure _"
2089.34 s
[opt-env-conf-test] + ParserPure _ -> showPare n ( n ot (d > 10) ) $ showString "Pure _"
2089.34 s
[opt-env-conf-test] ParserAp pf pa ->
2089.34 s
[opt-env-conf-test] showParen (d > 10) $
2089.34 s
[opt-env-conf-test] showString "Ap "
2089.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
2089.34 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2089.34 s
[opt-env-conf-test] where
2089.34 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2089.34 s
[opt-env-conf-test] go d = \case
2089.34 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2089.34 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
2089.34 s
[opt-env-conf-test] ParserAp pf pa ->
2089.34 s
[opt-env-conf-test] showParen (d > 10) $
2089.34 s
[opt-env-conf-test] showString "Ap "
2089.34 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:304:34-40
2089.34 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2089.34 s
[opt-env-conf-test] where
2089.34 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2089.34 s
[opt-env-conf-test] go d = \case
2089.34 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2093.85 s
[opt-env-conf-test] + ParserPure _ -> showParen ( F a lse ) $ showString "Pure _"
2093.85 s
[opt-env-conf-test] ParserAp pf pa ->
2093.85 s
[opt-env-conf-test] showParen (d > 10) $
2093.85 s
[opt-env-conf-test] showString "Ap "
2093.85 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:473:53-60
2093.85 s
[opt-env-conf-test] @@ -470,7 +470,7 @@
2093.85 s
[opt-env-conf-test] -- the option because consumeOption would try to
2093.85 s
[opt-env-conf-test] -- consume the option argument too.
2093.85 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
2093.85 s
[opt-env-conf-test] - Nothing -> pure $ J u s t [ ]
2093.86 s
[opt-env-conf-test] + Nothing -> pure $ No t h ing
2093.86 s
[opt-env-conf-test] Just as' -> do
2093.86 s
[opt-env-conf-test] put as'
2093.86 s
[opt-env-conf-test] completeWithCompleterAtEnd
2093.86 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:457:44-43
2093.86 s
[opt-env-conf-test] @@ -454,9 +454,8 @@
2093.86 s
[opt-env-conf-test] then do
2093.86 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
2093.86 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
2093.86 s
[opt-env-conf-test] Just (_, as') -> do
2093.86 s
[opt-env-conf-test] - put as'
2093.86 s
[opt-env-conf-test] pure $ Just []
2093.86 s
[opt-env-conf-test] Nothing -> do
2093.86 s
[opt-env-conf-test] if argsAtEnd as
2093.86 s
[opt-env-conf-test] then completeWithDasheds
2093.86 s
[opt-env-conf-test] Testing mutation MaybeOp at src/OptEnvConf/Completion.hs:451:32-39
2093.86 s
[opt-env-conf-test] @@ -448,7 +448,7 @@
2093.86 s
[opt-env-conf-test] completeWithDasheds
2093.86 s
[opt-env-conf-test] Just as' -> do
2093.86 s
[opt-env-conf-test] put as'
2093.86 s
[opt-env-conf-test] - pure $ J u s t [ ]
2093.86 s
[opt-env-conf-test] + pure $ No t h ing
2093.86 s
[opt-env-conf-test] else do
2093.86 s
[opt-env-conf-test] if settingTryOption
2093.86 s
[opt-env-conf-test] then do
2093.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
2093.86 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
2093.86 s
[opt-env-conf-test] ParserSetting mLoc p ->
2093.86 s
[opt-env-conf-test] showParen (d > 10) $
2093.86 s
[opt-env-conf-test] showString "Setting "
2093.86 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2093.86 s
[opt-env-conf-test] + . showsPrec 0 mLoc
2093.86 s
[opt-env-conf-test] . showString " "
2093.86 s
[opt-env-conf-test] . showSettingABit p
2093.86 s
[opt-env-conf-test]
2093.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
2093.86 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
2093.86 s
[opt-env-conf-test] showString "Command "
2093.86 s
[opt-env-conf-test] . showsPrec 11 commandArg
2093.86 s
[opt-env-conf-test] . showString " "
2093.86 s
[opt-env-conf-test] - . showsPrec 11 commandHelp
2093.86 s
[opt-env-conf-test] + . showsPrec - 11 commandHelp
2093.86 s
[opt-env-conf-test] . showString " "
2093.86 s
[opt-env-conf-test] . showParserPrec 11 commandParser
2093.86 s
[opt-env-conf-test]
2093.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
2093.86 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
2093.86 s
[opt-env-conf-test] . showString " "
2093.86 s
[opt-env-conf-test] . showsPrec 11 commandHelp
2093.86 s
[opt-env-conf-test] . showString " "
2093.86 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
2093.86 s
[opt-env-conf-test] + . showParserPrec 0 commandParser
2093.86 s
[opt-env-conf-test]
2093.86 s
[opt-env-conf-test] -- | A 'Parser' structure
2093.86 s
[opt-env-conf-test] --
2093.86 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
2093.86 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
2093.86 s
[opt-env-conf-test] . showString " "
2093.86 s
[opt-env-conf-test] . showsPrec 11 commandHelp
2093.86 s
[opt-env-conf-test] . showString " "
2093.87 s
[opt-env-conf-test] - . showParserPrec 1 1 commandParser
2093.87 s
[opt-env-conf-test] + . showParserPrec 1 commandParser
2093.87 s
[opt-env-conf-test]
2093.87 s
[opt-env-conf-test] -- | A 'Parser' structure
2093.87 s
[opt-env-conf-test] --
2093.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:138:22-24
2093.87 s
[opt-env-conf-test] @@ -135,7 +135,7 @@
2093.87 s
[opt-env-conf-test] . showString " "
2093.87 s
[opt-env-conf-test] . showsPrec 11 commandHelp
2093.87 s
[opt-env-conf-test] . showString " "
2093.87 s
[opt-env-conf-test] - . showParserPrec 11 commandParser
2093.87 s
[opt-env-conf-test] + . showParserPrec - 11 commandParser
2093.87 s
[opt-env-conf-test]
2093.87 s
[opt-env-conf-test] -- | A 'Parser' structure
2093.87 s
[opt-env-conf-test] --
2093.87 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:297:39-40
2093.87 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
2093.87 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2093.87 s
[opt-env-conf-test]
2093.87 s
[opt-env-conf-test] showParserABit :: Parser a -> String
2093.87 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
2093.87 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
2093.87 s
[opt-env-conf-test]
2093.87 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
2093.87 s
[opt-env-conf-test] showParserPrec = go
2093.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:255:27-32
2093.87 s
[opt-env-conf-test] @@ -252,7 +252,7 @@
2093.87 s
[opt-env-conf-test] (<|>) p1 p2 =
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] - ParserPure _ -> F al s e
2093.87 s
[opt-env-conf-test] + ParserPure _ -> T ru e
2093.87 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2093.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2093.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2093.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2093.87 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] ParserPure _ -> False
2093.87 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
2093.87 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
2093.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2093.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2093.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2093.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2093.87 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] ParserPure _ -> False
2093.87 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
2093.87 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
2093.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2093.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2093.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2093.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-39
2093.87 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] ParserPure _ -> False
2093.87 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2093.87 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
2093.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2093.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2093.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2093.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2093.87 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] ParserPure _ -> False
2093.87 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
2093.87 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
2093.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2093.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2093.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2093.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2093.87 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] ParserPure _ -> False
2093.87 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
2093.87 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
2093.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2093.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2093.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2093.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:43-53
2093.87 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] ParserPure _ -> False
2093.87 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2093.87 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
2093.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2093.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2093.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2093.87 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
2093.87 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2093.87 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2093.87 s
[opt-env-conf-test] isEmpty = \case
2093.87 s
[opt-env-conf-test] ParserPure _ -> False
2093.87 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y pf && isEmpt y p a
2095.78 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e
2095.78 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.85 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.85 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.85 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:256:29-53
2095.85 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2095.85 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2095.85 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
2095.86 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:256:29-53
2095.86 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2095.86 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
2095.86 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
2095.86 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:256:29-53
2095.86 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2095.86 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf && isEmpty pa )
2095.86 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e && isEmpty pf
2095.86 s
[opt-env-conf-test] + ParserSelect pe pf -> Tr u e && isEmpty pf
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-43
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] - ParserSelect pe pf -> i s E m pty p e && isEmpty pf
2095.86 s
[opt-env-conf-test] + ParserSelect pe pf -> F a l s e && isEmpty pf
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-43
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.86 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe ) && isEmpty pf
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i sE mpt y p f
2095.86 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && T ru e
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:47-57
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && i s E m pty pf
2095.86 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && F al s e
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.86 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:47-57
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.86 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe && n o t ( isEmpty pf )
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.86 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.86 s
[opt-env-conf-test] - ParserSelect pe pf -> i sEm pty p e && isEmpty pf
2095.86 s
[opt-env-conf-test] + ParserSelect pe pf -> T ru e
2095.86 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.86 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.86 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.86 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:257:33-57
2095.86 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.86 s
[opt-env-conf-test] isEmpty = \case
2095.86 s
[opt-env-conf-test] ParserPure _ -> False
2095.87 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.87 s
[opt-env-conf-test] - ParserSelect pe pf -> i s Emp ty p e & & isEmpty pf
2095.87 s
[opt-env-conf-test] + ParserSelect pe pf -> F al s e
2095.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.87 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.87 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:257:33-57
2095.87 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.87 s
[opt-env-conf-test] isEmpty = \case
2095.87 s
[opt-env-conf-test] ParserPure _ -> False
2095.87 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.87 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe & & isEmpty pf
2095.87 s
[opt-env-conf-test] + ParserSelect pe pf -> isEmpty pe | | isEmpty pf
2095.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.87 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.87 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:257:33-57
2095.87 s
[opt-env-conf-test] @@ -254,7 +254,7 @@
2095.87 s
[opt-env-conf-test] isEmpty = \case
2095.87 s
[opt-env-conf-test] ParserPure _ -> False
2095.87 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.87 s
[opt-env-conf-test] - ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.87 s
[opt-env-conf-test] + ParserSelect pe pf -> n o t ( isEmpty pe && isEmpty pf )
2095.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.87 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:258:28-32
2095.87 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
2095.87 s
[opt-env-conf-test] ParserPure _ -> False
2095.87 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.87 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
2095.87 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
2095.87 s
[opt-env-conf-test] ParserAlt _ _ -> False
2095.87 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.87 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2095.87 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:259:28-33
2095.87 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2095.87 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2095.87 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2095.87 s
[opt-env-conf-test] ParserEmpty _ -> True
2095.87 s
[opt-env-conf-test] - ParserAlt _ _ -> F al s e
2095.87 s
[opt-env-conf-test] + ParserAlt _ _ -> T ru e
2095.87 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2095.87 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2095.87 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.42 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
2098.43 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
2098.43 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2098.43 s
[opt-env-conf-test] ParserEmpty _ -> True
2098.43 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.43 s
[opt-env-conf-test] - ParserMany _ p -> isE mpty p
2098.43 s
[opt-env-conf-test] + ParserMany _ p -> T r ue
2098.43 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:260:29-38
2098.43 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
2098.43 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2098.43 s
[opt-env-conf-test] ParserEmpty _ -> True
2098.43 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.43 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
2098.43 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
2098.43 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:260:29-38
2098.43 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
2098.43 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2098.43 s
[opt-env-conf-test] ParserEmpty _ -> True
2098.43 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.43 s
[opt-env-conf-test] - ParserMany _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] + ParserMany _ p -> n o t ( isEmpty p )
2098.43 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
2098.43 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
2098.43 s
[opt-env-conf-test] ParserEmpty _ -> True
2098.43 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.43 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] - ParserSome _ p -> isE mpty p
2098.43 s
[opt-env-conf-test] + ParserSome _ p -> T r ue
2098.43 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.43 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:261:29-38
2098.44 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
2098.44 s
[opt-env-conf-test] ParserEmpty _ -> True
2098.44 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.44 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] - ParserSome _ p -> i s E m pty p
2098.44 s
[opt-env-conf-test] + ParserSome _ p -> F a l s e
2098.44 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.44 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:261:29-38
2098.44 s
[opt-env-conf-test] @@ -258,7 +258,7 @@
2098.44 s
[opt-env-conf-test] ParserEmpty _ -> True
2098.44 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.44 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] - ParserSome _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] + ParserSome _ p -> n o t ( isEmpty p )
2098.44 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
2098.44 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
2098.44 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.44 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isE mpty p
2098.44 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> T r ue
2098.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.44 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.44 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:262:37-46
2098.44 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
2098.44 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.44 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
2098.44 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
2098.44 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.44 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.44 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:262:37-46
2098.45 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
2098.45 s
[opt-env-conf-test] ParserAlt _ _ -> False
2098.45 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> n o t ( isEmpty p )
2098.45 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.45 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
2098.45 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
2098.45 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isE mpty p
2098.45 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> T r ue
2098.45 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.45 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] ParserSetting _ _ -> False
2098.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:263:36-45
2098.45 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
2098.45 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
2098.45 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
2098.45 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.45 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] ParserSetting _ _ -> False
2098.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:263:36-45
2098.45 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
2098.45 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> n o t ( isEmpty p )
2098.45 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2098.45 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] ParserSetting _ _ -> False
2098.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
2098.45 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
2098.45 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l cs
2098.45 s
[opt-env-conf-test] + ParserCommands _ _ cs -> T r u e
2098.45 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] ParserSetting _ _ -> False
2098.45 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2098.45 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:264:36-43
2098.45 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
2098.45 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
2098.45 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
2098.45 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] ParserSetting _ _ -> False
2098.45 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2098.45 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:264:36-43
2098.45 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
2098.45 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2098.45 s
[opt-env-conf-test] - ParserCommands _ _ cs -> null cs
2098.45 s
[opt-env-conf-test] + ParserCommands _ _ cs -> n o t ( null cs )
2098.45 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2098.45 s
[opt-env-conf-test] ParserSetting _ _ -> False
2098.45 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
2099.12 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.12 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.12 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y p c && isEmpty ps
2099.12 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e && isEmpty ps
2099.12 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.12 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.12 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-49
2099.12 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.12 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.12 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s E m pty p c && isEmpty ps
2099.12 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e && isEmpty ps
2099.12 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.12 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.12 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-49
2099.12 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.12 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.12 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2099.12 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc ) && isEmpty ps
2099.12 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.12 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.12 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
2099.12 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.12 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.12 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i sE mpt y p s
2099.12 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && T ru e
2099.12 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.12 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.12 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.12 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:53-63
2099.12 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.12 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.12 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.12 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && i s E m pty ps
2099.12 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && F al s e
2099.12 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.12 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.12 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.12 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:53-63
2099.13 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.13 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2099.13 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc && n o t ( isEmpty ps )
2099.13 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.13 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
2099.13 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.13 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i sE mpt y pc && isEmpt y p s
2099.13 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> T ru e
2099.13 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.13 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:265:39-63
2099.13 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.13 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> i s Emp ty pc && isEmpty ps
2099.13 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> F al s e
2099.13 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.13 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] Testing mutation LogicOp at src/OptEnvConf/Parser.hs:265:39-63
2099.13 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.13 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc & & isEmpty ps
2099.13 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> isEmpty pc | | isEmpty ps
2099.13 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.13 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:265:39-63
2099.13 s
[opt-env-conf-test] @@ -262,7 +262,7 @@
2099.13 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] - ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2099.13 s
[opt-env-conf-test] + ParserWithConfig _ pc ps -> n o t ( isEmpty pc && isEmpty ps )
2099.13 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.13 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:266:32-37
2099.13 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
2099.13 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2099.13 s
[opt-env-conf-test] - ParserSetting _ _ -> F al s e
2099.13 s
[opt-env-conf-test] + ParserSetting _ _ -> T ru e
2099.13 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] (True, False) -> p2
2099.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
2099.13 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2099.13 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.13 s
[opt-env-conf-test] - in case ( i s Em pty p 1 , isEmpty p2) of
2099.13 s
[opt-env-conf-test] + in case ( True , isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] (True, False) -> p2
2099.13 s
[opt-env-conf-test] (False, True) -> p1
2099.13 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:15-25
2099.13 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2099.13 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.13 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2099.13 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.13 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
2099.13 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
2099.13 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.13 s
[opt-env-conf-test] (True, False) -> p2
2099.13 s
[opt-env-conf-test] (False, True) -> p1
2099.13 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:15-25
2099.13 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2099.14 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2099.14 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2099.14 s
[opt-env-conf-test] ParserSetting _ _ -> False
2099.14 s
[opt-env-conf-test] - in case (isEmpty p1 , isEmpty p2) of
2099.14 s
[opt-env-conf-test] + in case ( n ot (isEmpty p1 ) , isEmpty p2) of
2099.14 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2099.14 s
[opt-env-conf-test] (True, False) -> p2
2099.14 s
[opt-env-conf-test] (False, True) -> p1
2101.17 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
2101.17 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2101.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2101.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2101.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
2101.25 s
[opt-env-conf-test] - in case (isEmpty p1, i sE mpt y p 2 ) of
2101.25 s
[opt-env-conf-test] + in case (isEmpty p1, T ru e ) of
2101.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2101.25 s
[opt-env-conf-test] (True, False) -> p2
2101.25 s
[opt-env-conf-test] (False, True) -> p1
2101.25 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:267:27-37
2101.25 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2101.25 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2101.25 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2101.25 s
[opt-env-conf-test] ParserSetting _ _ -> False
2101.25 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
2101.25 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
2101.25 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2101.25 s
[opt-env-conf-test] (True, False) -> p2
2101.25 s
[opt-env-conf-test] (False, True) -> p1
2101.25 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:267:27-37
2101.25 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2101.26 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2101.26 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2101.26 s
[opt-env-conf-test] ParserSetting _ _ -> False
2101.26 s
[opt-env-conf-test] - in case (isEmpty p1, isEmpty p2) of
2101.26 s
[opt-env-conf-test] + in case (isEmpty p1, n o t ( isEmpty p2) ) of
2101.26 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2101.26 s
[opt-env-conf-test] (True, False) -> p2
2101.26 s
[opt-env-conf-test] (False, True) -> p1
2101.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2101.26 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2101.26 s
[opt-env-conf-test] (True, False) -> p2
2101.26 s
[opt-env-conf-test] (False, True) -> p1
2101.26 s
[opt-env-conf-test] (False, False) ->
2101.26 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2101.26 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2101.26 s
[opt-env-conf-test] -- alts to always be right-leaning
2101.26 s
[opt-env-conf-test] --
2101.26 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2101.26 s
[opt-env-conf-test] -- p
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p1 p2
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p3 p4
2101.26 s
[opt-env-conf-test] --
2101.26 s
[opt-env-conf-test] -- We need to rearrange it to
2101.26 s
[opt-env-conf-test] -- p
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p1 ++ p3 p4
2101.26 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
2101.26 s
[opt-env-conf-test] - go (go p1' p3') p4'
2101.26 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2101.26 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2101.26 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2101.26 s
[opt-env-conf-test] in go p1 p2
2101.26 s
[opt-env-conf-test] many = ParserMany Nothing
2101.26 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2101.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2101.26 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2101.26 s
[opt-env-conf-test] (True, False) -> p2
2101.26 s
[opt-env-conf-test] (False, True) -> p1
2101.26 s
[opt-env-conf-test] (False, False) ->
2101.26 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2101.26 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2101.26 s
[opt-env-conf-test] -- alts to always be right-leaning
2101.26 s
[opt-env-conf-test] --
2101.26 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2101.26 s
[opt-env-conf-test] -- p
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p1 p2
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p3 p4
2101.26 s
[opt-env-conf-test] --
2101.26 s
[opt-env-conf-test] -- We need to rearrange it to
2101.26 s
[opt-env-conf-test] -- p
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p1 ++ p3 p4
2101.26 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2101.26 s
[opt-env-conf-test] go (go p1' p3') p4'
2101.26 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2101.26 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2101.26 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2101.26 s
[opt-env-conf-test] in go p1 p2
2101.26 s
[opt-env-conf-test] many = ParserMany Nothing
2101.26 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2101.26 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2101.26 s
[opt-env-conf-test] @@ -269,26 +269,25 @@
2101.26 s
[opt-env-conf-test] (True, False) -> p2
2101.26 s
[opt-env-conf-test] (False, True) -> p1
2101.26 s
[opt-env-conf-test] (False, False) ->
2101.26 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2101.26 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2101.26 s
[opt-env-conf-test] -- alts to always be right-leaning
2101.26 s
[opt-env-conf-test] --
2101.26 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2101.26 s
[opt-env-conf-test] -- p
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p1 p2
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p3 p4
2101.26 s
[opt-env-conf-test] --
2101.26 s
[opt-env-conf-test] -- We need to rearrange it to
2101.26 s
[opt-env-conf-test] -- p
2101.26 s
[opt-env-conf-test] -- / \
2101.26 s
[opt-env-conf-test] -- p1 ++ p3 p4
2101.26 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2101.26 s
[opt-env-conf-test] go (go p1' p3') p4'
2101.26 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2101.26 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2101.27 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
2101.27 s
[opt-env-conf-test] in go p1 p2
2101.27 s
[opt-env-conf-test] many = ParserMany Nothing
2101.27 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2101.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2101.27 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2101.27 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2101.27 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2101.27 s
[opt-env-conf-test] ParserSetting _ _ -> False
2101.27 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2101.27 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
2101.27 s
[opt-env-conf-test] (True, False) -> p2
2101.27 s
[opt-env-conf-test] (False, True) -> p1
2101.27 s
[opt-env-conf-test] (False, False) ->
2101.27 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2101.27 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2101.27 s
[opt-env-conf-test] -- alts to always be right-leaning
2101.27 s
[opt-env-conf-test] --
2101.27 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2101.27 s
[opt-env-conf-test] -- p
2101.27 s
[opt-env-conf-test] -- / \
2101.27 s
[opt-env-conf-test] -- p1 p2
2101.27 s
[opt-env-conf-test] -- / \
2101.27 s
[opt-env-conf-test] -- p3 p4
2101.27 s
[opt-env-conf-test] --
2101.27 s
[opt-env-conf-test] -- We need to rearrange it to
2101.27 s
[opt-env-conf-test] -- p
2101.27 s
[opt-env-conf-test] -- / \
2101.27 s
[opt-env-conf-test] -- p1 ++ p3 p4
2101.27 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2101.27 s
[opt-env-conf-test] go (go p1' p3') p4'
2101.27 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2101.27 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2101.27 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2101.27 s
[opt-env-conf-test] in go p1 p2
2101.27 s
[opt-env-conf-test] many = ParserMany Nothing
2101.27 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2101.27 s
[opt-env-conf-test]
2101.27 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2101.27 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2101.27 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2101.27 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2101.27 s
[opt-env-conf-test] ParserSetting _ _ -> False
2101.27 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2101.27 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2101.27 s
[opt-env-conf-test] - (True, False) -> p2
2101.27 s
[opt-env-conf-test] (False, True) -> p1
2101.27 s
[opt-env-conf-test] (False, False) ->
2101.27 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2101.27 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2101.27 s
[opt-env-conf-test] -- alts to always be right-leaning
2101.27 s
[opt-env-conf-test] --
2101.27 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2101.27 s
[opt-env-conf-test] -- p
2101.27 s
[opt-env-conf-test] -- / \
2101.27 s
[opt-env-conf-test] -- p1 p2
2101.27 s
[opt-env-conf-test] -- / \
2101.27 s
[opt-env-conf-test] -- p3 p4
2101.27 s
[opt-env-conf-test] --
2101.27 s
[opt-env-conf-test] -- We need to rearrange it to
2101.27 s
[opt-env-conf-test] -- p
2101.27 s
[opt-env-conf-test] -- / \
2101.27 s
[opt-env-conf-test] -- p1 ++ p3 p4
2101.27 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2101.27 s
[opt-env-conf-test] go (go p1' p3') p4'
2103.73 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2103.73 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2103.73 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2103.73 s
[opt-env-conf-test] in go p1 p2
2103.73 s
[opt-env-conf-test] many = ParserMany Nothing
2103.73 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2103.73 s
[opt-env-conf-test]
2103.73 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2103.73 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2103.73 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2103.73 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2103.73 s
[opt-env-conf-test] ParserSetting _ _ -> False
2103.73 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2103.73 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2103.74 s
[opt-env-conf-test] (True, False) -> p2
2103.74 s
[opt-env-conf-test] - (False, True) -> p1
2103.74 s
[opt-env-conf-test] (False, False) ->
2103.74 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2103.74 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2103.74 s
[opt-env-conf-test] -- alts to always be right-leaning
2103.74 s
[opt-env-conf-test] --
2103.74 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2103.74 s
[opt-env-conf-test] -- p
2103.74 s
[opt-env-conf-test] -- / \
2103.74 s
[opt-env-conf-test] -- p1 p2
2103.74 s
[opt-env-conf-test] -- / \
2103.74 s
[opt-env-conf-test] -- p3 p4
2103.74 s
[opt-env-conf-test] --
2103.74 s
[opt-env-conf-test] -- We need to rearrange it to
2103.74 s
[opt-env-conf-test] -- p
2103.74 s
[opt-env-conf-test] -- / \
2103.74 s
[opt-env-conf-test] -- p1 ++ p3 p4
2103.74 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2103.74 s
[opt-env-conf-test] go (go p1' p3') p4'
2103.74 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2103.74 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2103.74 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2103.74 s
[opt-env-conf-test] in go p1 p2
2103.74 s
[opt-env-conf-test] many = ParserMany Nothing
2103.74 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2103.74 s
[opt-env-conf-test]
2103.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2103.74 s
[opt-env-conf-test] @@ -264,32 +264,10 @@
2103.74 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2103.74 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2103.74 s
[opt-env-conf-test] ParserSetting _ _ -> False
2103.74 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2103.74 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2103.74 s
[opt-env-conf-test] (True, False) -> p2
2103.74 s
[opt-env-conf-test] (False, True) -> p1
2103.74 s
[opt-env-conf-test] - (False, False) ->
2103.74 s
[opt-env-conf-test] - let go p1' p2' = case (p1', p2') of
2103.74 s
[opt-env-conf-test] - -- <|> needs to be associative, so we need to reorder the
2103.74 s
[opt-env-conf-test] - -- alts to always be right-leaning
2103.74 s
[opt-env-conf-test] - --
2103.74 s
[opt-env-conf-test] - -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2103.74 s
[opt-env-conf-test] - -- p
2103.74 s
[opt-env-conf-test] - -- / \
2103.74 s
[opt-env-conf-test] - -- p1 p2
2103.74 s
[opt-env-conf-test] - -- / \
2103.74 s
[opt-env-conf-test] - -- p3 p4
2103.74 s
[opt-env-conf-test] - --
2103.74 s
[opt-env-conf-test] - -- We need to rearrange it to
2103.74 s
[opt-env-conf-test] - -- p
2103.74 s
[opt-env-conf-test] - -- / \
2103.74 s
[opt-env-conf-test] - -- p1 ++ p3 p4
2103.74 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
2103.74 s
[opt-env-conf-test] - go (go p1' p3') p4'
2103.74 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2103.74 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2103.74 s
[opt-env-conf-test] - _ -> ParserAlt p1' p2'
2103.74 s
[opt-env-conf-test] - in go p1 p2
2103.74 s
[opt-env-conf-test] many = ParserMany Nothing
2103.74 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2103.74 s
[opt-env-conf-test]
2103.74 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
2103.74 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
2103.74 s
[opt-env-conf-test]
2103.74 s
[opt-env-conf-test] instance Applicative Parser where
2103.74 s
[opt-env-conf-test] pure = ParserPure
2103.74 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
2103.74 s
[opt-env-conf-test] -- Homomorphism law for applicative
2103.74 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
2103.74 s
[opt-env-conf-test] _ -> ParserAp p1 p2
2103.74 s
[opt-env-conf-test]
2103.74 s
[opt-env-conf-test] instance Selective Parser where
2103.75 s
[opt-env-conf-test] select = ParserSelect
2103.75 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
2103.75 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
2103.75 s
[opt-env-conf-test]
2103.75 s
[opt-env-conf-test] instance Applicative Parser where
2103.75 s
[opt-env-conf-test] pure = ParserPure
2103.75 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
2103.75 s
[opt-env-conf-test] -- Homomorphism law for applicative
2103.75 s
[opt-env-conf-test] (ParserPure f, ParserPure a) -> ParserPure (f a)
2103.75 s
[opt-env-conf-test] - _ -> ParserAp p1 p2
2103.75 s
[opt-env-conf-test]
2103.75 s
[opt-env-conf-test] instance Selective Parser where
2103.75 s
[opt-env-conf-test] select = ParserSelect
2103.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
2103.75 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
2103.75 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
2103.75 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
2103.75 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
2103.75 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc f o r gi v a b l e caps (fmap (fmap f) . g) p
2103.75 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc T r u e caps (fmap (fmap f) . g) p
2103.75 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
2103.75 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
2103.75 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
2103.75 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Parser.hs:234:62-72
2103.75 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
2103.75 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
2103.75 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
2103.75 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
2103.75 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc f o rg iv a b l e caps (fmap (fmap f) . g) p
2103.75 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc F a l s e caps (fmap (fmap f) . g) p
2103.75 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
2103.75 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
2103.75 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
2103.75 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:234:62-72
2103.75 s
[opt-env-conf-test] @@ -231,7 +231,7 @@
2103.75 s
[opt-env-conf-test] ParserSelect pe pf -> ParserSelect (fmap (fmap f) pe) (fmap (fmap f) pf)
2103.75 s
[opt-env-conf-test] ParserEmpty mLoc -> ParserEmpty mLoc
2103.75 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt (fmap f p1) (fmap f p2)
2103.75 s
[opt-env-conf-test] - ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc forgivable caps (fmap (fmap f) . g) p
2103.75 s
[opt-env-conf-test] + ParserCheck mLoc forgivable caps g p -> ParserCheck mLoc n o t ( forgivable ) caps (fmap (fmap f) . g) p
2103.75 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
2103.75 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
2103.75 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
2103.75 s
[opt-env-conf-test] Testing mutation BoolLit at src/OptEnvConf/Parser.hs:238:30-34
2103.75 s
[opt-env-conf-test] @@ -235,7 +235,7 @@
2103.75 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs -> ParserCommands mLoc mDefault $ map (fmap f) cs
2103.75 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> ParserWithConfig mLoc pc (fmap f pa)
2103.75 s
[opt-env-conf-test] -- If we ever make Setting a functor, then we need to fmap here
2103.75 s
[opt-env-conf-test] - p -> ParserCheck Nothing Tr u e Set.empty (pure . Right . f) p
2103.75 s
[opt-env-conf-test] + p -> ParserCheck Nothing F a ls e Set.empty (pure . Right . f) p
2103.75 s
[opt-env-conf-test]
2103.75 s
[opt-env-conf-test] instance Applicative Parser where
2103.75 s
[opt-env-conf-test] pure = ParserPure
2103.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
2103.75 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
2103.75 s
[opt-env-conf-test] showString "Command "
2103.75 s
[opt-env-conf-test] . showsPrec 11 commandArg
2103.75 s
[opt-env-conf-test] . showString " "
2103.75 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
2103.75 s
[opt-env-conf-test] + . showsPrec 0 commandHelp
2103.75 s
[opt-env-conf-test] . showString " "
2103.75 s
[opt-env-conf-test] . showParserPrec 11 commandParser
2103.75 s
[opt-env-conf-test]
2103.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
2103.75 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
2103.75 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
2103.75 s
[opt-env-conf-test] showCommandABit Command {..} =
2103.75 s
[opt-env-conf-test] showString "Command "
2103.75 s
[opt-env-conf-test] - . showsPrec 11 commandArg
2103.75 s
[opt-env-conf-test] + . showsPrec - 11 commandArg
2103.75 s
[opt-env-conf-test] . showString " "
2103.75 s
[opt-env-conf-test] . showsPrec 11 commandHelp
2103.75 s
[opt-env-conf-test] . showString " "
2103.75 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
2103.75 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
2103.75 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
2103.75 s
[opt-env-conf-test] showCommandABit Command {..} =
2106.28 s
[opt-env-conf-test] showString "Command "
2106.28 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
2106.35 s
[opt-env-conf-test] + . showsPrec 1 commandArg
2106.35 s
[opt-env-conf-test] . showString " "
2106.35 s
[opt-env-conf-test] . showsPrec 11 commandHelp
2106.35 s
[opt-env-conf-test] . showString " "
2106.35 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
2106.35 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
2106.35 s
[opt-env-conf-test] ParserSetting mLoc p ->
2106.35 s
[opt-env-conf-test] showParen (d > 10) $
2106.35 s
[opt-env-conf-test] showString "Setting "
2106.35 s
[opt-env-conf-test] - . showsPrec 11 mLoc
2106.35 s
[opt-env-conf-test] + . showsPrec - 11 mLoc
2106.35 s
[opt-env-conf-test] . showString " "
2106.35 s
[opt-env-conf-test] . showSettingABit p
2106.35 s
[opt-env-conf-test]
2106.35 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:134:17-19
2106.35 s
[opt-env-conf-test] @@ -131,7 +131,7 @@
2106.35 s
[opt-env-conf-test] showCommandABit :: Command a -> ShowS
2106.35 s
[opt-env-conf-test] showCommandABit Command {..} =
2106.35 s
[opt-env-conf-test] showString "Command "
2106.36 s
[opt-env-conf-test] - . showsPrec 1 1 commandArg
2106.36 s
[opt-env-conf-test] + . showsPrec 0 commandArg
2106.36 s
[opt-env-conf-test] . showString " "
2106.36 s
[opt-env-conf-test] . showsPrec 11 commandHelp
2106.36 s
[opt-env-conf-test] . showString " "
2106.36 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:375:25-27
2106.36 s
[opt-env-conf-test] @@ -372,7 +372,7 @@
2106.36 s
[opt-env-conf-test] ParserSetting mLoc p ->
2106.36 s
[opt-env-conf-test] showParen (d > 10) $
2106.36 s
[opt-env-conf-test] showString "Setting "
2106.36 s
[opt-env-conf-test] - . showsPrec 1 1 mLoc
2106.36 s
[opt-env-conf-test] + . showsPrec 1 mLoc
2106.36 s
[opt-env-conf-test] . showString " "
2106.36 s
[opt-env-conf-test] . showSettingABit p
2106.36 s
[opt-env-conf-test]
2106.36 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:373:19-27
2106.36 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2106.36 s
[opt-env-conf-test] . showString " "
2106.36 s
[opt-env-conf-test] . go 11 p2
2106.36 s
[opt-env-conf-test] ParserSetting mLoc p ->
2106.36 s
[opt-env-conf-test] - showPare n ( d > 10) $
2106.36 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2106.36 s
[opt-env-conf-test] showString "Setting "
2106.36 s
[opt-env-conf-test] . showsPrec 11 mLoc
2106.36 s
[opt-env-conf-test] . showString " "
2106.36 s
[opt-env-conf-test] Testing mutation IntLit at src/OptEnvConf/Parser.hs:136:17-19
2106.36 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
2106.36 s
[opt-env-conf-test] showString "Command "
2106.36 s
[opt-env-conf-test] . showsPrec 11 commandArg
2106.36 s
[opt-env-conf-test] . showString " "
2106.36 s
[opt-env-conf-test] - . showsPrec 1 1 commandHelp
2106.36 s
[opt-env-conf-test] + . showsPrec 1 commandHelp
2106.36 s
[opt-env-conf-test] . showString " "
2106.36 s
[opt-env-conf-test] . showParserPrec 11 commandParser
2106.36 s
[opt-env-conf-test]
2106.36 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
2106.36 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
2106.36 s
[opt-env-conf-test] put as'
2106.36 s
[opt-env-conf-test] pure $ Just []
2106.36 s
[opt-env-conf-test] Nothing -> do
2106.36 s
[opt-env-conf-test] - if a r gs AtE nd as
2106.36 s
[opt-env-conf-test] + if T r ue
2106.36 s
[opt-env-conf-test] then completeWithDasheds
2106.36 s
[opt-env-conf-test] else do
2106.36 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
2106.36 s
[opt-env-conf-test] Testing mutation ConstBool at src/OptEnvConf/Completion.hs:461:32-44
2106.36 s
[opt-env-conf-test] @@ -458,7 +458,7 @@
2106.36 s
[opt-env-conf-test] put as'
2106.36 s
[opt-env-conf-test] pure $ Just []
2106.36 s
[opt-env-conf-test] Nothing -> do
2106.36 s
[opt-env-conf-test] - if a r g s A t End as
2106.36 s
[opt-env-conf-test] + if F a l s e
2106.36 s
[opt-env-conf-test] then completeWithDasheds
2106.36 s
[opt-env-conf-test] else do
2106.36 s
[opt-env-conf-test] -- If we're not at the end, we may be between an option's
2106.36 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Parser.hs:304:33-41
2106.36 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2106.36 s
[opt-env-conf-test] where
2106.36 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2106.36 s
[opt-env-conf-test] go d = \case
2106.36 s
[opt-env-conf-test] - ParserPure _ -> showPare n ( d > 10) $ showString "Pure _"
2106.36 s
[opt-env-conf-test] + ParserPure _ -> showPare n n o t ( ( d > 10) ) $ showString "Pure _"
2106.36 s
[opt-env-conf-test] ParserAp pf pa ->
2106.36 s
[opt-env-conf-test] showParen (d > 10) $
2106.36 s
[opt-env-conf-test] showString "Ap "
2106.36 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:474:47-63
2106.36 s
[opt-env-conf-test] @@ -471,9 +471,8 @@
2106.36 s
[opt-env-conf-test] -- consume the option argument too.
2106.36 s
[opt-env-conf-test] case Args.consumeSwitch settingDasheds as of
2106.36 s
[opt-env-conf-test] Nothing -> pure $ Just []
2106.36 s
[opt-env-conf-test] Just as' -> do
2106.36 s
[opt-env-conf-test] - put as'
2106.36 s
[opt-env-conf-test] completeWithCompleterAtEnd
2106.36 s
[opt-env-conf-test] else do
2106.36 s
[opt-env-conf-test] -- We can't auto-complete settings parsed from env vars
2106.36 s
[opt-env-conf-test] -- or config values, but this path is still valid.
2106.36 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Completion.hs:441:20-45
2106.36 s
[opt-env-conf-test] @@ -438,7 +438,7 @@
2106.36 s
[opt-env-conf-test] put as'
2106.36 s
[opt-env-conf-test] completeWithCompleterAtEnd
2106.36 s
[opt-env-conf-test] else
2106.36 s
[opt-env-conf-test] - if isJust settingSwitchValue
2106.36 s
[opt-env-conf-test] + if n o t ( isJust settingSwitchValue )
2106.36 s
[opt-env-conf-test] then do
2106.36 s
[opt-env-conf-test] -- Try to parse the switch first, so we don't suggest it if
2106.37 s
[opt-env-conf-test] -- it's already been parsed.
2106.37 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:426:35-35
2106.37 s
[opt-env-conf-test] @@ -423,9 +423,8 @@
2106.37 s
[opt-env-conf-test] -- that over the "don't consume" fallback, because a
2106.37 s
[opt-env-conf-test] -- consumed value means the user already provided input.
2106.37 s
[opt-env-conf-test] case filter (isJust . fst) possibilities of
2106.37 s
[opt-env-conf-test] (_, as') : _ -> do
2106.37 s
[opt-env-conf-test] - put as'
2106.37 s
[opt-env-conf-test] pure $ Just []
2106.37 s
[opt-env-conf-test] [] ->
2106.37 s
[opt-env-conf-test] -- No possibility consumed a value. This is either
2106.37 s
[opt-env-conf-test] -- because there are no args at all (the [] case from
2106.37 s
[opt-env-conf-test] Testing mutation ListLit at src/OptEnvConf/Run.hs:144:15-60
2106.37 s
[opt-env-conf-test] @@ -141,7 +141,6 @@
2106.37 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2106.37 s
[opt-env-conf-test] pure (a : as)
2106.37 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2106.37 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2106.37 s
[opt-env-conf-test] ppIndent $ do
2106.37 s
[opt-env-conf-test] a <- go p'
2106.37 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
2106.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:138:11-28
2106.37 s
[opt-env-conf-test] @@ -135,11 +135,10 @@
2106.37 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2106.37 s
[opt-env-conf-test] ppIndent $ do
2106.37 s
[opt-env-conf-test] eor <- tryPP $ go p'
2106.37 s
[opt-env-conf-test] case eor of
2106.37 s
[opt-env-conf-test] - Nothing -> pure []
2106.37 s
[opt-env-conf-test] Just a -> do
2106.37 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2106.37 s
[opt-env-conf-test] pure (a : as)
2106.37 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2106.37 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2106.37 s
[opt-env-conf-test] ppIndent $ do
2106.37 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
2106.37 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
2106.37 s
[opt-env-conf-test] -- completer if we are at the end.
2106.37 s
[opt-env-conf-test] case possibilities of
2106.37 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
2106.37 s
[opt-env-conf-test] (_, as') : _ -> do
2106.37 s
[opt-env-conf-test] - put as'
2106.37 s
[opt-env-conf-test] completeWithCompleterAtEnd
2106.37 s
[opt-env-conf-test] else
2106.37 s
[opt-env-conf-test] if isJust settingSwitchValue
2106.37 s
[opt-env-conf-test] then do
2106.37 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:138:11-28
2106.37 s
[opt-env-conf-test] @@ -135,11 +135,8 @@
2106.37 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2106.37 s
[opt-env-conf-test] ppIndent $ do
2106.37 s
[opt-env-conf-test] eor <- tryPP $ go p'
2106.37 s
[opt-env-conf-test] case eor of
2106.37 s
[opt-env-conf-test] Nothing -> pure []
2106.37 s
[opt-env-conf-test] - Just a -> do
2106.37 s
[opt-env-conf-test] - as <- go (ParserMany mLoc p')
2106.37 s
[opt-env-conf-test] - pure (a : as)
2106.37 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2106.37 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2106.37 s
[opt-env-conf-test] ppIndent $ do
2106.37 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:134:29-28
2106.37 s
[opt-env-conf-test] @@ -131,15 +131,14 @@
2106.37 s
[opt-env-conf-test] Nothing -> do
2106.37 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2106.37 s
[opt-env-conf-test] ppIndent $ go p2
2106.37 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2106.37 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2106.37 s
[opt-env-conf-test] ppIndent $ do
2106.37 s
[opt-env-conf-test] eor <- tryPP $ go p'
2106.37 s
[opt-env-conf-test] case eor of
2106.37 s
[opt-env-conf-test] Nothing -> pure []
2106.37 s
[opt-env-conf-test] Just a -> do
2106.37 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2106.37 s
[opt-env-conf-test] pure (a : as)
2106.37 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2106.37 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2112.51 s
[opt-env-conf-test] Killed: 1228
2112.51 s
[opt-env-conf-test] (of which timed out: 1 )
2112.51 s
[opt-env-conf-test] Survived: 301
2112.53 s
[opt-env-conf-test] Uncovered: 381
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] Timed-out mutations:
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] [timed out after 30.211618 s]
2112.53 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:272:14-29
2112.53 s
[opt-env-conf-test] @@ -269,7 +269,7 @@
2112.53 s
[opt-env-conf-test] Nothing -> pure Nothing
2112.53 s
[opt-env-conf-test] Just os -> do
2112.53 s
[opt-env-conf-test] after <- get
2112.53 s
[opt-env-conf-test] - if a f te r == bef or e
2112.53 s
[opt-env-conf-test] + if F a l s e
2112.53 s
[opt-env-conf-test] then -- State did not advance; return these completions.
2112.53 s
[opt-env-conf-test] pure $ Just os
2112.53 s
[opt-env-conf-test] else -- State advanced: something was consumed. Try the
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] Surviving mutations:
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:242:17-24
2112.53 s
[opt-env-conf-test] @@ -239,10 +239,9 @@
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] instance Applicative Parser where
2112.53 s
[opt-env-conf-test] pure = ParserPure
2112.53 s
[opt-env-conf-test] (<*>) p1 p2 = case (p1, p2) of
2112.53 s
[opt-env-conf-test] -- Homomorphism law for applicative
2112.53 s
[opt-env-conf-test] - (ParserPure f, ParserPure a) -> ParserPure (f a)
2112.53 s
[opt-env-conf-test] _ -> ParserAp p1 p2
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] instance Selective Parser where
2112.53 s
[opt-env-conf-test] select = ParserSelect
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2112.53 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2112.53 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2112.53 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.53 s
[opt-env-conf-test] ParserSetting _ _ -> False
2112.53 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2112.53 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2112.53 s
[opt-env-conf-test] (True, False) -> p2
2112.53 s
[opt-env-conf-test] - (False, True) -> p1
2112.53 s
[opt-env-conf-test] (False, False) ->
2112.53 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2112.53 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2112.53 s
[opt-env-conf-test] -- alts to always be right-leaning
2112.53 s
[opt-env-conf-test] --
2112.53 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2112.53 s
[opt-env-conf-test] -- p
2112.53 s
[opt-env-conf-test] -- / \
2112.53 s
[opt-env-conf-test] -- p1 p2
2112.53 s
[opt-env-conf-test] -- / \
2112.53 s
[opt-env-conf-test] -- p3 p4
2112.53 s
[opt-env-conf-test] --
2112.53 s
[opt-env-conf-test] -- We need to rearrange it to
2112.53 s
[opt-env-conf-test] -- p
2112.53 s
[opt-env-conf-test] -- / \
2112.53 s
[opt-env-conf-test] -- p1 ++ p3 p4
2112.53 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2112.53 s
[opt-env-conf-test] go (go p1' p3') p4'
2112.53 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2112.53 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2112.53 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2112.53 s
[opt-env-conf-test] in go p1 p2
2112.53 s
[opt-env-conf-test] many = ParserMany Nothing
2112.53 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test]
2112.53 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2112.53 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2112.53 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2112.53 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.53 s
[opt-env-conf-test] ParserSetting _ _ -> False
2112.53 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2112.53 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2112.53 s
[opt-env-conf-test] - (True, False) -> p2
2112.53 s
[opt-env-conf-test] (False, True) -> p1
2112.53 s
[opt-env-conf-test] (False, False) ->
2112.53 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2112.53 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2112.53 s
[opt-env-conf-test] -- alts to always be right-leaning
2112.53 s
[opt-env-conf-test] --
2112.53 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2112.53 s
[opt-env-conf-test] -- p
2112.53 s
[opt-env-conf-test] -- / \
2112.53 s
[opt-env-conf-test] -- p1 p2
2112.53 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p3 p4
2112.54 s
[opt-env-conf-test] --
2112.54 s
[opt-env-conf-test] -- We need to rearrange it to
2112.54 s
[opt-env-conf-test] -- p
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p1 ++ p3 p4
2112.54 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2112.54 s
[opt-env-conf-test] go (go p1' p3') p4'
2112.54 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2112.54 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2112.54 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2112.54 s
[opt-env-conf-test] in go p1 p2
2112.54 s
[opt-env-conf-test] many = ParserMany Nothing
2112.54 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:267:9-25
2112.54 s
[opt-env-conf-test] @@ -264,32 +264,31 @@
2112.54 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2112.54 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.54 s
[opt-env-conf-test] ParserSetting _ _ -> False
2112.54 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2112.54 s
[opt-env-conf-test] - (True, True) -> ParserEmpty Nothing
2112.54 s
[opt-env-conf-test] (True, False) -> p2
2112.54 s
[opt-env-conf-test] (False, True) -> p1
2112.54 s
[opt-env-conf-test] (False, False) ->
2112.54 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2112.54 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2112.54 s
[opt-env-conf-test] -- alts to always be right-leaning
2112.54 s
[opt-env-conf-test] --
2112.54 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2112.54 s
[opt-env-conf-test] -- p
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p1 p2
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p3 p4
2112.54 s
[opt-env-conf-test] --
2112.54 s
[opt-env-conf-test] -- We need to rearrange it to
2112.54 s
[opt-env-conf-test] -- p
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p1 ++ p3 p4
2112.54 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2112.54 s
[opt-env-conf-test] go (go p1' p3') p4'
2112.54 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2112.54 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2112.54 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2112.54 s
[opt-env-conf-test] in go p1 p2
2112.54 s
[opt-env-conf-test] many = ParserMany Nothing
2112.54 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2112.54 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2112.54 s
[opt-env-conf-test] (True, False) -> p2
2112.54 s
[opt-env-conf-test] (False, True) -> p1
2112.54 s
[opt-env-conf-test] (False, False) ->
2112.54 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2112.54 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2112.54 s
[opt-env-conf-test] -- alts to always be right-leaning
2112.54 s
[opt-env-conf-test] --
2112.54 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2112.54 s
[opt-env-conf-test] -- p
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p1 p2
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p3 p4
2112.54 s
[opt-env-conf-test] --
2112.54 s
[opt-env-conf-test] -- We need to rearrange it to
2112.54 s
[opt-env-conf-test] -- p
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p1 ++ p3 p4
2112.54 s
[opt-env-conf-test] (ParserCommands _ _ _, ParserAlt p3' p4') ->
2112.54 s
[opt-env-conf-test] go (go p1' p3') p4'
2112.54 s
[opt-env-conf-test] - (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2112.54 s
[opt-env-conf-test] - ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2112.54 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2112.54 s
[opt-env-conf-test] in go p1 p2
2112.54 s
[opt-env-conf-test] many = ParserMany Nothing
2112.54 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:272:30-41
2112.54 s
[opt-env-conf-test] @@ -269,26 +269,24 @@
2112.54 s
[opt-env-conf-test] (True, False) -> p2
2112.54 s
[opt-env-conf-test] (False, True) -> p1
2112.54 s
[opt-env-conf-test] (False, False) ->
2112.54 s
[opt-env-conf-test] let go p1' p2' = case (p1', p2') of
2112.54 s
[opt-env-conf-test] -- <|> needs to be associative, so we need to reorder the
2112.54 s
[opt-env-conf-test] -- alts to always be right-leaning
2112.54 s
[opt-env-conf-test] --
2112.54 s
[opt-env-conf-test] -- That means if we want to construct this parser, where p1 and p3 are commands parsers:
2112.54 s
[opt-env-conf-test] -- p
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p1 p2
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p3 p4
2112.54 s
[opt-env-conf-test] --
2112.54 s
[opt-env-conf-test] -- We need to rearrange it to
2112.54 s
[opt-env-conf-test] -- p
2112.54 s
[opt-env-conf-test] -- / \
2112.54 s
[opt-env-conf-test] -- p1 ++ p3 p4
2112.54 s
[opt-env-conf-test] - (ParserCommands _ _ _, ParserAlt p3' p4') ->
2112.54 s
[opt-env-conf-test] - go (go p1' p3') p4'
2112.54 s
[opt-env-conf-test] (ParserCommands mLoc1 mDefault1 cs1, ParserCommands mLoc2 mDefault2 cs2) ->
2112.54 s
[opt-env-conf-test] ParserCommands (mLoc1 <|> mLoc2) (mDefault1 <|> mDefault2) (cs1 ++ cs2)
2112.54 s
[opt-env-conf-test] _ -> ParserAlt p1' p2'
2112.54 s
[opt-env-conf-test] in go p1 p2
2112.54 s
[opt-env-conf-test] many = ParserMany Nothing
2112.54 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:27-37
2112.54 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2112.54 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2112.54 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.54 s
[opt-env-conf-test] ParserSetting _ _ -> False
2112.54 s
[opt-env-conf-test] - in case (isEmpty p1, i s E m pty p 2 ) of
2112.54 s
[opt-env-conf-test] + in case (isEmpty p1, F al s e ) of
2112.54 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2112.54 s
[opt-env-conf-test] (True, False) -> p2
2112.54 s
[opt-env-conf-test] (False, True) -> p1
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:267:15-25
2112.54 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2112.54 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2112.54 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.54 s
[opt-env-conf-test] ParserSetting _ _ -> False
2112.54 s
[opt-env-conf-test] - in case ( i s E m pty p 1 , isEmpty p2) of
2112.54 s
[opt-env-conf-test] + in case ( F al s e , isEmpty p2) of
2112.54 s
[opt-env-conf-test] (True, True) -> ParserEmpty Nothing
2112.54 s
[opt-env-conf-test] (True, False) -> p2
2112.54 s
[opt-env-conf-test] (False, True) -> p1
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:264:36-43
2112.54 s
[opt-env-conf-test] @@ -261,7 +261,7 @@
2112.54 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] - ParserCommands _ _ cs -> n u l l c s
2112.54 s
[opt-env-conf-test] + ParserCommands _ _ cs -> F a l s e
2112.54 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.54 s
[opt-env-conf-test] ParserSetting _ _ -> False
2112.54 s
[opt-env-conf-test] in case (isEmpty p1, isEmpty p2) of
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:263:36-45
2112.54 s
[opt-env-conf-test] @@ -260,7 +260,7 @@
2112.54 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] - ParserCheck _ _ _ _ p -> i s E m pty p
2112.54 s
[opt-env-conf-test] + ParserCheck _ _ _ _ p -> F a l s e
2112.54 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2112.54 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.54 s
[opt-env-conf-test] ParserSetting _ _ -> False
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:262:37-46
2112.54 s
[opt-env-conf-test] @@ -259,7 +259,7 @@
2112.54 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.54 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] - ParserAllOrNothing _ p -> i s E m pty p
2112.54 s
[opt-env-conf-test] + ParserAllOrNothing _ p -> F a l s e
2112.54 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserCommands _ _ cs -> null cs
2112.54 s
[opt-env-conf-test] ParserWithConfig _ pc ps -> isEmpty pc && isEmpty ps
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:260:29-38
2112.54 s
[opt-env-conf-test] @@ -257,7 +257,7 @@
2112.54 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.54 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.54 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.54 s
[opt-env-conf-test] - ParserMany _ p -> i s E m pty p
2112.54 s
[opt-env-conf-test] + ParserMany _ p -> F a l s e
2112.54 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserAllOrNothing _ p -> isEmpty p
2112.54 s
[opt-env-conf-test] ParserCheck _ _ _ _ p -> isEmpty p
2112.54 s
[opt-env-conf-test]
2112.54 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Parser.hs:258:28-32
2112.54 s
[opt-env-conf-test] @@ -255,7 +255,7 @@
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] ParserAp pf pa -> isEmpty pf && isEmpty pa
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] - ParserEmpty _ -> Tr u e
2112.55 s
[opt-env-conf-test] + ParserEmpty _ -> F a ls e
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test] ParserMany _ p -> isEmpty p
2112.55 s
[opt-env-conf-test] ParserSome _ p -> isEmpty p
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Parser.hs:256:29-53
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf & & isEmpty pa
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf | | isEmpty pa
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-53
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> i s Emp ty pf && isEmpty pa
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:43-53
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && n o t ( isEmpty pa )
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i s E m pty pa
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && F al s e
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:43-53
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && i sE mpt y p a
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> isEmpty pf && T ru e
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:256:29-39
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> isEmpty pf && isEmpty pa
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> n o t ( isEmpty pf ) && isEmpty pa
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> i s E m pty p f && isEmpty pa
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> F al s e && isEmpty pa
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:256:29-39
2112.55 s
[opt-env-conf-test] @@ -253,7 +253,7 @@
2112.55 s
[opt-env-conf-test] let isEmpty :: Parser a -> Bool
2112.55 s
[opt-env-conf-test] isEmpty = \case
2112.55 s
[opt-env-conf-test] ParserPure _ -> False
2112.55 s
[opt-env-conf-test] - ParserAp pf pa -> i sE mpt y p f && isEmpty pa
2112.55 s
[opt-env-conf-test] + ParserAp pf pa -> T ru e && isEmpty pa
2112.55 s
[opt-env-conf-test] ParserSelect pe pf -> isEmpty pe && isEmpty pf
2112.55 s
[opt-env-conf-test] ParserEmpty _ -> True
2112.55 s
[opt-env-conf-test] ParserAlt _ _ -> False
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:297:39-40
2112.55 s
[opt-env-conf-test] @@ -294,7 +294,7 @@
2112.55 s
[opt-env-conf-test] some = fmap NE.toList . ParserSome Nothing
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] showParserABit :: Parser a -> String
2112.55 s
[opt-env-conf-test] - showParserABit = flip (showParserPrec 0 ) ""
2112.55 s
[opt-env-conf-test] + showParserABit = flip (showParserPrec 1 ) ""
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] showParserPrec :: Int -> Parser a -> ShowS
2112.55 s
[opt-env-conf-test] showParserPrec = go
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:19-27
2112.55 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test] . go 11 p2
2112.55 s
[opt-env-conf-test] ParserSetting mLoc p ->
2112.55 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.55 s
[opt-env-conf-test] + showParen T ru e $
2112.55 s
[opt-env-conf-test] showString "Setting "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:373:20-26
2112.55 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test] . go 11 p2
2112.55 s
[opt-env-conf-test] ParserSetting mLoc p ->
2112.55 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.55 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.55 s
[opt-env-conf-test] showString "Setting "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:373:20-26
2112.55 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test] . go 11 p2
2112.55 s
[opt-env-conf-test] ParserSetting mLoc p ->
2112.55 s
[opt-env-conf-test] - showParen (d > 10) $
2112.55 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.55 s
[opt-env-conf-test] showString "Setting "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2112.55 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test] . go 11 p2
2112.55 s
[opt-env-conf-test] ParserSetting mLoc p ->
2112.55 s
[opt-env-conf-test] - showParen (d > 10) $
2112.55 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.55 s
[opt-env-conf-test] showString "Setting "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2112.55 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test] . go 11 p2
2112.55 s
[opt-env-conf-test] ParserSetting mLoc p ->
2112.55 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.55 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.55 s
[opt-env-conf-test] showString "Setting "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:373:24-26
2112.55 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test] . go 11 p2
2112.55 s
[opt-env-conf-test] ParserSetting mLoc p ->
2112.55 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.55 s
[opt-env-conf-test] + showParen (d > 0) $
2112.55 s
[opt-env-conf-test] showString "Setting "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:19-27
2112.55 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.55 s
[opt-env-conf-test] showCommandABit
2112.55 s
[opt-env-conf-test] cs
2112.55 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.55 s
[opt-env-conf-test] - showPare n ( d > 10) $
2112.55 s
[opt-env-conf-test] + showPare n n o t ( ( d > 10) ) $
2112.55 s
[opt-env-conf-test] showString "WithConfig _ "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2112.55 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.55 s
[opt-env-conf-test] showCommandABit
2112.55 s
[opt-env-conf-test] cs
2112.55 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.55 s
[opt-env-conf-test] - showParen ( d > 1 0) $
2112.55 s
[opt-env-conf-test] + showParen F a ls e $
2112.55 s
[opt-env-conf-test] showString "WithConfig _ "
2112.55 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.55 s
[opt-env-conf-test] . showString " "
2112.55 s
[opt-env-conf-test]
2112.55 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:19-27
2112.55 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.56 s
[opt-env-conf-test] + showParen T ru e $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] Negate at src/OptEnvConf/Parser.hs:365:20-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showPare n (d > 10) $
2112.56 s
[opt-env-conf-test] + showPare n ( n ot (d > 10) ) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.56 s
[opt-env-conf-test] + showParen ( F a lse ) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:365:20-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.56 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen (d > 10) $
2112.56 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen (d > 10) $
2112.56 s
[opt-env-conf-test] + showParen (d < = 10) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:365:20-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen (d > 10) $
2112.56 s
[opt-env-conf-test] + showParen (d < 10) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen (d > 10) $
2112.56 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.56 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:365:24-26
2112.56 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.56 s
[opt-env-conf-test] showCommandABit
2112.56 s
[opt-env-conf-test] cs
2112.56 s
[opt-env-conf-test] ParserWithConfig mLoc p1 p2 ->
2112.56 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.56 s
[opt-env-conf-test] + showParen (d > 0) $
2112.56 s
[opt-env-conf-test] showString "WithConfig _ "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:19-27
2112.56 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2112.56 s
[opt-env-conf-test] . showString " _ "
2112.56 s
[opt-env-conf-test] . go 11 p
2112.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2112.56 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.56 s
[opt-env-conf-test] + showParen T ru e $
2112.56 s
[opt-env-conf-test] showString "Commands "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:355:20-26
2112.56 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2112.56 s
[opt-env-conf-test] . showString " _ "
2112.56 s
[opt-env-conf-test] . go 11 p
2112.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2112.56 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.56 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.56 s
[opt-env-conf-test] showString "Commands "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:355:20-26
2112.56 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2112.56 s
[opt-env-conf-test] . showString " _ "
2112.56 s
[opt-env-conf-test] . go 11 p
2112.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2112.56 s
[opt-env-conf-test] - showParen (d > 10) $
2112.56 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.56 s
[opt-env-conf-test] showString "Commands "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2112.56 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2112.56 s
[opt-env-conf-test] . showString " _ "
2112.56 s
[opt-env-conf-test] . go 11 p
2112.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2112.56 s
[opt-env-conf-test] - showParen (d > 10) $
2112.56 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.56 s
[opt-env-conf-test] showString "Commands "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2112.56 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2112.56 s
[opt-env-conf-test] . showString " _ "
2112.56 s
[opt-env-conf-test] . go 11 p
2112.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2112.56 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.56 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.56 s
[opt-env-conf-test] showString "Commands "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:355:24-26
2112.56 s
[opt-env-conf-test] @@ -352,7 +352,7 @@
2112.56 s
[opt-env-conf-test] . showString " _ "
2112.56 s
[opt-env-conf-test] . go 11 p
2112.56 s
[opt-env-conf-test] ParserCommands mLoc mDefault cs ->
2112.56 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.56 s
[opt-env-conf-test] + showParen (d > 0) $
2112.56 s
[opt-env-conf-test] showString "Commands "
2112.56 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test]
2112.56 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:19-27
2112.56 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2112.56 s
[opt-env-conf-test] . showString " "
2112.56 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2112.57 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen T ru e $
2112.57 s
[opt-env-conf-test] showString "Check "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:345:20-26
2112.57 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2112.57 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.57 s
[opt-env-conf-test] showString "Check "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:345:20-26
2112.57 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 10) $
2112.57 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.57 s
[opt-env-conf-test] showString "Check "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2112.57 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 10) $
2112.57 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.57 s
[opt-env-conf-test] showString "Check "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2112.57 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.57 s
[opt-env-conf-test] showString "Check "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:345:24-26
2112.57 s
[opt-env-conf-test] @@ -342,7 +342,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserCheck mLoc forgivable caps _ p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.57 s
[opt-env-conf-test] + showParen (d > 0) $
2112.57 s
[opt-env-conf-test] showString "Check "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:19-27
2112.57 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserSome mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen T ru e $
2112.57 s
[opt-env-conf-test] showString "Some "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:333:20-26
2112.57 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserSome mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.57 s
[opt-env-conf-test] showString "Some "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:333:20-26
2112.57 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserSome mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 10) $
2112.57 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.57 s
[opt-env-conf-test] showString "Some "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2112.57 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserSome mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 10) $
2112.57 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.57 s
[opt-env-conf-test] showString "Some "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2112.57 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserSome mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.57 s
[opt-env-conf-test] showString "Some "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:333:24-26
2112.57 s
[opt-env-conf-test] @@ -330,7 +330,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p
2112.57 s
[opt-env-conf-test] ParserSome mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.57 s
[opt-env-conf-test] + showParen (d > 0) $
2112.57 s
[opt-env-conf-test] showString "Some "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:19-27
2112.57 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p2
2112.57 s
[opt-env-conf-test] ParserMany mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen T ru e $
2112.57 s
[opt-env-conf-test] showString "Many "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:327:20-26
2112.57 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p2
2112.57 s
[opt-env-conf-test] ParserMany mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.57 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.57 s
[opt-env-conf-test] showString "Many "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:327:20-26
2112.57 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p2
2112.57 s
[opt-env-conf-test] ParserMany mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 10) $
2112.57 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.57 s
[opt-env-conf-test] showString "Many "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2112.57 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p2
2112.57 s
[opt-env-conf-test] ParserMany mLoc p ->
2112.57 s
[opt-env-conf-test] - showParen (d > 10) $
2112.57 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.57 s
[opt-env-conf-test] showString "Many "
2112.57 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test]
2112.57 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2112.57 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2112.57 s
[opt-env-conf-test] . showString " "
2112.57 s
[opt-env-conf-test] . go 11 p2
2112.58 s
[opt-env-conf-test] ParserMany mLoc p ->
2112.58 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.58 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.58 s
[opt-env-conf-test] showString "Many "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:327:24-26
2112.58 s
[opt-env-conf-test] @@ -324,7 +324,7 @@
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test] . go 11 p2
2112.58 s
[opt-env-conf-test] ParserMany mLoc p ->
2112.58 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.58 s
[opt-env-conf-test] + showParen (d > 0) $
2112.58 s
[opt-env-conf-test] showString "Many "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:19-27
2112.58 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2112.58 s
[opt-env-conf-test] showString "Empty "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2112.58 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.58 s
[opt-env-conf-test] + showParen T ru e $
2112.58 s
[opt-env-conf-test] showString "Alt "
2112.58 s
[opt-env-conf-test] . go 11 p1
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:321:20-26
2112.58 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2112.58 s
[opt-env-conf-test] showString "Empty "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2112.58 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.58 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.58 s
[opt-env-conf-test] showString "Alt "
2112.58 s
[opt-env-conf-test] . go 11 p1
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:321:20-26
2112.58 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2112.58 s
[opt-env-conf-test] showString "Empty "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2112.58 s
[opt-env-conf-test] - showParen (d > 10) $
2112.58 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.58 s
[opt-env-conf-test] showString "Alt "
2112.58 s
[opt-env-conf-test] . go 11 p1
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2112.58 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2112.58 s
[opt-env-conf-test] showString "Empty "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2112.58 s
[opt-env-conf-test] - showParen (d > 10) $
2112.58 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.58 s
[opt-env-conf-test] showString "Alt "
2112.58 s
[opt-env-conf-test] . go 11 p1
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2112.58 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2112.58 s
[opt-env-conf-test] showString "Empty "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2112.58 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.58 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.58 s
[opt-env-conf-test] showString "Alt "
2112.58 s
[opt-env-conf-test] . go 11 p1
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:321:24-26
2112.58 s
[opt-env-conf-test] @@ -318,7 +318,7 @@
2112.58 s
[opt-env-conf-test] showString "Empty "
2112.58 s
[opt-env-conf-test] . showsPrec 11 mLoc
2112.58 s
[opt-env-conf-test] ParserAlt p1 p2 ->
2112.58 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.58 s
[opt-env-conf-test] + showParen (d > 0) $
2112.58 s
[opt-env-conf-test] showString "Alt "
2112.58 s
[opt-env-conf-test] . go 11 p1
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:19-27
2112.58 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.58 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.58 s
[opt-env-conf-test] + showParen T ru e $
2112.58 s
[opt-env-conf-test] showString "Ap "
2112.58 s
[opt-env-conf-test] . go 11 pf
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:306:20-26
2112.58 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.58 s
[opt-env-conf-test] - showParen ( d > 1 0 ) $
2112.58 s
[opt-env-conf-test] + showParen ( Tru e ) $
2112.58 s
[opt-env-conf-test] showString "Ap "
2112.58 s
[opt-env-conf-test] . go 11 pf
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:306:20-26
2112.58 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.58 s
[opt-env-conf-test] - showParen (d > 10) $
2112.58 s
[opt-env-conf-test] + showParen (d > = 10) $
2112.58 s
[opt-env-conf-test] showString "Ap "
2112.58 s
[opt-env-conf-test] . go 11 pf
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2112.58 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.58 s
[opt-env-conf-test] - showParen (d > 10) $
2112.58 s
[opt-env-conf-test] + showParen (d > - 10) $
2112.58 s
[opt-env-conf-test] showString "Ap "
2112.58 s
[opt-env-conf-test] . go 11 pf
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2112.58 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.58 s
[opt-env-conf-test] - showParen (d > 1 0 ) $
2112.58 s
[opt-env-conf-test] + showParen (d > 1 ) $
2112.58 s
[opt-env-conf-test] showString "Ap "
2112.58 s
[opt-env-conf-test] . go 11 pf
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:306:24-26
2112.58 s
[opt-env-conf-test] @@ -303,7 +303,7 @@
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.58 s
[opt-env-conf-test] - showParen (d > 1 0) $
2112.58 s
[opt-env-conf-test] + showParen (d > 0) $
2112.58 s
[opt-env-conf-test] showString "Ap "
2112.58 s
[opt-env-conf-test] . go 11 pf
2112.58 s
[opt-env-conf-test] . showString " "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:33-41
2112.58 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2112.58 s
[opt-env-conf-test] where
2112.58 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] + ParserPure _ -> showParen T ru e $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.58 s
[opt-env-conf-test] showParen (d > 10) $
2112.58 s
[opt-env-conf-test] showString "Ap "
2112.58 s
[opt-env-conf-test]
2112.58 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Parser.hs:304:34-40
2112.58 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2112.58 s
[opt-env-conf-test] where
2112.58 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2112.58 s
[opt-env-conf-test] go d = \case
2112.58 s
[opt-env-conf-test] - ParserPure _ -> showParen ( d > 1 0 ) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] + ParserPure _ -> showParen ( Tru e ) $ showString "Pure _"
2112.58 s
[opt-env-conf-test] ParserAp pf pa ->
2112.59 s
[opt-env-conf-test] showParen (d > 10) $
2112.59 s
[opt-env-conf-test] showString "Ap "
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] Cmp at src/OptEnvConf/Parser.hs:304:34-40
2112.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2112.59 s
[opt-env-conf-test] go d = \case
2112.59 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > = 10) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] ParserAp pf pa ->
2112.59 s
[opt-env-conf-test] showParen (d > 10) $
2112.59 s
[opt-env-conf-test] showString "Ap "
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2112.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2112.59 s
[opt-env-conf-test] go d = \case
2112.59 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 10) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > - 10) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] ParserAp pf pa ->
2112.59 s
[opt-env-conf-test] showParen (d > 10) $
2112.59 s
[opt-env-conf-test] showString "Ap "
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2112.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2112.59 s
[opt-env-conf-test] go d = \case
2112.59 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0 ) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 1 ) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] ParserAp pf pa ->
2112.59 s
[opt-env-conf-test] showParen (d > 10) $
2112.59 s
[opt-env-conf-test] showString "Ap "
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Parser.hs:304:38-40
2112.59 s
[opt-env-conf-test] @@ -301,7 +301,7 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go :: Int -> Parser a -> ShowS
2112.59 s
[opt-env-conf-test] go d = \case
2112.59 s
[opt-env-conf-test] - ParserPure _ -> showParen (d > 1 0) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] + ParserPure _ -> showParen (d > 0) $ showString "Pure _"
2112.59 s
[opt-env-conf-test] ParserAp pf pa ->
2112.59 s
[opt-env-conf-test] showParen (d > 10) $
2112.59 s
[opt-env-conf-test] showString "Ap "
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.59 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go p =
2112.59 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.59 s
[opt-env-conf-test] in case p of
2112.59 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.59 s
[opt-env-conf-test] ParserAp {} -> p'
2112.59 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.59 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.59 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.59 s
[opt-env-conf-test] ParserMany {} -> p'
2112.59 s
[opt-env-conf-test] ParserSome {} -> p'
2112.59 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.59 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.59 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.59 s
[opt-env-conf-test] - ParserWithConfig {} -> p'
2112.59 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.59 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.59 s
[opt-env-conf-test] Just _ -> p
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.59 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.59 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go p =
2112.59 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.59 s
[opt-env-conf-test] in case p of
2112.59 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.59 s
[opt-env-conf-test] ParserAp {} -> p'
2112.59 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.59 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.59 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.59 s
[opt-env-conf-test] ParserMany {} -> p'
2112.59 s
[opt-env-conf-test] ParserSome {} -> p'
2112.59 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.59 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.59 s
[opt-env-conf-test] - ParserCommands {} -> p'
2112.59 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.59 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.59 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.59 s
[opt-env-conf-test] Just _ -> p
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.59 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.59 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go p =
2112.59 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.59 s
[opt-env-conf-test] in case p of
2112.59 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.59 s
[opt-env-conf-test] ParserAp {} -> p'
2112.59 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.59 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.59 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.59 s
[opt-env-conf-test] ParserMany {} -> p'
2112.59 s
[opt-env-conf-test] ParserSome {} -> p'
2112.59 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.59 s
[opt-env-conf-test] - ParserCheck {} -> p'
2112.59 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.59 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.59 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.59 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.59 s
[opt-env-conf-test] Just _ -> p
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.59 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.59 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go p =
2112.59 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.59 s
[opt-env-conf-test] in case p of
2112.59 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.59 s
[opt-env-conf-test] ParserAp {} -> p'
2112.59 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.59 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.59 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.59 s
[opt-env-conf-test] ParserMany {} -> p'
2112.59 s
[opt-env-conf-test] ParserSome {} -> p'
2112.59 s
[opt-env-conf-test] - ParserAllOrNothing {} -> p'
2112.59 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.59 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.59 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.59 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.59 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.59 s
[opt-env-conf-test] Just _ -> p
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.59 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.59 s
[opt-env-conf-test]
2112.59 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.59 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.59 s
[opt-env-conf-test] where
2112.59 s
[opt-env-conf-test] go p =
2112.59 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.60 s
[opt-env-conf-test] in case p of
2112.60 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.60 s
[opt-env-conf-test] ParserAp {} -> p'
2112.60 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.60 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.60 s
[opt-env-conf-test] ParserMany {} -> p'
2112.60 s
[opt-env-conf-test] - ParserSome {} -> p'
2112.60 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.60 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.60 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.60 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.60 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.60 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.60 s
[opt-env-conf-test] Just _ -> p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.60 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.60 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.60 s
[opt-env-conf-test] where
2112.60 s
[opt-env-conf-test] go p =
2112.60 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.60 s
[opt-env-conf-test] in case p of
2112.60 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.60 s
[opt-env-conf-test] ParserAp {} -> p'
2112.60 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.60 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.60 s
[opt-env-conf-test] - ParserMany {} -> p'
2112.60 s
[opt-env-conf-test] ParserSome {} -> p'
2112.60 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.60 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.60 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.60 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.60 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.60 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.60 s
[opt-env-conf-test] Just _ -> p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.60 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.60 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.60 s
[opt-env-conf-test] where
2112.60 s
[opt-env-conf-test] go p =
2112.60 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.60 s
[opt-env-conf-test] in case p of
2112.60 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.60 s
[opt-env-conf-test] ParserAp {} -> p'
2112.60 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.60 s
[opt-env-conf-test] - ParserEmpty _ -> ParserPure defaultValue
2112.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.60 s
[opt-env-conf-test] ParserMany {} -> p'
2112.60 s
[opt-env-conf-test] ParserSome {} -> p'
2112.60 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.60 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.60 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.60 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.60 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.60 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.60 s
[opt-env-conf-test] Just _ -> p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.60 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.60 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.60 s
[opt-env-conf-test] where
2112.60 s
[opt-env-conf-test] go p =
2112.60 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.60 s
[opt-env-conf-test] in case p of
2112.60 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.60 s
[opt-env-conf-test] ParserAp {} -> p'
2112.60 s
[opt-env-conf-test] - ParserSelect {} -> p'
2112.60 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.60 s
[opt-env-conf-test] ParserMany {} -> p'
2112.60 s
[opt-env-conf-test] ParserSome {} -> p'
2112.60 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.60 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.60 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.60 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.60 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.60 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.60 s
[opt-env-conf-test] Just _ -> p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.60 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.60 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.60 s
[opt-env-conf-test] where
2112.60 s
[opt-env-conf-test] go p =
2112.60 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.60 s
[opt-env-conf-test] in case p of
2112.60 s
[opt-env-conf-test] ParserPure a -> ParserPure a
2112.60 s
[opt-env-conf-test] - ParserAp {} -> p'
2112.60 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.60 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.60 s
[opt-env-conf-test] ParserMany {} -> p'
2112.60 s
[opt-env-conf-test] ParserSome {} -> p'
2112.60 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.60 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.60 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.60 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.60 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.60 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.60 s
[opt-env-conf-test] Just _ -> p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.60 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:550:11-26
2112.60 s
[opt-env-conf-test] @@ -547,21 +547,20 @@
2112.60 s
[opt-env-conf-test] where
2112.60 s
[opt-env-conf-test] go p =
2112.60 s
[opt-env-conf-test] let p' = p <|> pure defaultValue
2112.60 s
[opt-env-conf-test] in case p of
2112.60 s
[opt-env-conf-test] - ParserPure a -> ParserPure a
2112.60 s
[opt-env-conf-test] ParserAp {} -> p'
2112.60 s
[opt-env-conf-test] ParserSelect {} -> p'
2112.60 s
[opt-env-conf-test] ParserEmpty _ -> ParserPure defaultValue
2112.60 s
[opt-env-conf-test] ParserAlt p1 p2 -> ParserAlt p1 (go p2)
2112.60 s
[opt-env-conf-test] ParserMany {} -> p'
2112.60 s
[opt-env-conf-test] ParserSome {} -> p'
2112.60 s
[opt-env-conf-test] ParserAllOrNothing {} -> p'
2112.60 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.60 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.60 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.60 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.60 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.60 s
[opt-env-conf-test] Just _ -> p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.60 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:562:37-26
2112.60 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2112.60 s
[opt-env-conf-test] ParserCheck {} -> p'
2112.60 s
[opt-env-conf-test] ParserCommands {} -> p'
2112.60 s
[opt-env-conf-test] ParserWithConfig {} -> p'
2112.60 s
[opt-env-conf-test] ParserSetting mLoc s -> case settingDefaultValue s of
2112.60 s
[opt-env-conf-test] Nothing -> ParserSetting mLoc $ s {settingDefaultValue = Just (defaultValue, showDefault defaultValue)}
2112.60 s
[opt-env-conf-test] - Just _ -> p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- | Try a list of parsers in order
2112.60 s
[opt-env-conf-test] choice :: (HasCallStack) => [Parser a] -> Parser a
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Parser.hs:602:15-28
2112.60 s
[opt-env-conf-test] @@ -599,9 +599,8 @@
2112.60 s
[opt-env-conf-test] checkMapMaybe func p =
2112.60 s
[opt-env-conf-test] withFrozenCallStack $
2112.60 s
[opt-env-conf-test] checkMapEither
2112.60 s
[opt-env-conf-test] ( \a -> case func a of
2112.60 s
[opt-env-conf-test] Nothing -> Left "checkMapMaybe failed without a helpful error message"
2112.60 s
[opt-env-conf-test] - Just b -> Right b
2112.60 s
[opt-env-conf-test] )
2112.60 s
[opt-env-conf-test] p
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completion.hs:453:24-40
2112.60 s
[opt-env-conf-test] @@ -450,7 +450,7 @@
2112.60 s
[opt-env-conf-test] put as'
2112.60 s
[opt-env-conf-test] pure $ Just []
2112.60 s
[opt-env-conf-test] else do
2112.60 s
[opt-env-conf-test] - if s e tt in g Tr y Opti on
2112.60 s
[opt-env-conf-test] + if Tr ue
2112.60 s
[opt-env-conf-test] then do
2112.60 s
[opt-env-conf-test] -- First we try to consume the option so we don't suggest it if it's already been parsed
2112.60 s
[opt-env-conf-test] case Args.consumeOption settingDasheds as of
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completion.hs:435:21-51
2112.60 s
[opt-env-conf-test] @@ -432,11 +432,10 @@
2112.60 s
[opt-env-conf-test] -- consumeArgument) or because only the consume-nothing
2112.60 s
[opt-env-conf-test] -- fallback matched. In both cases, offer the
2112.60 s
[opt-env-conf-test] -- completer if we are at the end.
2112.60 s
[opt-env-conf-test] case possibilities of
2112.60 s
[opt-env-conf-test] - [] -> completeWithCompleterAtEnd
2112.60 s
[opt-env-conf-test] (_, as') : _ -> do
2112.60 s
[opt-env-conf-test] put as'
2112.60 s
[opt-env-conf-test] completeWithCompleterAtEnd
2112.60 s
[opt-env-conf-test] else
2112.60 s
[opt-env-conf-test] if isJust settingSwitchValue
2112.60 s
[opt-env-conf-test] then do
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:437:39-51
2112.60 s
[opt-env-conf-test] @@ -434,9 +434,8 @@
2112.60 s
[opt-env-conf-test] -- completer if we are at the end.
2112.60 s
[opt-env-conf-test] case possibilities of
2112.60 s
[opt-env-conf-test] [] -> completeWithCompleterAtEnd
2112.60 s
[opt-env-conf-test] (_, as') : _ -> do
2112.60 s
[opt-env-conf-test] - put as'
2112.60 s
[opt-env-conf-test] completeWithCompleterAtEnd
2112.60 s
[opt-env-conf-test] else
2112.60 s
[opt-env-conf-test] if isJust settingSwitchValue
2112.60 s
[opt-env-conf-test] then do
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Completion.hs:398:70-77
2112.60 s
[opt-env-conf-test] @@ -395,7 +395,7 @@
2112.60 s
[opt-env-conf-test] pure Completion {..}
2112.60 s
[opt-env-conf-test] let completeWithCompleterAtEnd = do
2112.60 s
[opt-env-conf-test] as <- get
2112.60 s
[opt-env-conf-test] - if argsAtEnd as then completeWithCompleter else pure $ J u s t [ ]
2112.60 s
[opt-env-conf-test] + if argsAtEnd as then completeWithCompleter else pure $ No t h ing
2112.60 s
[opt-env-conf-test] let completeWithDasheds = do
2112.60 s
[opt-env-conf-test] let isLong = \case
2112.60 s
[opt-env-conf-test] DashedLong _ -> True
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completion.hs:254:20-23
2112.60 s
[opt-env-conf-test] @@ -251,9 +251,8 @@
2112.60 s
[opt-env-conf-test] before <- get
2112.60 s
[opt-env-conf-test] mA <- func
2112.60 s
[opt-env-conf-test] case mA of
2112.60 s
[opt-env-conf-test] Nothing -> do
2112.60 s
[opt-env-conf-test] - put before
2112.60 s
[opt-env-conf-test] pure Nothing
2112.60 s
[opt-env-conf-test] Just a -> pure (Just a)
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] -- Completions for many/some: try the parser repeatedly.
2112.60 s
[opt-env-conf-test]
2112.60 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:440:44-42
2112.60 s
[opt-env-conf-test] @@ -437,21 +437,20 @@
2112.60 s
[opt-env-conf-test] Just (a, _) -> do
2112.60 s
[opt-env-conf-test] debug ["set to default value"]
2112.60 s
[opt-env-conf-test] pure a -- Don't mark as parsed
2112.60 s
[opt-env-conf-test] Nothing -> do
2112.60 s
[opt-env-conf-test] let parseResultError e res = case res of
2112.60 s
[opt-env-conf-test] NotRun -> Nothing
2112.61 s
[opt-env-conf-test] NotFound -> Just e
2112.61 s
[opt-env-conf-test] Found _ -> Nothing -- Should not happen.
2112.61 s
[opt-env-conf-test] - debug ["not found"]
2112.61 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
2112.61 s
[opt-env-conf-test] NE.nonEmpty $
2112.61 s
[opt-env-conf-test] catMaybes
2112.61 s
[opt-env-conf-test] [ parseResultError (ParseErrorMissingArgument mOptDoc) mArg,
2112.61 s
[opt-env-conf-test] parseResultError (ParseErrorMissingSwitch mOptDoc) mSwitch,
2112.61 s
[opt-env-conf-test] parseResultError (ParseErrorMissingOption mOptDoc) mOpt,
2112.61 s
[opt-env-conf-test] parseResultError (ParseErrorMissingEnvVar mEnvDoc) mEnv,
2112.61 s
[opt-env-conf-test] parseResultError (ParseErrorMissingConfVal mConfDoc) mConf
2112.61 s
[opt-env-conf-test] ]
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] withCapabilities ::
2112.61 s
[opt-env-conf-test] Maybe SrcLoc ->
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:441:64-59
2112.61 s
[opt-env-conf-test] @@ -438,10 +438,9 @@
2112.61 s
[opt-env-conf-test] debug ["set to default value"]
2112.61 s
[opt-env-conf-test] pure a -- Don't mark as parsed
2112.61 s
[opt-env-conf-test] Nothing -> do
2112.61 s
[opt-env-conf-test] let parseResultError e res = case res of
2112.61 s
[opt-env-conf-test] NotRun -> Nothing
2112.61 s
[opt-env-conf-test] NotFound -> Just e
2112.61 s
[opt-env-conf-test] - Found _ -> Nothing -- Should not happen.
2112.61 s
[opt-env-conf-test] debug ["not found"]
2112.61 s
[opt-env-conf-test] maybe (ppError mLoc ParseErrorEmptySetting) (ppErrors mLoc) $
2112.61 s
[opt-env-conf-test] NE.nonEmpty $
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:396:41-64
2112.61 s
[opt-env-conf-test] @@ -393,30 +393,29 @@
2112.61 s
[opt-env-conf-test] case mO' of
2112.61 s
[opt-env-conf-test] Nothing -> pure Nothing
2112.61 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
2112.61 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
2112.61 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2112.61 s
[opt-env-conf-test] Right mV -> case mV of
2112.61 s
[opt-env-conf-test] Nothing -> do
2112.61 s
[opt-env-conf-test] debug
2112.61 s
[opt-env-conf-test] [ "could not set based on config value, not configured: ",
2112.61 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2112.61 s
[opt-env-conf-test] ]
2112.61 s
[opt-env-conf-test] pure Nothing
2112.61 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
2112.61 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2112.61 s
[opt-env-conf-test] Right mA -> case mA of
2112.61 s
[opt-env-conf-test] Nothing -> do
2112.61 s
[opt-env-conf-test] debug
2112.61 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
2112.61 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2112.61 s
[opt-env-conf-test] ]
2112.61 s
[opt-env-conf-test] pure Nothing
2112.61 s
[opt-env-conf-test] Just a -> do
2112.61 s
[opt-env-conf-test] debug
2112.61 s
[opt-env-conf-test] [ "set based on config value: ",
2112.61 s
[opt-env-conf-test] chunk $ T.pack $ show v
2112.61 s
[opt-env-conf-test] ]
2112.61 s
[opt-env-conf-test] pure $ Just a
2112.61 s
[opt-env-conf-test] let toRes = \case
2112.61 s
[opt-env-conf-test] Nothing -> NotFound
2112.61 s
[opt-env-conf-test] Just a -> Found a
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:405:55-64
2112.61 s
[opt-env-conf-test] @@ -402,21 +402,20 @@
2112.61 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2112.61 s
[opt-env-conf-test] ]
2112.61 s
[opt-env-conf-test] pure Nothing
2112.61 s
[opt-env-conf-test] Just v -> case JSON.parseEither (parseJSONVia configValSettingCodec) v of
2112.61 s
[opt-env-conf-test] - Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2112.61 s
[opt-env-conf-test] Right mA -> case mA of
2112.61 s
[opt-env-conf-test] Nothing -> do
2112.61 s
[opt-env-conf-test] debug
2112.61 s
[opt-env-conf-test] [ "could not set based on config value, configured to nothing: ",
2112.61 s
[opt-env-conf-test] chunk $ T.pack $ show $ NE.toList configValSettingPath
2112.61 s
[opt-env-conf-test] ]
2112.61 s
[opt-env-conf-test] pure Nothing
2112.61 s
[opt-env-conf-test] Just a -> do
2112.61 s
[opt-env-conf-test] debug
2112.61 s
[opt-env-conf-test] [ "set based on config value: ",
2112.61 s
[opt-env-conf-test] chunk $ T.pack $ show v
2112.61 s
[opt-env-conf-test] ]
2112.61 s
[opt-env-conf-test] pure $ Just a
2112.61 s
[opt-env-conf-test] let toRes = \case
2112.61 s
[opt-env-conf-test] Nothing -> NotFound
2112.61 s
[opt-env-conf-test] Just a -> Found a
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:393:49-82
2112.61 s
[opt-env-conf-test] @@ -390,9 +390,8 @@
2112.61 s
[opt-env-conf-test] Just v -> Just <$> parseJSON v
2112.61 s
[opt-env-conf-test] Just neRest -> do
2112.61 s
[opt-env-conf-test] mO' <- o .:? Key.fromString k
2112.61 s
[opt-env-conf-test] case mO' of
2112.61 s
[opt-env-conf-test] - Nothing -> pure Nothing
2112.61 s
[opt-env-conf-test] Just o' -> jsonParser o' neRest
2112.61 s
[opt-env-conf-test] case JSON.parseEither (jsonParser obj) configValSettingPath of
2112.61 s
[opt-env-conf-test] Left err -> ppError mLoc $ ParseErrorConfigRead mConfDoc err
2112.61 s
[opt-env-conf-test] Right mV -> case mV of
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:224:38-20
2112.61 s
[opt-env-conf-test] @@ -221,15 +221,14 @@
2112.61 s
[opt-env-conf-test] Just c -> do
2112.61 s
[opt-env-conf-test] debug ["Set command to ", commandChunk (commandArg c)]
2112.61 s
[opt-env-conf-test] go $ commandParser c
2112.61 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2112.61 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2112.61 s
[opt-env-conf-test] ppIndent $ do
2112.61 s
[opt-env-conf-test] debug ["loading config"]
2112.61 s
[opt-env-conf-test] mNewConfig <- ppIndent $ go pc
2112.61 s
[opt-env-conf-test] debug ["with loaded config"]
2112.61 s
[opt-env-conf-test] ppIndent $
2112.61 s
[opt-env-conf-test] local (\e -> e {ppEnvConf = mNewConfig}) $
2112.61 s
[opt-env-conf-test] go pa
2112.61 s
[opt-env-conf-test] ParserSetting mLoc set@Setting {..} -> do
2112.61 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
2112.61 s
[opt-env-conf-test] when (not (Set.null settingRequiredCapabilities)) $
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:221:27-39
2112.61 s
[opt-env-conf-test] @@ -218,9 +218,8 @@
2112.61 s
[opt-env-conf-test] Just s -> do
2112.61 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
2112.61 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
2112.61 s
[opt-env-conf-test] Just c -> do
2112.61 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
2112.61 s
[opt-env-conf-test] go $ commandParser c
2112.61 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2112.61 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2112.61 s
[opt-env-conf-test] ppIndent $ do
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:215:28-40
2112.61 s
[opt-env-conf-test] @@ -212,9 +212,8 @@
2112.61 s
[opt-env-conf-test] find ((== d) . commandArg) cs
2112.61 s
[opt-env-conf-test] case mDefaultCommand of
2112.61 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorMissingCommand docsForErrors
2112.61 s
[opt-env-conf-test] Just dc -> do
2112.61 s
[opt-env-conf-test] - debug ["Choosing default command: ", commandChunk (commandArg dc)]
2112.61 s
[opt-env-conf-test] go $ commandParser dc
2112.61 s
[opt-env-conf-test] Just s -> do
2112.61 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
2112.61 s
[opt-env-conf-test] Nothing -> ppError mLoc $ ParseErrorUnrecognisedCommand s docsForErrors
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:195:29-70
2112.61 s
[opt-env-conf-test] @@ -192,9 +192,8 @@
2112.61 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities $ do
2112.61 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2112.61 s
[opt-env-conf-test] case errOrB of
2112.61 s
[opt-env-conf-test] Left err -> do
2112.61 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2112.61 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2112.61 s
[opt-env-conf-test] Right b -> do
2112.61 s
[opt-env-conf-test] debug ["succeeded"]
2112.61 s
[opt-env-conf-test] pure b
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:197:56-66
2112.61 s
[opt-env-conf-test] @@ -194,7 +194,7 @@
2112.61 s
[opt-env-conf-test] case errOrB of
2112.61 s
[opt-env-conf-test] Left err -> do
2112.61 s
[opt-env-conf-test] debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2112.61 s
[opt-env-conf-test] - ppError mLoc $ ParseErrorCheckFailed f o rg iv a b l e err
2112.61 s
[opt-env-conf-test] + ppError mLoc $ ParseErrorCheckFailed F a l s e err
2112.61 s
[opt-env-conf-test] Right b -> do
2112.61 s
[opt-env-conf-test] debug ["succeeded"]
2112.61 s
[opt-env-conf-test] pure b
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
2112.61 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
2112.61 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2112.61 s
[opt-env-conf-test] case errOrB of
2112.61 s
[opt-env-conf-test] Left err -> do
2112.61 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2112.61 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2112.61 s
[opt-env-conf-test] Right b -> do
2112.61 s
[opt-env-conf-test] debug ["succeeded"]
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:196:25-83
2112.61 s
[opt-env-conf-test] @@ -193,7 +193,6 @@
2112.61 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2112.61 s
[opt-env-conf-test] case errOrB of
2112.61 s
[opt-env-conf-test] Left err -> do
2112.61 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable]
2112.61 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2112.61 s
[opt-env-conf-test] Right b -> do
2112.61 s
[opt-env-conf-test] debug ["succeeded"]
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] Negate at src/OptEnvConf/Run.hs:196:72-82
2112.61 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
2112.61 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2112.61 s
[opt-env-conf-test] case errOrB of
2112.61 s
[opt-env-conf-test] Left err -> do
2112.61 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show forgivable ]
2112.61 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show n o t ( forgivable ) ]
2112.61 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2112.61 s
[opt-env-conf-test] Right b -> do
2112.61 s
[opt-env-conf-test] debug ["succeeded"]
2112.61 s
[opt-env-conf-test]
2112.61 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:196:72-82
2112.61 s
[opt-env-conf-test] @@ -193,7 +193,7 @@
2112.61 s
[opt-env-conf-test] errOrB <- liftIO $ f a
2112.61 s
[opt-env-conf-test] case errOrB of
2112.61 s
[opt-env-conf-test] Left err -> do
2112.61 s
[opt-env-conf-test] - debug ["failed, forgivable: ", chunk $ T.pack $ show f o r gi v a b l e]
2112.62 s
[opt-env-conf-test] + debug ["failed, forgivable: ", chunk $ T.pack $ show T r u e]
2112.62 s
[opt-env-conf-test] ppError mLoc $ ParseErrorCheckFailed forgivable err
2112.62 s
[opt-env-conf-test] Right b -> do
2112.62 s
[opt-env-conf-test] debug ["succeeded"]
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:150:37-112
2112.62 s
[opt-env-conf-test] @@ -147,34 +147,33 @@
2112.62 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
2112.62 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2112.62 s
[opt-env-conf-test] pure (a :| as)
2112.62 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test] e <- ask
2112.62 s
[opt-env-conf-test] s <- get
2112.62 s
[opt-env-conf-test] results <- liftIO $ runPP (go p') s e
2112.62 s
[opt-env-conf-test] (result, s') <- ppNonDetList results
2112.62 s
[opt-env-conf-test] put s'
2112.62 s
[opt-env-conf-test] case result of
2112.62 s
[opt-env-conf-test] Success a -> pure a
2112.62 s
[opt-env-conf-test] Failure errs -> do
2112.62 s
[opt-env-conf-test] if not $ all errorIsForgivable errs
2112.62 s
[opt-env-conf-test] then ppErrors' errs
2112.62 s
[opt-env-conf-test] else do
2112.62 s
[opt-env-conf-test] -- Settings available below
2112.62 s
[opt-env-conf-test] let settingsMap = parserSettingsMap p'
2112.62 s
[opt-env-conf-test] -- Settings that have been parsed
2112.62 s
[opt-env-conf-test] parsedMap <- gets ppStateParsedSettings
2112.62 s
[opt-env-conf-test] -- Settings that have been parsed below
2112.62 s
[opt-env-conf-test] let parsedSettingsMap = settingsMap `M.intersection` parsedMap
2112.62 s
[opt-env-conf-test] -- If any settings have been parsed below, and parsing still failed
2112.62 s
[opt-env-conf-test] -- (this is the case because we're in the failure branch)
2112.62 s
[opt-env-conf-test] -- with only forgivable errors
2112.62 s
[opt-env-conf-test] -- (this is the case because we're in the branch where that's been checked)
2112.62 s
[opt-env-conf-test] -- then this should be an unforgivable error.
2112.62 s
[opt-env-conf-test] if null parsedSettingsMap
2112.62 s
[opt-env-conf-test] then ppErrors' errs
2112.62 s
[opt-env-conf-test] else ppErrors' $ errs <> (ParseError mLoc (ParseErrorAllOrNothing parsedSettingsMap) :| [])
2112.62 s
[opt-env-conf-test] ParserCheck mLoc forgivable requiredCapabilities f p' -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] when (not (Set.null requiredCapabilities)) $
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:18-50
2112.62 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
2112.62 s
[opt-env-conf-test] case result of
2112.62 s
[opt-env-conf-test] Success a -> pure a
2112.62 s
[opt-env-conf-test] Failure errs -> do
2112.62 s
[opt-env-conf-test] - if n ot $ al l errorI s Forgiva bl e e rrs
2112.62 s
[opt-env-conf-test] + if F al s e
2112.62 s
[opt-env-conf-test] then ppErrors' errs
2112.62 s
[opt-env-conf-test] else do
2112.62 s
[opt-env-conf-test] -- Settings available below
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Run.hs:161:24-50
2112.62 s
[opt-env-conf-test] @@ -158,7 +158,7 @@
2112.62 s
[opt-env-conf-test] case result of
2112.62 s
[opt-env-conf-test] Success a -> pure a
2112.62 s
[opt-env-conf-test] Failure errs -> do
2112.62 s
[opt-env-conf-test] - if not $ a l l err orIsFo r g i vab le e rrs
2112.62 s
[opt-env-conf-test] + if not $ T r u e
2112.62 s
[opt-env-conf-test] then ppErrors' errs
2112.62 s
[opt-env-conf-test] else do
2112.62 s
[opt-env-conf-test] -- Settings available below
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:143:29-25
2112.62 s
[opt-env-conf-test] @@ -140,13 +140,12 @@
2112.62 s
[opt-env-conf-test] Just a -> do
2112.62 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2112.62 s
[opt-env-conf-test] pure (a : as)
2112.62 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test] a <- go p'
2112.62 s
[opt-env-conf-test] debug ["First element of some succeeded, continuing with Many"]
2112.62 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2112.62 s
[opt-env-conf-test] pure (a :| as)
2112.62 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:134:29-28
2112.62 s
[opt-env-conf-test] @@ -131,15 +131,14 @@
2112.62 s
[opt-env-conf-test] Nothing -> do
2112.62 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2112.62 s
[opt-env-conf-test] ppIndent $ go p2
2112.62 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test] eor <- tryPP $ go p'
2112.62 s
[opt-env-conf-test] case eor of
2112.62 s
[opt-env-conf-test] Nothing -> pure []
2112.62 s
[opt-env-conf-test] Just a -> do
2112.62 s
[opt-env-conf-test] as <- go (ParserMany mLoc p')
2112.62 s
[opt-env-conf-test] pure (a : as)
2112.62 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2112.62 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2112.62 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2112.62 s
[opt-env-conf-test] ppIndent $ go p2
2112.62 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test] eor <- tryPP $ go p'
2112.62 s
[opt-env-conf-test] case eor of
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2112.62 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2112.62 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2112.62 s
[opt-env-conf-test] ppIndent $ go p2
2112.62 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test] eor <- tryPP $ go p'
2112.62 s
[opt-env-conf-test] case eor of
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Run.hs:135:15-60
2112.62 s
[opt-env-conf-test] @@ -132,7 +132,6 @@
2112.62 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2112.62 s
[opt-env-conf-test] ppIndent $ go p2
2112.62 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test] eor <- tryPP $ go p'
2112.62 s
[opt-env-conf-test] case eor of
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:122:26-31
2112.62 s
[opt-env-conf-test] @@ -119,18 +119,17 @@
2112.62 s
[opt-env-conf-test] ParserSelect fe ff -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2112.62 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2112.62 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test] debug ["Trying left side."]
2112.62 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2112.62 s
[opt-env-conf-test] case eor of
2112.62 s
[opt-env-conf-test] Just a -> do
2112.62 s
[opt-env-conf-test] debug ["Left side succeeded."]
2112.62 s
[opt-env-conf-test] pure a
2112.62 s
[opt-env-conf-test] Nothing -> do
2112.62 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2112.62 s
[opt-env-conf-test] ppIndent $ go p2
2112.62 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:131:24-31
2112.62 s
[opt-env-conf-test] @@ -128,9 +128,8 @@
2112.62 s
[opt-env-conf-test] Just a -> do
2112.62 s
[opt-env-conf-test] debug ["Left side succeeded."]
2112.62 s
[opt-env-conf-test] pure a
2112.62 s
[opt-env-conf-test] Nothing -> do
2112.62 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
2112.62 s
[opt-env-conf-test] ppIndent $ go p2
2112.62 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:119:29-42
2112.62 s
[opt-env-conf-test] @@ -116,9 +116,8 @@
2112.62 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2112.62 s
[opt-env-conf-test] ParserSelect fe ff -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Select"]
2112.62 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2112.62 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Alt"]
2112.62 s
[opt-env-conf-test] ppIndent $ do
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:116:27-37
2112.62 s
[opt-env-conf-test] @@ -113,9 +113,8 @@
2112.62 s
[opt-env-conf-test] ParserAp ff fa -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Ap"]
2112.62 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
2112.62 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2112.62 s
[opt-env-conf-test] ParserSelect fe ff -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2112.62 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:113:25-35
2112.62 s
[opt-env-conf-test] @@ -110,9 +110,8 @@
2112.62 s
[opt-env-conf-test] ParserPure a -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
2112.62 s
[opt-env-conf-test] pure a
2112.62 s
[opt-env-conf-test] ParserAp ff fa -> do
2112.62 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
2112.62 s
[opt-env-conf-test] ppIndent $ go ff <*> go fa
2112.62 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2112.62 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2112.62 s
[opt-env-conf-test] ppError mLoc ParseErrorEmpty
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:84:3-26
2112.62 s
[opt-env-conf-test] @@ -81,27 +81,26 @@
2112.62 s
[opt-env-conf-test] Nothing -> pure result
2112.62 s
[opt-env-conf-test] Just leftovers -> ppError Nothing $ ParseErrorUnrecognised leftovers
2112.62 s
[opt-env-conf-test] mTup <- runPPLazy go' ppState ppEnv
2112.62 s
[opt-env-conf-test] case mTup of
2112.62 s
[opt-env-conf-test] - Nothing -> error "TODO figure out when this list can be empty"
2112.62 s
[opt-env-conf-test] Just ((errOrRes, _), nexts) -> case errOrRes of
2112.62 s
[opt-env-conf-test] Success a -> pure (Right a)
2112.62 s
[opt-env-conf-test] Failure firstErrors ->
2112.62 s
[opt-env-conf-test] let goNexts ns = do
2112.62 s
[opt-env-conf-test] -- TODO: Consider keeping around all errors?
2112.62 s
[opt-env-conf-test] mNext <- runNonDetTLazy ns
2112.62 s
[opt-env-conf-test] case mNext of
2112.62 s
[opt-env-conf-test] Nothing ->
2112.62 s
[opt-env-conf-test] pure $
2112.62 s
[opt-env-conf-test] Left $
2112.62 s
[opt-env-conf-test] -- Only show source locations in debug mode.
2112.62 s
[opt-env-conf-test] let f = case mDebugMode of
2112.62 s
[opt-env-conf-test] Nothing -> eraseErrorSrcLocs
2112.62 s
[opt-env-conf-test] Just _ -> id
2112.62 s
[opt-env-conf-test] in f firstErrors
2112.62 s
[opt-env-conf-test] Just ((eOR, _), ns') -> case eOR of
2112.62 s
[opt-env-conf-test] Success a -> pure (Right a)
2112.62 s
[opt-env-conf-test] Failure _ -> goNexts ns'
2112.62 s
[opt-env-conf-test] in goNexts nexts
2112.62 s
[opt-env-conf-test] where
2112.62 s
[opt-env-conf-test] go ::
2112.62 s
[opt-env-conf-test] Parser a ->
2112.62 s
[opt-env-conf-test]
2112.62 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:464:22-66
2112.62 s
[opt-env-conf-test] @@ -461,11 +461,8 @@
2112.62 s
[opt-env-conf-test] PP a
2112.62 s
[opt-env-conf-test] withCapabilities mLoc requiredCapabilities capabilities func =
2112.62 s
[opt-env-conf-test] case missingCapabilities capabilities requiredCapabilities of
2112.63 s
[opt-env-conf-test] Just missings -> do
2112.63 s
[opt-env-conf-test] - debug $
2112.63 s
[opt-env-conf-test] - "Missing capabilities: "
2112.63 s
[opt-env-conf-test] - : capabilitiesChunks (Set.fromList (NE.toList missings))
2112.63 s
[opt-env-conf-test] ppErrors mLoc $ NE.map ParseErrorMissingCapability missings
2112.63 s
[opt-env-conf-test] Nothing -> func
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] data ParseResult a
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:477:21-21
2112.63 s
[opt-env-conf-test] @@ -474,9 +474,8 @@
2112.63 s
[opt-env-conf-test] | Found a
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] requireReaders :: [Reader a] -> PP (NonEmpty (Reader a))
2112.63 s
[opt-env-conf-test] requireReaders rs = case NE.nonEmpty rs of
2112.63 s
[opt-env-conf-test] - Nothing -> ppError Nothing ParseErrorNoReaders
2112.63 s
[opt-env-conf-test] Just ne -> pure ne
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] -- Try the readers in order
2112.63 s
[opt-env-conf-test] tryReaders :: NonEmpty (Reader a) -> String -> Either (NonEmpty String) a
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:568:44-43
2112.63 s
[opt-env-conf-test] @@ -565,12 +565,11 @@
2112.63 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2112.63 s
[opt-env-conf-test] - debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ do
2112.63 s
[opt-env-conf-test] mNewConfig <- go pc
2112.63 s
[opt-env-conf-test] mRes <- go pa
2112.63 s
[opt-env-conf-test] pure $ mRes <|> mNewConfig -- Reverse order
2112.63 s
[opt-env-conf-test] ParserSetting mLoc _ -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Setting", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] pure Nothing
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:565:42-31
2112.63 s
[opt-env-conf-test] @@ -562,9 +562,8 @@
2112.63 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2112.63 s
[opt-env-conf-test] - debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test] ParserWithConfig mLoc pc pa -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "WithConfig", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ do
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:562:43-31
2112.63 s
[opt-env-conf-test] @@ -559,9 +559,8 @@
2112.63 s
[opt-env-conf-test] ParserSome mLoc p' -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Some", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test] ParserAllOrNothing mLoc p' -> do
2112.63 s
[opt-env-conf-test] - debug [syntaxChunk "AllOrNothing", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test] ParserCheck mLoc _ _ _ p' -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Parser with check", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:544:32-37
2112.63 s
[opt-env-conf-test] @@ -541,18 +541,17 @@
2112.63 s
[opt-env-conf-test] ParserEmpty mLoc -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Empty", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] pure Nothing
2112.63 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.63 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
2112.63 s
[opt-env-conf-test] ppIndent $ do
2112.63 s
[opt-env-conf-test] debug ["Trying left side."]
2112.63 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2112.63 s
[opt-env-conf-test] case eor of
2112.63 s
[opt-env-conf-test] Just a -> do
2112.63 s
[opt-env-conf-test] debug ["Left side succeeded."]
2112.63 s
[opt-env-conf-test] pure a
2112.63 s
[opt-env-conf-test] Nothing -> do
2112.63 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2112.63 s
[opt-env-conf-test] ppIndent $ go p2
2112.63 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:549:17-37
2112.63 s
[opt-env-conf-test] @@ -546,13 +546,10 @@
2112.63 s
[opt-env-conf-test] ppIndent $ do
2112.63 s
[opt-env-conf-test] debug ["Trying left side."]
2112.63 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2112.63 s
[opt-env-conf-test] case eor of
2112.63 s
[opt-env-conf-test] Just a -> do
2112.63 s
[opt-env-conf-test] debug ["Left side succeeded."]
2112.63 s
[opt-env-conf-test] pure a
2112.63 s
[opt-env-conf-test] - Nothing -> do
2112.63 s
[opt-env-conf-test] - debug ["Left side failed, trying right side."]
2112.63 s
[opt-env-conf-test] - ppIndent $ go p2
2112.63 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.63 s
[opt-env-conf-test] ppIndent $ go p'
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Run.hs:529:31-33
2112.63 s
[opt-env-conf-test] @@ -526,12 +526,11 @@
2112.63 s
[opt-env-conf-test] ParserPure _ -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "pure value"]
2112.63 s
[opt-env-conf-test] pure Nothing
2112.63 s
[opt-env-conf-test] ParserAp ff fa -> do
2112.63 s
[opt-env-conf-test] - debug [syntaxChunk "Ap"]
2112.63 s
[opt-env-conf-test] ppIndent $ do
2112.63 s
[opt-env-conf-test] mf <- go ff
2112.63 s
[opt-env-conf-test] ma <- go fa
2112.63 s
[opt-env-conf-test] pure $ ma <|> mf -- Reverse order
2112.63 s
[opt-env-conf-test] ParserSelect fe ff -> do
2112.63 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2112.63 s
[opt-env-conf-test] ppIndent $ do
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:514:3-35
2112.63 s
[opt-env-conf-test] @@ -511,11 +511,10 @@
2112.63 s
[opt-env-conf-test] ppEnvIndent = 0
2112.63 s
[opt-env-conf-test] }
2112.63 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2112.63 s
[opt-env-conf-test] case mResOrNext of
2112.63 s
[opt-env-conf-test] - Nothing -> pure $ Right Nothing
2112.63 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
2112.63 s
[opt-env-conf-test] Failure errs -> Left errs
2112.63 s
[opt-env-conf-test] Success mDocs -> Right mDocs
2112.63 s
[opt-env-conf-test] where
2112.63 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
2112.63 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Run.hs:516:37-35
2112.63 s
[opt-env-conf-test] @@ -513,9 +513,8 @@
2112.63 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2112.63 s
[opt-env-conf-test] case mResOrNext of
2112.63 s
[opt-env-conf-test] Nothing -> pure $ Right Nothing
2112.63 s
[opt-env-conf-test] Just ((result, _), _) -> pure $ case result of
2112.63 s
[opt-env-conf-test] - Failure errs -> Left errs
2112.63 s
[opt-env-conf-test] Success mDocs -> Right mDocs
2112.63 s
[opt-env-conf-test] where
2112.63 s
[opt-env-conf-test] -- We try to parse the commands as deep as possible and ignore everything else.
2112.63 s
[opt-env-conf-test] go' :: [String] -> Parser a -> PP (Maybe ([String], CommandDoc (Maybe SetDoc)))
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] IntLit at src/OptEnvConf/Run.hs:511:27-28
2112.63 s
[opt-env-conf-test] @@ -508,7 +508,7 @@
2112.63 s
[opt-env-conf-test] { ppEnvEnv = EnvMap.empty,
2112.63 s
[opt-env-conf-test] ppEnvConf = Nothing,
2112.63 s
[opt-env-conf-test] ppEnvDebug = mDebugMode,
2112.63 s
[opt-env-conf-test] - ppEnvIndent = 0
2112.63 s
[opt-env-conf-test] + ppEnvIndent = 1
2112.63 s
[opt-env-conf-test] }
2112.63 s
[opt-env-conf-test] mResOrNext <- runPPLazy (go' [] parser) ppState ppEnv
2112.63 s
[opt-env-conf-test] case mResOrNext of
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
2112.63 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
2112.63 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2112.63 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2112.63 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2112.63 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2112.63 s
[opt-env-conf-test] (Nothing, _) -> o2
2112.63 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
2112.63 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2112.63 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
2112.63 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
2112.63 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2112.63 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2112.63 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2112.63 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2112.63 s
[opt-env-conf-test] - (Nothing, _) -> o2
2112.63 s
[opt-env-conf-test] (Just ot1, Nothing) -> o2 {optionType = Just ot1}
2112.63 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2112.63 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Nix.hs:94:54-38
2112.63 s
[opt-env-conf-test] @@ -91,8 +91,7 @@
2112.63 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2112.63 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2112.63 s
[opt-env-conf-test] - (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
2112.63 s
[opt-env-conf-test] _ -> OptionTypeOneOf [ot1, ot2]
2112.63 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
2112.63 s
[opt-env-conf-test] goCommand = go . commandParser
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Nix.hs:96:28-38
2112.63 s
[opt-env-conf-test] @@ -93,6 +93,5 @@
2112.63 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2112.63 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2112.63 s
[opt-env-conf-test] (OptionTypeSubmodule m1, OptionTypeSubmodule m2) -> OptionTypeSubmodule $ M.unionWith combineOption m1 m2
2112.63 s
[opt-env-conf-test] - _ -> OptionTypeOneOf [ot1, ot2]
2112.63 s
[opt-env-conf-test] goCommand :: Command a -> Map Text Option
2112.63 s
[opt-env-conf-test] goCommand = go . commandParser
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
2112.63 s
[opt-env-conf-test] @@ -60,14 +60,13 @@
2112.63 s
[opt-env-conf-test] instance Validity Arg where
2112.63 s
[opt-env-conf-test] validate arg =
2112.63 s
[opt-env-conf-test] mconcat
2112.63 s
[opt-env-conf-test] - [ genericValidate arg,
2112.63 s
[opt-env-conf-test] case arg of
2112.63 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2112.63 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2112.63 s
[opt-env-conf-test] ('-' : _) -> False
2112.63 s
[opt-env-conf-test] _ -> True
2112.63 s
[opt-env-conf-test] _ -> valid
2112.63 s
[opt-env-conf-test] ]
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] instance IsString Arg where
2112.63 s
[opt-env-conf-test] fromString = parseArg
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Args.hs:63:7-8
2112.63 s
[opt-env-conf-test] @@ -60,14 +60,7 @@
2112.63 s
[opt-env-conf-test] instance Validity Arg where
2112.63 s
[opt-env-conf-test] validate arg =
2112.63 s
[opt-env-conf-test] mconcat
2112.63 s
[opt-env-conf-test] - [ genericValidate arg,
2112.63 s
[opt-env-conf-test] - case arg of
2112.63 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2112.63 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2112.63 s
[opt-env-conf-test] - ('-' : _) -> False
2112.63 s
[opt-env-conf-test] - _ -> True
2112.63 s
[opt-env-conf-test] - _ -> valid
2112.63 s
[opt-env-conf-test] ]
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] instance IsString Arg where
2112.63 s
[opt-env-conf-test] fromString = parseArg
2112.63 s
[opt-env-conf-test]
2112.63 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2112.63 s
[opt-env-conf-test] @@ -61,12 +61,9 @@
2112.63 s
[opt-env-conf-test] validate arg =
2112.64 s
[opt-env-conf-test] mconcat
2112.64 s
[opt-env-conf-test] [ genericValidate arg,
2112.64 s
[opt-env-conf-test] case arg of
2112.64 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2112.64 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2112.64 s
[opt-env-conf-test] - ('-' : _) -> False
2112.64 s
[opt-env-conf-test] - _ -> True
2112.64 s
[opt-env-conf-test] _ -> valid
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] instance IsString Arg where
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:64:9-21
2112.64 s
[opt-env-conf-test] @@ -61,12 +61,11 @@
2112.64 s
[opt-env-conf-test] validate arg =
2112.64 s
[opt-env-conf-test] mconcat
2112.64 s
[opt-env-conf-test] [ genericValidate arg,
2112.64 s
[opt-env-conf-test] case arg of
2112.64 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2112.64 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2112.64 s
[opt-env-conf-test] ('-' : _) -> False
2112.64 s
[opt-env-conf-test] _ -> True
2112.64 s
[opt-env-conf-test] _ -> valid
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] instance IsString Arg where
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:66:64-22
2112.64 s
[opt-env-conf-test] @@ -63,9 +63,8 @@
2112.64 s
[opt-env-conf-test] [ genericValidate arg,
2112.64 s
[opt-env-conf-test] case arg of
2112.64 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2112.64 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2112.64 s
[opt-env-conf-test] - ('-' : _) -> False
2112.64 s
[opt-env-conf-test] _ -> True
2112.64 s
[opt-env-conf-test] _ -> valid
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:66:64-22
2112.64 s
[opt-env-conf-test] @@ -63,9 +63,9 @@
2112.64 s
[opt-env-conf-test] [ genericValidate arg,
2112.64 s
[opt-env-conf-test] case arg of
2112.64 s
[opt-env-conf-test] ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= '-'
2112.64 s
[opt-env-conf-test] - ArgPlain s -> declare "does not start with a dash" $ case s of
2112.64 s
[opt-env-conf-test] + ArgPlain s -> declar e "does not s t a r t w ith a d ash" $ Tr u e -> declare "does not start with a dash" $ case s of
2112.64 s
[opt-env-conf-test] ('-' : _) -> False
2112.64 s
[opt-env-conf-test] _ -> True
2112.64 s
[opt-env-conf-test] _ -> valid
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:65:103-111
2112.64 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.64 s
[opt-env-conf-test] mconcat
2112.64 s
[opt-env-conf-test] [ genericValidate arg,
2112.64 s
[opt-env-conf-test] case arg of
2112.64 s
[opt-env-conf-test] - ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ c /= ' - '
2112.64 s
[opt-env-conf-test] + ArgDashed False (c :| _) -> declare "The first character of a short dashed is not a dash" $ T rue
2112.64 s
[opt-env-conf-test] ArgPlain s -> declare "does not start with a dash" $ case s of
2112.64 s
[opt-env-conf-test] ('-' : _) -> False
2112.64 s
[opt-env-conf-test] _ -> True
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:399:18-32
2112.64 s
[opt-env-conf-test] @@ -396,10 +396,9 @@
2112.64 s
[opt-env-conf-test] instance Validity Dashed
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] instance IsString Dashed where
2112.64 s
[opt-env-conf-test] fromString s = case fromString s of
2112.64 s
[opt-env-conf-test] ArgDashed True cs -> DashedLong cs
2112.64 s
[opt-env-conf-test] ArgDashed False (c :| []) -> DashedShort c
2112.64 s
[opt-env-conf-test] - _ -> error "Invalid dashed"
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] renderDashed :: Dashed -> String
2112.64 s
[opt-env-conf-test] renderDashed = \case
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:248:77-83
2112.64 s
[opt-env-conf-test] @@ -245,7 +245,7 @@
2112.64 s
[opt-env-conf-test] case consumeDashedOption dasheds isLong cs of
2112.64 s
[opt-env-conf-test] Nothing -> second (Live k :) <$> go rest
2112.64 s
[opt-env-conf-test] Just Nothing -> Just (renderArg v, Dead : rest')
2112.64 s
[opt-env-conf-test] - Just (Just cs') -> Just (renderArg v, Live (ArgDashed i s Lo n g cs') : Dead : rest')
2112.64 s
[opt-env-conf-test] + Just (Just cs') -> Just (renderArg v, Live (ArgDashed F a l s e cs') : Dead : rest')
2112.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2112.64 s
[opt-env-conf-test] _ -> second (Live k :) <$> go rest
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:152:36-28
2112.64 s
[opt-env-conf-test] @@ -149,34 +149,33 @@
2112.64 s
[opt-env-conf-test] -- A single dash is always an argument
2112.64 s
[opt-env-conf-test] ArgBareDash -> [(Just "-", consumed)]
2112.64 s
[opt-env-conf-test] -- Bare double-dash
2112.64 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2112.64 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2112.64 s
[opt-env-conf-test] [] -> [(Just "--", consumed)]
2112.64 s
[opt-env-conf-test] -- If there's only a dead argument after the double dash, that
2112.64 s
[opt-env-conf-test] -- means we've been parsing bare args and are now done.
2112.64 s
[opt-env-conf-test] -- We can stop consuming but get rid of the tombstone as well.
2112.64 s
[opt-env-conf-test] -- Otherwise there will be a leftover unconsumed '--' after all parsing is done.
2112.64 s
[opt-env-conf-test] - [Dead] -> [(Nothing, Args befores [])]
2112.64 s
[opt-env-conf-test] -- If it's not the last argument, anything after here is an argument.
2112.64 s
[opt-env-conf-test] -- In order to not have to maintain whether the cursor is after
2112.64 s
[opt-env-conf-test] -- a bare double dash already, we keep the cursor here and just
2112.64 s
[opt-env-conf-test] -- pop the args as they come.
2112.64 s
[opt-env-conf-test] _ ->
2112.64 s
[opt-env-conf-test] let go = \case
2112.64 s
[opt-env-conf-test] [] -> Nothing
2112.64 s
[opt-env-conf-test] (Dead : rest) -> go rest
2112.64 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2112.64 s
[opt-env-conf-test] in case go afters of
2112.64 s
[opt-env-conf-test] Nothing -> [(Nothing, as)]
2112.64 s
[opt-env-conf-test] Just (firstLive, rest) ->
2112.64 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2112.64 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2112.64 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2112.64 s
[opt-env-conf-test] -- arguments.
2112.64 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2112.64 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2112.64 s
[opt-env-conf-test] )
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test] ArgDashed {} ->
2112.64 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2112.64 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Args.hs:169:23-28
2112.64 s
[opt-env-conf-test] @@ -166,17 +166,16 @@
2112.64 s
[opt-env-conf-test] [] -> Nothing
2112.64 s
[opt-env-conf-test] (Dead : rest) -> go rest
2112.64 s
[opt-env-conf-test] (Live a' : rest) -> Just (a', rest)
2112.64 s
[opt-env-conf-test] in case go afters of
2112.64 s
[opt-env-conf-test] - Nothing -> [(Nothing, as)]
2112.64 s
[opt-env-conf-test] Just (firstLive, rest) ->
2112.64 s
[opt-env-conf-test] -- We need to leave the dead argument there so that
2112.64 s
[opt-env-conf-test] -- we don't consume the double-dash as an argument
2112.64 s
[opt-env-conf-test] -- after consuming all the arguments after it as bare
2112.64 s
[opt-env-conf-test] -- arguments.
2112.64 s
[opt-env-conf-test] [ ( Just $ renderArg firstLive,
2112.64 s
[opt-env-conf-test] Args befores (Live ArgBareDoubleDash : Dead : rest)
2112.64 s
[opt-env-conf-test] )
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test] ArgDashed {} ->
2112.64 s
[opt-env-conf-test] -- Dead after dashed, two options, in order that they should be considered:
2112.64 s
[opt-env-conf-test] -- * The dashed is a switch (don't consume an arg)
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Args.hs:150:32-40
2112.64 s
[opt-env-conf-test] @@ -147,7 +147,7 @@
2112.64 s
[opt-env-conf-test] -- Plain argument: that's the only option, consume it.
2112.64 s
[opt-env-conf-test] ArgPlain plain -> [(Just plain, consumed)]
2112.64 s
[opt-env-conf-test] -- A single dash is always an argument
2112.64 s
[opt-env-conf-test] - ArgBareDash -> [( J u s t "- " , consumed)]
2112.64 s
[opt-env-conf-test] + ArgBareDash -> [( No t h i ng , consumed)]
2112.64 s
[opt-env-conf-test] -- Bare double-dash
2112.64 s
[opt-env-conf-test] ArgBareDoubleDash -> case afters of
2112.64 s
[opt-env-conf-test] -- If it's the last argument, consume it as an argument
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:339:40-46
2112.64 s
[opt-env-conf-test] @@ -336,7 +336,7 @@
2112.64 s
[opt-env-conf-test] Just Nothing -> Just $ Dead : rest
2112.64 s
[opt-env-conf-test] Just (Just (cs', needTombstone)) ->
2112.64 s
[opt-env-conf-test] let rest' = if needTombstone then Dead : rest else rest
2112.64 s
[opt-env-conf-test] - in Just $ Live (ArgDashed i s Lo n g cs') : rest'
2112.64 s
[opt-env-conf-test] + in Just $ Live (ArgDashed F a l s e cs') : rest'
2112.64 s
[opt-env-conf-test] _ -> do
2112.64 s
[opt-env-conf-test] os <- go rest
2112.64 s
[opt-env-conf-test] pure $ Live o : os
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Args.hs:365:34-43
2112.64 s
[opt-env-conf-test] @@ -362,7 +362,7 @@
2112.64 s
[opt-env-conf-test] go :: NonEmpty Char -> Maybe (Maybe (NonEmpty Char, Bool))
2112.64 s
[opt-env-conf-test] go (c :| rest) =
2112.64 s
[opt-env-conf-test] if c `elem` cs
2112.64 s
[opt-env-conf-test] - then Just $ (\ne -> (ne, n ul l r e s t )) <$> NE.nonEmpty rest
2112.64 s
[opt-env-conf-test] + then Just $ (\ne -> (ne, F a l s e )) <$> NE.nonEmpty rest
2112.64 s
[opt-env-conf-test] else do
2112.64 s
[opt-env-conf-test] rest' <- NE.nonEmpty rest
2112.64 s
[opt-env-conf-test] new <- go rest'
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Error.hs:66:40-45
2112.64 s
[opt-env-conf-test] @@ -63,7 +63,7 @@
2112.64 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.64 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorMissingCommand cs -> not $ null cs
2112.64 s
[opt-env-conf-test] - ParseErrorUnrecognisedCommand _ _ -> F al s e
2112.64 s
[opt-env-conf-test] + ParseErrorUnrecognisedCommand _ _ -> T ru e
2112.64 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorMissingCapability _ -> False
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:34-47
2112.64 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.64 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.64 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.64 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> n ot $ n u l l cs
2112.64 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> Tr u e
2112.64 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Error.hs:65:40-47
2112.64 s
[opt-env-conf-test] @@ -62,7 +62,7 @@
2112.64 s
[opt-env-conf-test] ParseErrorEnvRead _ _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorMissingConfVal _ -> True
2112.64 s
[opt-env-conf-test] ParseErrorConfigRead _ _ -> False
2112.64 s
[opt-env-conf-test] - ParseErrorMissingCommand cs -> not $ n u l l c s
2112.64 s
[opt-env-conf-test] + ParseErrorMissingCommand cs -> not $ F a l s e
2112.64 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand _ _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorAllOrNothing _ -> False
2112.64 s
[opt-env-conf-test] ParseErrorUnrecognised _ -> False
2112.64 s
[opt-env-conf-test]
2112.64 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.64 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2112.64 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.64 s
[opt-env-conf-test] renderError ParseError {..} =
2112.64 s
[opt-env-conf-test] concat
2112.64 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.64 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.64 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.64 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.64 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.64 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.64 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.64 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.64 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.64 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.64 s
[opt-env-conf-test] [ "Missing argument: "
2112.64 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.64 s
[opt-env-conf-test] ]
2112.64 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.64 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.64 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.64 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.64 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.64 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.64 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.64 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.64 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.64 s
[opt-env-conf-test] ["Failed to read option: "]
2112.64 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.64 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.64 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.65 s
[opt-env-conf-test] ["Missing env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.65 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.65 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.65 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.65 s
[opt-env-conf-test] : availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.65 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.65 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.65 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.65 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.65 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.65 s
[opt-env-conf-test] - ParseErrorMissingCapability cap ->
2112.65 s
[opt-env-conf-test] - ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.65 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.65 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2112.65 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.65 s
[opt-env-conf-test] renderError ParseError {..} =
2112.65 s
[opt-env-conf-test] concat
2112.65 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.65 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.65 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.65 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.65 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.65 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.65 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.65 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.65 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.65 s
[opt-env-conf-test] [ "Missing argument: "
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.65 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.65 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read option: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.65 s
[opt-env-conf-test] ["Missing env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.65 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] - ParseErrorConfigRead md s ->
2112.65 s
[opt-env-conf-test] - ["Failed to parse configuration: "]
2112.65 s
[opt-env-conf-test] - : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] - ++ [[chunk $ T.pack s]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.65 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.65 s
[opt-env-conf-test] : availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.65 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.65 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.65 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.65 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.65 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.65 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2112.65 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.65 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.65 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2112.65 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.65 s
[opt-env-conf-test] renderError ParseError {..} =
2112.65 s
[opt-env-conf-test] concat
2112.65 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.65 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.65 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.65 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.65 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.65 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.65 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.65 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.65 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.65 s
[opt-env-conf-test] [ "Missing argument: "
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.65 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.65 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read option: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.65 s
[opt-env-conf-test] ["Missing env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] - ParseErrorMissingConfVal md ->
2112.65 s
[opt-env-conf-test] - ["Missing config value: "] : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.65 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.65 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.65 s
[opt-env-conf-test] : availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.65 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.65 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.65 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.65 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.65 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.65 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2112.65 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.65 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.65 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2112.65 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.65 s
[opt-env-conf-test] renderError ParseError {..} =
2112.65 s
[opt-env-conf-test] concat
2112.65 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.65 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.65 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.65 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.65 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.65 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.65 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.65 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.65 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.65 s
[opt-env-conf-test] [ "Missing argument: "
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.65 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] - ParseErrorMissingSwitch o ->
2112.65 s
[opt-env-conf-test] - ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read option: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.65 s
[opt-env-conf-test] ["Missing env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.65 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.65 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.65 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.65 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.65 s
[opt-env-conf-test] : availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.65 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.65 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.65 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.65 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.65 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.65 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.65 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.65 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2112.65 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.65 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test]
2112.65 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.65 s
[opt-env-conf-test] @@ -80,63 +80,59 @@
2112.65 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.65 s
[opt-env-conf-test] renderError ParseError {..} =
2112.65 s
[opt-env-conf-test] concat
2112.65 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.65 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.65 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.65 s
[opt-env-conf-test] ParseErrorEmptySetting ->
2112.65 s
[opt-env-conf-test] [["This setting has not been configured to be able to parse anything."]]
2112.65 s
[opt-env-conf-test] - ParseErrorNoReaders ->
2112.65 s
[opt-env-conf-test] - [ ["No readers were configured for an argument, option, or env."],
2112.65 s
[opt-env-conf-test] - ["You should not be seeing this error because the linting phase should have caught it."]
2112.65 s
[opt-env-conf-test] - ]
2112.65 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.65 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.65 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.65 s
[opt-env-conf-test] [ "Missing argument: "
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.65 s
[opt-env-conf-test] ]
2112.65 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.65 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.65 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.65 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read option: "]
2112.65 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.65 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.65 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.65 s
[opt-env-conf-test] ["Missing env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.65 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.65 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.65 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.66 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.66 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.66 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.66 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.66 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.66 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.66 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.66 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.66 s
[opt-env-conf-test] : availableCommandsLines cs
2112.66 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.66 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.66 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.66 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.66 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.66 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.66 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.66 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.66 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2112.66 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.66 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Error.hs:83:7-65
2112.66 s
[opt-env-conf-test] @@ -80,63 +80,61 @@
2112.66 s
[opt-env-conf-test] renderError :: ParseError -> [[Chunk]]
2112.66 s
[opt-env-conf-test] renderError ParseError {..} =
2112.66 s
[opt-env-conf-test] concat
2112.66 s
[opt-env-conf-test] [ case parseErrorMessage of
2112.66 s
[opt-env-conf-test] ParseErrorEmpty ->
2112.66 s
[opt-env-conf-test] [["Hit the 'empty' case of the Parser type, this should not happen."]]
2112.66 s
[opt-env-conf-test] - ParseErrorEmptySetting ->
2112.66 s
[opt-env-conf-test] - [["This setting has not been configured to be able to parse anything."]]
2112.66 s
[opt-env-conf-test] ParseErrorNoReaders ->
2112.66 s
[opt-env-conf-test] [ ["No readers were configured for an argument, option, or env."],
2112.66 s
[opt-env-conf-test] ["You should not be seeing this error because the linting phase should have caught it."]
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test] ParseErrorCheckFailed _ err ->
2112.66 s
[opt-env-conf-test] [["Check failed: "], [chunk $ T.pack err]]
2112.66 s
[opt-env-conf-test] ParseErrorMissingArgument o ->
2112.66 s
[opt-env-conf-test] [ "Missing argument: "
2112.66 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong o)
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test] ParseErrorArgumentRead md errs ->
2112.66 s
[opt-env-conf-test] ["Failed to read argument: "]
2112.66 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.66 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.66 s
[opt-env-conf-test] ParseErrorMissingOption o ->
2112.66 s
[opt-env-conf-test] ["Missing option: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.66 s
[opt-env-conf-test] ParseErrorMissingSwitch o ->
2112.66 s
[opt-env-conf-test] ["Missing switch: " : unwordsChunks (maybe [] renderOptDocLong o)]
2112.66 s
[opt-env-conf-test] ParseErrorOptionRead md errs ->
2112.66 s
[opt-env-conf-test] ["Failed to read option: "]
2112.66 s
[opt-env-conf-test] : unwordsChunks (maybe [] renderOptDocLong md)
2112.66 s
[opt-env-conf-test] : map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.66 s
[opt-env-conf-test] ParseErrorMissingEnvVar md ->
2112.66 s
[opt-env-conf-test] ["Missing env var: "]
2112.66 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.66 s
[opt-env-conf-test] ParseErrorEnvRead md errs ->
2112.66 s
[opt-env-conf-test] ["Failed to read env var: "]
2112.66 s
[opt-env-conf-test] : maybe [] renderEnvDoc md
2112.66 s
[opt-env-conf-test] ++ map (\err -> [chunk $ T.pack err]) (NE.toList errs)
2112.66 s
[opt-env-conf-test] ParseErrorMissingConfVal md ->
2112.66 s
[opt-env-conf-test] ["Missing config value: "] : maybe [] renderConfDoc md
2112.66 s
[opt-env-conf-test] ParseErrorConfigRead md s ->
2112.66 s
[opt-env-conf-test] ["Failed to parse configuration: "]
2112.66 s
[opt-env-conf-test] : maybe [] renderConfDoc md
2112.66 s
[opt-env-conf-test] ++ [[chunk $ T.pack s]]
2112.66 s
[opt-env-conf-test] ParseErrorMissingCommand cs ->
2112.66 s
[opt-env-conf-test] ["Missing command, available commands:"]
2112.66 s
[opt-env-conf-test] : availableCommandsLines cs
2112.66 s
[opt-env-conf-test] ParseErrorUnrecognisedCommand c cs ->
2112.66 s
[opt-env-conf-test] [ [fore red "Unrecognised command: ", fore yellow $ chunk (T.pack c)],
2112.66 s
[opt-env-conf-test] [fore blue "available commands:"]
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test] ++ availableCommandsLines cs
2112.66 s
[opt-env-conf-test] ParseErrorAllOrNothing locs ->
2112.66 s
[opt-env-conf-test] [ ["You are seeing this error because at least one, but not all, of the settings in an allOrNothing (or subSettings) parser have been defined."],
2112.66 s
[opt-env-conf-test] ["The following settings have been parsed:"]
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test] ++ map (pure . srcLocChunk) (M.elems locs)
2112.66 s
[opt-env-conf-test] ParseErrorUnrecognised leftovers ->
2112.66 s
[opt-env-conf-test] ["Unrecognised args: " : unwordsChunks (map (pure . chunk . T.pack) (NE.toList leftovers))]
2112.66 s
[opt-env-conf-test] ParseErrorMissingCapability cap ->
2112.66 s
[opt-env-conf-test] ["Missing capability: " : [chunk $ T.pack $ show cap]],
2112.66 s
[opt-env-conf-test] maybe [] (pure . ("see " :) . pure . srcLocChunk) parseErrorSrcLoc
2112.66 s
[opt-env-conf-test] ]
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:144:22-46
2112.66 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2112.66 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2112.66 s
[opt-env-conf-test] salt
2112.66 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2112.66 s
[opt-env-conf-test] - `hashWithSalt` envVarSettingAllowPrefix
2112.66 s
[opt-env-conf-test] + `hashWithSalt` n o t ( envVarSettingAllowPrefix )
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
2112.66 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2112.66 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2112.66 s
[opt-env-conf-test] salt
2112.66 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2112.66 s
[opt-env-conf-test] - `hashWithSalt` e n v V a r Settin gAl l o w Pr e f ix
2112.66 s
[opt-env-conf-test] + `hashWithSalt` F a l s e
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:144:22-46
2112.66 s
[opt-env-conf-test] @@ -141,7 +141,7 @@
2112.66 s
[opt-env-conf-test] hashWithSalt salt EnvVarSetting {..} =
2112.66 s
[opt-env-conf-test] salt
2112.66 s
[opt-env-conf-test] `hashWithSalt` envVarSettingVar
2112.66 s
[opt-env-conf-test] - `hashWithSalt` e n v Var Settin gAllow P r e fix
2112.66 s
[opt-env-conf-test] + `hashWithSalt` T r u e
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:136:5-29
2112.66 s
[opt-env-conf-test] @@ -133,7 +133,7 @@
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] data EnvVarSetting = EnvVarSetting
2112.66 s
[opt-env-conf-test] { envVarSettingVar :: !String,
2112.66 s
[opt-env-conf-test] - e n v Var Settin gAllow P r e fi x :: !Bool
2112.66 s
[opt-env-conf-test] + T r u e :: !Bool
2112.66 s
[opt-env-conf-test] }
2112.66 s
[opt-env-conf-test] deriving (Show, Eq)
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:159:5-32
2112.66 s
[opt-env-conf-test] @@ -156,7 +156,7 @@
2112.66 s
[opt-env-conf-test] = forall void.
2112.66 s
[opt-env-conf-test] ConfigValSetting
2112.66 s
[opt-env-conf-test] { configValSettingPath :: !(NonEmpty String),
2112.66 s
[opt-env-conf-test] - c o nf igV al S ett ingAllo wP r e fi x :: !Bool,
2112.66 s
[opt-env-conf-test] + T r u e :: !Bool,
2112.66 s
[opt-env-conf-test] configValSettingCodec :: !(ValueCodec void (Maybe a))
2112.66 s
[opt-env-conf-test] }
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:128:24-40
2112.66 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2112.66 s
[opt-env-conf-test] - `hashWithSalt` settingTryOption
2112.66 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryOption )
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2112.66 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2112.66 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
2112.66 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2112.66 s
[opt-env-conf-test] - `hashWithSalt` se tt ingT ryOption
2112.66 s
[opt-env-conf-test] + `hashWithSalt` F a l se
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2112.66 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2112.66 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:128:24-40
2112.66 s
[opt-env-conf-test] @@ -125,7 +125,7 @@
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2112.66 s
[opt-env-conf-test] - `hashWithSalt` s e tt in g Tr y Opti on
2112.66 s
[opt-env-conf-test] + `hashWithSalt` Tr ue
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2112.66 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2112.66 s
[opt-env-conf-test] `hashWithSalt` (snd <$> settingDefaultValue)
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:127:24-49
2112.66 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2112.66 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] - `hashWithSalt` isJust settingSwitchValue
2112.66 s
[opt-env-conf-test] + `hashWithSalt` n o t ( isJust settingSwitchValue )
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2112.66 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
2112.66 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2112.66 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] - `hashWithSalt` i s Jus t s e tti ngSwit chV al u e
2112.66 s
[opt-env-conf-test] + `hashWithSalt` F al s e
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2112.66 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:127:24-49
2112.66 s
[opt-env-conf-test] @@ -124,7 +124,7 @@
2112.66 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryArgument
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] - `hashWithSalt` i s J u s t s e t tin gSwitchValue
2112.66 s
[opt-env-conf-test] + `hashWithSalt` Tr u e
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingEnvVars
2112.66 s
[opt-env-conf-test] `hashWithSalt` (NE.map configValSettingPath <$> settingConfigVals)
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] Negate at src/OptEnvConf/Setting.hs:125:24-42
2112.66 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2112.66 s
[opt-env-conf-test] SettingHash
2112.66 s
[opt-env-conf-test] ( 42
2112.66 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2112.66 s
[opt-env-conf-test] - `hashWithSalt` settingTryArgument
2112.66 s
[opt-env-conf-test] + `hashWithSalt` n o t ( settingTryArgument )
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
2112.66 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2112.66 s
[opt-env-conf-test] SettingHash
2112.66 s
[opt-env-conf-test] ( 42
2112.66 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2112.66 s
[opt-env-conf-test] - `hashWithSalt` se tt ingTr yArgument
2112.66 s
[opt-env-conf-test] + `hashWithSalt` F a l se
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:125:24-42
2112.66 s
[opt-env-conf-test] @@ -122,7 +122,7 @@
2112.66 s
[opt-env-conf-test] SettingHash
2112.66 s
[opt-env-conf-test] ( 42
2112.66 s
[opt-env-conf-test] `hashWithSalt` map renderDashed settingDasheds
2112.66 s
[opt-env-conf-test] - `hashWithSalt` s e tt ing T ry A r g u m e n t
2112.66 s
[opt-env-conf-test] + `hashWithSalt` T r u e
2112.66 s
[opt-env-conf-test] `hashWithSalt` length settingReaders
2112.66 s
[opt-env-conf-test] `hashWithSalt` isJust settingSwitchValue
2112.66 s
[opt-env-conf-test] `hashWithSalt` settingTryOption
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:148:6-32
2112.66 s
[opt-env-conf-test] @@ -145,7 +145,7 @@
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting :: String -> EnvVarSetting -> EnvVarSetting
2112.66 s
[opt-env-conf-test] prefixEnvVarSetting prefix e =
2112.66 s
[opt-env-conf-test] - if e n vV arS etting Al l owP r efi x e
2112.66 s
[opt-env-conf-test] + if T r u e
2112.66 s
[opt-env-conf-test] then e {envVarSettingVar = prefix <> envVarSettingVar e}
2112.66 s
[opt-env-conf-test] else e
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Setting.hs:165:6-35
2112.66 s
[opt-env-conf-test] @@ -162,7 +162,7 @@
2112.66 s
[opt-env-conf-test]
2112.66 s
[opt-env-conf-test] prefixConfigValSetting :: String -> ConfigValSetting a -> ConfigValSetting a
2112.66 s
[opt-env-conf-test] prefixConfigValSetting prefix c =
2112.66 s
[opt-env-conf-test] - if c o nf ig V alSetti ngAllow P r e fi x c
2112.67 s
[opt-env-conf-test] + if T r u e
2112.67 s
[opt-env-conf-test] then c {configValSettingPath = prefix NE.<| configValSettingPath c}
2112.67 s
[opt-env-conf-test] else c
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Setting.hs:173:30-39
2112.67 s
[opt-env-conf-test] @@ -170,9 +170,8 @@
2112.67 s
[opt-env-conf-test] suffixConfigValSettingKey suffix c = c {configValSettingPath = suffixPath $ configValSettingPath c}
2112.67 s
[opt-env-conf-test] where
2112.67 s
[opt-env-conf-test] suffixPath :: NonEmpty String -> NonEmpty String
2112.67 s
[opt-env-conf-test] suffixPath (f :| rest) = case NE.nonEmpty rest of
2112.67 s
[opt-env-conf-test] Nothing -> (f <> suffix) :| []
2112.67 s
[opt-env-conf-test] - Just ne -> f NE.<| suffixPath ne
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] -- | A 'mempty' 'Setting' to build up a setting from.
2112.67 s
[opt-env-conf-test] emptySetting :: Setting a
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] - null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ListLit at src/OptEnvConf/Lint.hs:340:13-14
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,6 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:342:15-37
2112.67 s
[opt-env-conf-test] @@ -339,5 +339,5 @@
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] - n u ll s e t t in gConfigVals
2112.67 s
[opt-env-conf-test] + T r u e
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:341:15-34
2112.67 s
[opt-env-conf-test] @@ -338,6 +338,6 @@
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] - n u ll s e t ti ngEnv Va r s ,
2112.67 s
[opt-env-conf-test] + T r u e ,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-82
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ s e tt in g T r yA r g u m ent || s e ttin gTryOpti on || isJust set tingSwit chVa lu e ,
2112.67 s
[opt-env-conf-test] + [ T r u e ,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-82
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ settingTryArgument || s e t tin g Tr y O pt ion || isJ u st setting Switc hVa l u e,
2112.67 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:57-82
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || i s J u s t s e t tin gSwitc hVa lu e ,
2112.67 s
[opt-env-conf-test] + [ settingTryArgument || settingTryOption || Tr u e ,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:340:37-53
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ settingTryArgument || settingTryOption || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] + [ settingTryArgument || n o t ( settingTryOption ) || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ settingTryArgument || se tt ingT ryOp ti o n || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] + [ settingTryArgument || F a l se || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:37-53
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ settingTryArgument || s e tt in g Tr y Opti on || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] + [ settingTryArgument || Tr u e || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:340:15-33
2112.67 s
[opt-env-conf-test] @@ -337,7 +337,7 @@
2112.67 s
[opt-env-conf-test] -- 'many' is only allowed if something is being consumed and it's
2112.67 s
[opt-env-conf-test] -- impossible for nothing to be consumed.
2112.67 s
[opt-env-conf-test] and
2112.67 s
[opt-env-conf-test] - [ s e tt ing T ry A r g u m e n t || settingTryOption || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] + [ T r u e || settingTryOption || isJust settingSwitchValue,
2112.67 s
[opt-env-conf-test] null settingEnvVars,
2112.67 s
[opt-env-conf-test] null settingConfigVals
2112.67 s
[opt-env-conf-test] ]
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-24
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c1 || c2
2112.67 s
[opt-env-conf-test] + pure $ n o t ( c1 || c2 )
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:288:16-24
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c1 | | c2
2112.67 s
[opt-env-conf-test] + pure $ c1 & & c2
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c 1 || c2
2112.67 s
[opt-env-conf-test] + pure $ F a ls e
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-24
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c 1 || c 2
2112.67 s
[opt-env-conf-test] + pure $ T rue
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:22-24
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c1 || c2
2112.67 s
[opt-env-conf-test] + pure $ c1 || n o t ( c2 )
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c1 || c 2
2112.67 s
[opt-env-conf-test] + pure $ c1 || F a ls e
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:22-24
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c1 || c 2
2112.67 s
[opt-env-conf-test] + pure $ c1 || T rue
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:288:16-18
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c1 || c2
2112.67 s
[opt-env-conf-test] + pure $ n o t ( c1 ) || c2
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c 1 || c2
2112.67 s
[opt-env-conf-test] + pure $ F a ls e || c2
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:288:16-18
2112.67 s
[opt-env-conf-test] @@ -285,7 +285,7 @@
2112.67 s
[opt-env-conf-test] ParserWithConfig _ p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- local (const True) (go p2)
2112.67 s
[opt-env-conf-test] - pure $ c 1 || c2
2112.67 s
[opt-env-conf-test] + pure $ T ru e || c2
2112.67 s
[opt-env-conf-test] ParserSetting mLoc Setting {..} -> mapValidationTFailure (LintError mLoc) $ do
2112.67 s
[opt-env-conf-test] case settingHelp of
2112.67 s
[opt-env-conf-test] Nothing ->
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:14-24
2112.67 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.67 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- go p2
2112.67 s
[opt-env-conf-test] - pure ( c1 && c2) -- TODO: is this right?
2112.67 s
[opt-env-conf-test] + pure n o t ( ( c1 && c2) ) -- TODO: is this right?
2112.67 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.67 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.67 s
[opt-env-conf-test] c <- go p
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
2112.67 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.67 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.67 s
[opt-env-conf-test] c1 <- go p1
2112.67 s
[opt-env-conf-test] c2 <- go p2
2112.67 s
[opt-env-conf-test] - pure ( c 1 && c 2) -- TODO: is this right?
2112.67 s
[opt-env-conf-test] + pure F alse -- TODO: is this right?
2112.67 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.67 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.67 s
[opt-env-conf-test] c <- go p
2112.67 s
[opt-env-conf-test]
2112.67 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:14-24
2112.67 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.67 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c1 && c2 ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure True -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-23
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure ( n ot (c1 && c2) ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:259:15-23
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 & & c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure (c1 | | c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure ( F a ls e ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-23
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c 1 && c 2 ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure ( T ru e ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:21-23
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure (c1 && n o t ( c2) ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure (c1 && F a ls e ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:21-23
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 && c 2 ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure (c1 && T ru e ) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:259:15-17
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure ( n ot (c1 ) && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure ( F a ls e && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:259:15-17
2112.68 s
[opt-env-conf-test] @@ -256,7 +256,7 @@
2112.68 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c 1 && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] + pure ( T ru e && c2) -- TODO: is this right?
2112.68 s
[opt-env-conf-test] -- TODO lint if we don't try to parse anything consuming under many.
2112.68 s
[opt-env-conf-test] ParserMany mLoc p -> do
2112.68 s
[opt-env-conf-test] c <- go p
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:14-24
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c1 || c2)
2112.68 s
[opt-env-conf-test] + pure n o t ( ( c1 || c2) )
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c 1 || c2)
2112.68 s
[opt-env-conf-test] + pure F alse
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:14-24
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c1 || c2)
2112.68 s
[opt-env-conf-test] + pure True
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-23
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 || c2)
2112.68 s
[opt-env-conf-test] + pure ( n ot (c1 || c2) )
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Lint.hs:250:15-23
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 | | c2)
2112.68 s
[opt-env-conf-test] + pure (c1 & & c2)
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
2112.68 s
[opt-env-conf-test] + pure ( F a ls e )
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-23
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure ( c 1 || c 2 )
2112.68 s
[opt-env-conf-test] + pure ( T ru e )
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:21-23
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 || c2)
2112.68 s
[opt-env-conf-test] + pure (c1 || n o t ( c2) )
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 || c 2 )
2112.68 s
[opt-env-conf-test] + pure (c1 || F a ls e )
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:21-23
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test] - pure (c1 || c 2 )
2112.68 s
[opt-env-conf-test] + pure (c1 || T ru e )
2112.68 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.68 s
[opt-env-conf-test]
2112.68 s
[opt-env-conf-test] Negate at src/OptEnvConf/Lint.hs:250:15-17
2112.68 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.68 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.68 s
[opt-env-conf-test] c1 <- go p1
2112.68 s
[opt-env-conf-test] c2 <- go p2
2112.69 s
[opt-env-conf-test] - pure (c1 || c2)
2112.69 s
[opt-env-conf-test] + pure ( n ot (c1 ) || c2)
2112.69 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.69 s
[opt-env-conf-test] c1 <- go p1
2112.69 s
[opt-env-conf-test] c2 <- go p2
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
2112.69 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.69 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.69 s
[opt-env-conf-test] c1 <- go p1
2112.69 s
[opt-env-conf-test] c2 <- go p2
2112.69 s
[opt-env-conf-test] - pure ( c 1 || c2)
2112.69 s
[opt-env-conf-test] + pure ( F a ls e || c2)
2112.69 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.69 s
[opt-env-conf-test] c1 <- go p1
2112.69 s
[opt-env-conf-test] c2 <- go p2
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Lint.hs:250:15-17
2112.69 s
[opt-env-conf-test] @@ -247,7 +247,7 @@
2112.69 s
[opt-env-conf-test] ParserAp p1 p2 -> do
2112.69 s
[opt-env-conf-test] c1 <- go p1
2112.69 s
[opt-env-conf-test] c2 <- go p2
2112.69 s
[opt-env-conf-test] - pure ( c 1 || c2)
2112.69 s
[opt-env-conf-test] + pure ( T ru e || c2)
2112.69 s
[opt-env-conf-test] ParserSelect p1 p2 -> do
2112.69 s
[opt-env-conf-test] c1 <- go p1
2112.69 s
[opt-env-conf-test] c2 <- go p2
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Check.hs:44:7-71
2112.69 s
[opt-env-conf-test] @@ -41,7 +41,6 @@
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] CheckSucceeded _ -> do
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout ["Settings parsed successfully."]
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] renderMissingCapabilities :: NonEmpty MissingCapability -> [Chunk]
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] MaybeOp at src/OptEnvConf/Check.hs:80:42-56
2112.69 s
[opt-env-conf-test] @@ -77,7 +77,7 @@
2112.69 s
[opt-env-conf-test] Maybe JSON.Object ->
2112.69 s
[opt-env-conf-test] IO (CheckResult a)
2112.69 s
[opt-env-conf-test] runSettingsCheckOn capabilities debugMode p args envVars mConfig = do
2112.69 s
[opt-env-conf-test] - errOrSets <- runParserOn capabilities ( J us t debu g Mo d e ) p args envVars mConfig
2112.69 s
[opt-env-conf-test] + errOrSets <- runParserOn capabilities ( N o t h in g ) p args envVars mConfig
2112.69 s
[opt-env-conf-test] pure $ case errOrSets of
2112.69 s
[opt-env-conf-test] Right a -> CheckSucceeded a
2112.69 s
[opt-env-conf-test] Left errs ->
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.69 s
[opt-env-conf-test] @@ -125,42 +125,41 @@
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.69 s
[opt-env-conf-test] exitFailure
2112.69 s
[opt-env-conf-test] Right i -> case i of
2112.69 s
[opt-env-conf-test] ShowVersion -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderMan -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderDocumentation -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderNixosOptions -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2112.69 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] - ParsedNormally a -> pure a
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.69 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.69 s
[opt-env-conf-test] @@ -125,42 +125,39 @@
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.69 s
[opt-env-conf-test] exitFailure
2112.69 s
[opt-env-conf-test] Right i -> case i of
2112.69 s
[opt-env-conf-test] ShowVersion -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderMan -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderDocumentation -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderNixosOptions -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] - CompletionQuery enriched index ws -> do
2112.69 s
[opt-env-conf-test] - runCompletionQuery p' enriched index ws
2112.69 s
[opt-env-conf-test] - exitSuccess
2112.69 s
[opt-env-conf-test] ParsedNormally a -> pure a
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.69 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.69 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.69 s
[opt-env-conf-test] exitFailure
2112.69 s
[opt-env-conf-test] Right i -> case i of
2112.69 s
[opt-env-conf-test] ShowVersion -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderMan -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderDocumentation -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderNixosOptions -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] - exitSuccess
2112.69 s
[opt-env-conf-test] - FishCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] - progname <- getProgName
2112.69 s
[opt-env-conf-test] - generateFishCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2112.69 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] ParsedNormally a -> pure a
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.69 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.69 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.69 s
[opt-env-conf-test] exitFailure
2112.69 s
[opt-env-conf-test] Right i -> case i of
2112.69 s
[opt-env-conf-test] ShowVersion -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderMan -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderDocumentation -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderNixosOptions -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] - exitSuccess
2112.69 s
[opt-env-conf-test] - ZshCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] - progname <- getProgName
2112.69 s
[opt-env-conf-test] - generateZshCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2112.69 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] ParsedNormally a -> pure a
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.69 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.69 s
[opt-env-conf-test]
2112.69 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.69 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.69 s
[opt-env-conf-test] exitFailure
2112.69 s
[opt-env-conf-test] Right i -> case i of
2112.69 s
[opt-env-conf-test] ShowVersion -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderMan -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.69 s
[opt-env-conf-test] exitSuccess
2112.69 s
[opt-env-conf-test] RenderDocumentation -> do
2112.69 s
[opt-env-conf-test] progname <- getProgName
2112.69 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.69 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] RenderNixosOptions -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.70 s
[opt-env-conf-test] - exitSuccess
2112.70 s
[opt-env-conf-test] - BashCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] - progname <- getProgName
2112.70 s
[opt-env-conf-test] - generateBashCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2112.70 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ParsedNormally a -> pure a
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.70 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.70 s
[opt-env-conf-test] @@ -125,42 +125,38 @@
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.70 s
[opt-env-conf-test] exitFailure
2112.70 s
[opt-env-conf-test] Right i -> case i of
2112.70 s
[opt-env-conf-test] ShowVersion -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] RenderMan -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] RenderDocumentation -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.70 s
[opt-env-conf-test] - exitSuccess
2112.70 s
[opt-env-conf-test] - RenderNixosOptions -> do
2112.70 s
[opt-env-conf-test] - progname <- getProgName
2112.70 s
[opt-env-conf-test] - putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2112.70 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ParsedNormally a -> pure a
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.70 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.70 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.70 s
[opt-env-conf-test] exitFailure
2112.70 s
[opt-env-conf-test] Right i -> case i of
2112.70 s
[opt-env-conf-test] ShowVersion -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] RenderMan -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] - RenderDocumentation -> do
2112.70 s
[opt-env-conf-test] - progname <- getProgName
2112.70 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.70 s
[opt-env-conf-test] - exitSuccess
2112.70 s
[opt-env-conf-test] RenderNixosOptions -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2112.70 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ParsedNormally a -> pure a
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.70 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:128:28-45
2112.70 s
[opt-env-conf-test] @@ -125,42 +125,37 @@
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.70 s
[opt-env-conf-test] exitFailure
2112.70 s
[opt-env-conf-test] Right i -> case i of
2112.70 s
[opt-env-conf-test] ShowVersion -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] - RenderMan -> do
2112.70 s
[opt-env-conf-test] - progname <- getProgName
2112.70 s
[opt-env-conf-test] - tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderManPage progname version progDesc docs
2112.70 s
[opt-env-conf-test] - exitSuccess
2112.70 s
[opt-env-conf-test] RenderDocumentation -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ renderReferenceDocumentation progname docs
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] RenderNixosOptions -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] putStrLn $ T.unpack $ renderParserNixOptionsWithGeneratedComment progname p'
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] BashCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateBashCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ZshCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateZshCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] FishCompletionScript progPath -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] generateFishCompletionScript progPath progname
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] CompletionQuery enriched index ws -> do
2112.70 s
[opt-env-conf-test] runCompletionQuery p' enriched index ws
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] ParsedNormally a -> pure a
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] -- We use [String] instead of [Args] because we want to remove these args, and act on them, before any real arg parsing happens.
2112.70 s
[opt-env-conf-test] consumeExactArg :: String -> [String] -> (Bool, [String])
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:132:21-88
2112.70 s
[opt-env-conf-test] @@ -129,7 +129,6 @@
2112.70 s
[opt-env-conf-test] ShowVersion -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ renderVersionPage progname version
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] RenderMan -> do
2112.70 s
[opt-env-conf-test] progname <- getProgName
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:126:19-69
2112.70 s
[opt-env-conf-test] @@ -123,7 +123,6 @@
2112.70 s
[opt-env-conf-test] case errOrResult of
2112.70 s
[opt-env-conf-test] Left errs -> do
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stderr
2112.70 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stderr $ renderErrors errs
2112.70 s
[opt-env-conf-test] exitFailure
2112.70 s
[opt-env-conf-test] Right i -> case i of
2112.70 s
[opt-env-conf-test] ShowVersion -> do
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Main.hs:100:15-78
2112.70 s
[opt-env-conf-test] @@ -97,9 +97,6 @@
2112.70 s
[opt-env-conf-test] exitFailure
2112.70 s
[opt-env-conf-test] Right mCommandDoc -> do
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] - hPutChunksLocaleWith tc stdout $ case mCommandDoc of
2112.70 s
[opt-env-conf-test] - Nothing -> renderHelpPage progname version progDesc docs
2112.70 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] else do
2112.70 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:100:48-78
2112.70 s
[opt-env-conf-test] @@ -97,9 +97,8 @@
2112.70 s
[opt-env-conf-test] exitFailure
2112.70 s
[opt-env-conf-test] Right mCommandDoc -> do
2112.70 s
[opt-env-conf-test] tc <- getTerminalCapabilitiesFromHandle stdout
2112.70 s
[opt-env-conf-test] hPutChunksLocaleWith tc stdout $ case mCommandDoc of
2112.70 s
[opt-env-conf-test] Nothing -> renderHelpPage progname version progDesc docs
2112.70 s
[opt-env-conf-test] - Just (path, cDoc) -> renderCommandHelpPage progname path cDoc
2112.70 s
[opt-env-conf-test] exitSuccess
2112.70 s
[opt-env-conf-test] else do
2112.70 s
[opt-env-conf-test] let (capabilities, args'') = consumeCapabilities args'
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:83:12-21
2112.70 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2112.70 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] mDebugMode <-
2112.70 s
[opt-env-conf-test] - if debugMode
2112.70 s
[opt-env-conf-test] + if n o t ( debugMode )
2112.70 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2112.70 s
[opt-env-conf-test] else pure Nothing
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
2112.70 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2112.70 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] mDebugMode <-
2112.70 s
[opt-env-conf-test] - if d e b ugM o d e
2112.70 s
[opt-env-conf-test] + if F al s e
2112.70 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2112.70 s
[opt-env-conf-test] else pure Nothing
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:83:12-21
2112.70 s
[opt-env-conf-test] @@ -80,7 +80,7 @@
2112.70 s
[opt-env-conf-test] let (debugMode, args) = consumeDebugMode allArgs
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] mDebugMode <-
2112.70 s
[opt-env-conf-test] - if d eb u gM o d e
2112.70 s
[opt-env-conf-test] + if T r u e
2112.70 s
[opt-env-conf-test] then Just <$> getTerminalCapabilitiesFromHandle stderr
2112.70 s
[opt-env-conf-test] else pure Nothing
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] Negate at src/OptEnvConf/Main.hs:175:18-23
2112.70 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2112.70 s
[opt-env-conf-test] | x == arg -> (True, xs)
2112.70 s
[opt-env-conf-test] | otherwise ->
2112.70 s
[opt-env-conf-test] let (found, rest) = go xs
2112.70 s
[opt-env-conf-test] - i n (found , x : rest)
2112.70 s
[opt-env-conf-test] + i n ( n ot (found ) , x : rest)
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
2112.70 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Main.hs:175:18-23
2112.70 s
[opt-env-conf-test] @@ -172,7 +172,7 @@
2112.70 s
[opt-env-conf-test] | x == arg -> (True, xs)
2112.70 s
[opt-env-conf-test] | otherwise ->
2112.70 s
[opt-env-conf-test] let (found, rest) = go xs
2112.70 s
[opt-env-conf-test] - in ( f o u nd , x : rest)
2112.70 s
[opt-env-conf-test] + in ( Fal s e , x : rest)
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] consumeDebugMode :: [String] -> (Bool, [String])
2112.70 s
[opt-env-conf-test] consumeDebugMode = consumeExactArg "--debug-optparse"
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:199:13-44
2112.70 s
[opt-env-conf-test] @@ -196,13 +196,12 @@
2112.70 s
[opt-env-conf-test] [] -> (caps, [])
2112.70 s
[opt-env-conf-test] (x : xs) ->
2112.70 s
[opt-env-conf-test] let t = T.pack x
2112.70 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
2112.70 s
[opt-env-conf-test] - Just capName -> go (disableCapability (Capability capName) caps) xs
2112.70 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
2112.70 s
[opt-env-conf-test] Just capName -> go (enableCapability (Capability capName) caps) xs
2112.70 s
[opt-env-conf-test] Nothing ->
2112.70 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
2112.70 s
[opt-env-conf-test] in (finalCaps, x : rest)
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
2112.70 s
[opt-env-conf-test] -- is supposed to.
2112.70 s
[opt-env-conf-test]
2112.70 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Main.hs:201:26-44
2112.70 s
[opt-env-conf-test] @@ -198,11 +198,10 @@
2112.70 s
[opt-env-conf-test] let t = T.pack x
2112.70 s
[opt-env-conf-test] in case T.stripPrefix "--settings-capabilities-disable-" t of
2112.70 s
[opt-env-conf-test] Just capName -> go (disableCapability (Capability capName) caps) xs
2112.70 s
[opt-env-conf-test] Nothing -> case T.stripPrefix "--settings-capabilities-enable-" t of
2112.71 s
[opt-env-conf-test] - Just capName -> go (enableCapability (Capability capName) caps) xs
2112.71 s
[opt-env-conf-test] Nothing ->
2112.71 s
[opt-env-conf-test] let (finalCaps, rest) = go caps xs
2112.71 s
[opt-env-conf-test] in (finalCaps, x : rest)
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] -- Internal structure to help us do what the framework
2112.71 s
[opt-env-conf-test] -- is supposed to.
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
2112.71 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
2112.71 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
2112.71 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
2112.71 s
[opt-env-conf-test] [] -> []
2112.71 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
2112.71 s
[opt-env-conf-test] - _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
2112.71 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:69:28-91
2112.71 s
[opt-env-conf-test] @@ -66,10 +66,9 @@
2112.71 s
[opt-env-conf-test] defaultValueChunks val = ["default: ", fore yellow $ chunk $ T.pack val]
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] exampleValuesChunks :: [String] -> [Chunk]
2112.71 s
[opt-env-conf-test] exampleValuesChunks vals = case vals of
2112.71 s
[opt-env-conf-test] - [] -> []
2112.71 s
[opt-env-conf-test] [val] -> ["example: ", fore yellow $ chunk $ T.pack val]
2112.71 s
[opt-env-conf-test] _ -> ["examples: ", fore yellow $ chunk $ T.intercalate ", " $ map (T.pack . show) vals]
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] mHelpChunk :: Maybe Help -> Chunk
2112.71 s
[opt-env-conf-test] mHelpChunk = maybe (fore red "undocumented") helpChunk
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Output.hs:87:27-50
2112.71 s
[opt-env-conf-test] @@ -84,9 +84,8 @@
2112.71 s
[opt-env-conf-test] syntaxChunk = fore blue . chunk . T.pack
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] capabilitiesChunks :: Set Capability -> [Chunk]
2112.71 s
[opt-env-conf-test] capabilitiesChunks caps = case Set.toList caps of
2112.71 s
[opt-env-conf-test] - [] -> []
2112.71 s
[opt-env-conf-test] cs -> intersperse ", " (map capabilityChunk cs)
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] capabilityChunk :: Capability -> Chunk
2112.71 s
[opt-env-conf-test] capabilityChunk = fore green . chunk . unCapability
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:96:58-12
2112.71 s
[opt-env-conf-test] @@ -93,33 +93,25 @@
2112.71 s
[opt-env-conf-test] map (fromRelFile . (rd </>)) $ filter (not . hiddenRel) fs
2112.71 s
[opt-env-conf-test] )
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] (dirsFromPartialListing, filesFromPartialListing) <- case parseSomeFile fp of
2112.71 s
[opt-env-conf-test] Nothing ->
2112.71 s
[opt-env-conf-test] if fp == "."
2112.71 s
[opt-env-conf-test] then do
2112.71 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2112.71 s
[opt-env-conf-test] pure
2112.71 s
[opt-env-conf-test] ( map fromRelDir ds,
2112.71 s
[opt-env-conf-test] map fromRelFile fs
2112.71 s
[opt-env-conf-test] )
2112.71 s
[opt-env-conf-test] else pur ppIndent $ do
2112.71 s
[opt-env-conf-test] Testing mutation RemoveAction at src/OptEnvConf/Run.hs:122:26-31
2112.71 s
[opt-env-conf-test] @@ -119,18 +119,17 @@
2112.71 s
[opt-env-conf-test] ParserSelect fe ff -> do
2112.71 s
[opt-env-conf-test] debug [syntaxChunk "Select"]
2112.71 s
[opt-env-conf-test] ppIndent $ select (go fe) (go ff)
2112.71 s
[opt-env-conf-test] ParserAlt p1 p2 -> do
2112.71 s
[opt-env-conf-test] - debug [syntaxChunk "Alt"]
2112.71 s
[opt-env-conf-test] ppIndent $ do
2112.71 s
[opt-env-conf-test] debug ["Trying left side."]
2112.71 s
[opt-env-conf-test] eor <- ppIndent $ tryPP (go p1)
2112.71 s
[opt-env-conf-test] case eor of
2112.71 s
[opt-env-conf-test] Just a -> do
2112.71 s
[opt-env-conf-test] debug ["Left side succeeded."]
2112.71 s
[opt-env-conf-test] pure a
2112.71 s
[opt-env-conf-test] Nothing -> do
2112.71 s
[opt-env-conf-test] debug ["Left side failed, trying right side."]
2112.71 s
[opt-env-conf-test] ppIndent $ go p2
2112.71 s
[opt-env-conf-test] ParserMany mLoc p' -> do
2112.71 s
[opt-env-conf-test] debug [syntaxChunk "Many", ": ", mSrcLocChunk mLoc]
2112.71 s
[opt-env-conf-test] ppIndent $ do
2112.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:75:35-98
2112.71 s
[opt-env-conf-test] @@ -72,17 +72,14 @@
2112.71 s
[opt-env-conf-test] let codecTups = maybe [] NE.toList (settingConfigVals s)
2112.71 s
[opt-env-conf-test] in M.unionsWith combineOption $ flip map codecTups $ \ConfigValSetting {..} ->
2112.71 s
[opt-env-conf-test] let go' :: NonEmpty Text -> Map Text Option
2112.71 s
[opt-env-conf-test] go' (p :| ps) = case NE.nonEmpty ps of
2112.71 s
[opt-env-conf-test] Nothing ->
2112.71 s
[opt-env-conf-test] let oc =
2112.71 s
[opt-env-conf-test] maybe
2112.71 s
[opt-env-conf-test] (optionalFieldWith' p configValSettingCodec)
2112.71 s
[opt-env-conf-test] (optionalFieldWith p configValSettingCodec)
2112.71 s
[opt-env-conf-test] (T.pack <$> settingHelp s)
2112.71 s
[opt-env-conf-test] in objectCodecNixOptions oc
2112.71 s
[opt-env-conf-test] - Just rest ->
2112.71 s
[opt-env-conf-test] - let m = go' rest
2112.71 s
[opt-env-conf-test] - in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2112.71 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2112.71 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2112.71 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2112.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Nix.hs:88:27-81
2112.71 s
[opt-env-conf-test] @@ -85,10 +85,9 @@
2112.71 s
[opt-env-conf-test] in M.singleton p $ emptyOption {optionType = Just (OptionTypeSubmodule m)}
2112.71 s
[opt-env-conf-test] in go' $ NE.map T.pack configValSettingPath
2112.71 s
[opt-env-conf-test] combineOption :: Option -> Option -> Option
2112.71 s
[opt-env-conf-test] combineOption o1 o2 = case (optionType o1, optionType o2) of
2112.71 s
[opt-env-conf-test] (Nothing, _) -> o2
2112.71 s
[opt-env-conf-test] - (Just ot1, Nothing) -> o2 {optionType = Just ot1}
2112.71 s
[opt-env-conf-test] (Just ot1, Just ot2) -> o2 {optionType = Just $ combineOptionType ot1 ot2}
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] combineOptionType :: OptionType -> OptionType -> OptionType
2112.71 s
[opt-env-conf-test] combineOptionType ot1 ot2 = simplifyOptionType $ case (ot1, ot2) of
2112.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:636:3-20
2112.71 s
[opt-env-conf-test] @@ -633,15 +633,12 @@
2112.71 s
[opt-env-conf-test] e <- ask
2112.71 s
[opt-env-conf-test] results <- liftIO $ runPP pp s e
2112.71 s
[opt-env-conf-test] (errOrRes, s') <- ppNonDetList results
2112.71 s
[opt-env-conf-test] case errOrRes of
2112.71 s
[opt-env-conf-test] Failure errs ->
2112.71 s
[opt-env-conf-test] if all errorIsForgivable errs
2112.71 s
[opt-env-conf-test] then do
2112.71 s
[opt-env-conf-test] pure Nothing
2112.71 s
[opt-env-conf-test] else ppErrors' errs
2112.71 s
[opt-env-conf-test] - Success a -> do
2112.71 s
[opt-env-conf-test] - put s' -- Only set state if parsing succeeded.
2112.71 s
[opt-env-conf-test] - pure $ Just a
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] ppNonDet :: NonDetT IO a -> PP a
2112.71 s
[opt-env-conf-test] ppNonDet = PP . lift . lift . lift
2112.71 s
[opt-env-conf-test] Testing mutation Negate at src/OptEnvConf/Error.hs:55:41-51
2112.71 s
[opt-env-conf-test] @@ -52,7 +52,7 @@
2112.71 s
[opt-env-conf-test] ParseErrorEmpty -> True
2112.71 s
[opt-env-conf-test] ParseErrorEmptySetting -> False
2112.71 s
[opt-env-conf-test] ParseErrorNoReaders -> False
2112.71 s
[opt-env-conf-test] - ParseErrorCheckFailed forgivable _ -> forgivable
2112.71 s
[opt-env-conf-test] + ParseErrorCheckFailed forgivable _ -> n o t ( forgivable )
2112.71 s
[opt-env-conf-test] ParseErrorMissingArgument _ -> True
2112.71 s
[opt-env-conf-test] ParseErrorArgumentRead _ _ -> False
2112.71 s
[opt-env-conf-test] ParseErrorMissingSwitch _ -> True
2112.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:490:19-27
2112.71 s
[opt-env-conf-test] @@ -487,9 +487,8 @@
2112.71 s
[opt-env-conf-test] Right a -> Right a
2112.71 s
[opt-env-conf-test] go' errs = \case
2112.71 s
[opt-env-conf-test] [] -> Left errs
2112.71 s
[opt-env-conf-test] (r : rl) -> case runReader r s of
2112.71 s
[opt-env-conf-test] Left err -> go' (err <| errs) rl
2112.71 s
[opt-env-conf-test] - Right a -> Right a
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] runHelpParser ::
2112.71 s
[opt-env-conf-test] -- DebugMode
2112.71 s
[opt-env-conf-test] Testing mutation RemoveCase at src/OptEnvConf/Run.hs:587:21-47
2112.71 s
[opt-env-conf-test] @@ -584,16 +584,10 @@
2112.71 s
[opt-env-conf-test] debug ["No argument found for choosing a command."]
2112.71 s
[opt-env-conf-test] pure Nothing
2112.71 s
[opt-env-conf-test] Just s -> do
2112.71 s
[opt-env-conf-test] case find ((== s) . commandArg) cs of
2112.71 s
[opt-env-conf-test] Nothing -> do
2112.71 s
[opt-env-conf-test] debug ["Argument found, but no matching command: ", chunk $ T.pack $ show s]
2112.71 s
[opt-env-conf-test] pure Nothing
2112.71 s
[opt-env-conf-test] - Just c -> do
2112.71 s
[opt-env-conf-test] - debug ["Set command to ", commandChunk (commandArg c)]
2112.71 s
[opt-env-conf-test] - mRes <- go' (commandArg c : path) $ commandParser c
2112.71 s
[opt-env-conf-test] - pure $ case mRes of
2112.71 s
[opt-env-conf-test] - Nothing -> Just (reverse path, commandParserDocs c)
2112.71 s
[opt-env-conf-test] - Just res -> pure res
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] newtype PP a = PP (ReaderT PPEnv (ValidationT ParseError (StateT PPState (NonDetT IO))) a)
2112.71 s
[opt-env-conf-test] deriving
2112.71 s
[opt-env-conf-test] e ([], [])
2112.71 s
[opt-env-conf-test] - Just (Abs af) -> do
2112.71 s
[opt-env-conf-test] - let dir = parent af
2112.71 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (filename af) then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] - (ds, fs) <- listDirForgiving dir
2112.71 s
[opt-env-conf-test] - pure
2112.71 s
[opt-env-conf-test] - ( map (fromAbsDir . (dir </>)) $ filterHidden ds,
2112.71 s
[opt-env-conf-test] - map (fromAbsFile . (dir </>)) $ filterHidden fs
2112.71 s
[opt-env-conf-test] - )
2112.71 s
[opt-env-conf-test] Just (Rel rf) -> do
2112.71 s
[opt-env-conf-test] let dir = parent rf
2112.71 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.71 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure
2112.71 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2112.71 s
[opt-env-conf-test] map (fromRelFile . (dir </>)) $ filterHidden fs
2112.71 s
[opt-env-conf-test] )
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] pure $
2112.71 s
[opt-env-conf-test] concat
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:117:31-43
2112.71 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2112.71 s
[opt-env-conf-test] Just (Rel rf) -> do
2112.71 s
[opt-env-conf-test] let dir = parent rf
2112.71 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.71 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure
2112.71 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2112.71 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2112.71 s
[opt-env-conf-test] Just (Rel rf) -> do
2112.71 s
[opt-env-conf-test] let dir = parent rf
2112.71 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.71 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure
2112.71 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:117:31-43
2112.71 s
[opt-env-conf-test] @@ -114,7 +114,7 @@
2112.71 s
[opt-env-conf-test] Just (Rel rf) -> do
2112.71 s
[opt-env-conf-test] let dir = parent rf
2112.71 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.71 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure
2112.71 s
[opt-env-conf-test] ( map (fromRelDir . (dir </>)) $ filterHidden ds,
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:74:18-27
2112.71 s
[opt-env-conf-test] @@ -71,14 +71,13 @@
2112.71 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix)) $ do
2112.71 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2112.71 s
[opt-env-conf-test] (dirsFromParentListing, filesFromParentListing) <- case parseSomeDir fp of
2112.71 s
[opt-env-conf-test] Nothing -> case fp of
2112.71 s
[opt-env-conf-test] [] -> do
2112.71 s
[opt-env-conf-test] (ds, fs) <- listDirRel baseDir
2112.71 s
[opt-env-conf-test] pure
2112.71 s
[opt-env-conf-test] ( map fromRelDir $ filter (not . hiddenRel) ds,
2112.71 s
[opt-env-conf-test] map fromRelFile $ filter (not . hiddenRel) fs
2112.71 s
[opt-env-conf-test] )
2112.71 s
[opt-env-conf-test] - _ -> pure ([], [])
2112.71 s
[opt-env-conf-test] Just (Abs ad) -> do
2112.71 s
[opt-env-conf-test] (ds, fs) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:171:31-66
2112.71 s
[opt-env-conf-test] @@ -168,24 +168,19 @@
2112.71 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2112.71 s
[opt-env-conf-test] Nothing -> pure []
2112.71 s
[opt-env-conf-test] - Just (Abs af) -> do
2112.71 s
[opt-env-conf-test] - let dir = parent af
2112.71 s
[opt-env-conf-test] - let filterHidden = if hiddenRel (dirname af) then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving dir
2112.71 s
[opt-env-conf-test] - pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2112.71 s
[opt-env-conf-test] Just (Rel rf) ->
2112.71 s
[opt-env-conf-test] if fp == "."
2112.71 s
[opt-env-conf-test] then do
2112.71 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2112.71 s
[opt-env-conf-test] pure (map fromRelDir ds)
2112.71 s
[opt-env-conf-test] else do
2112.71 s
[opt-env-conf-test] let dir = parent rf
2112.71 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.71 s
[opt-env-conf-test] let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] pure $
2112.71 s
[opt-env-conf-test] concat
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] Negate at src/OptEnvConf/Completer.hs:186:35-47
2112.71 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2112.71 s
[opt-env-conf-test] else do
2112.71 s
[opt-env-conf-test] let dir = parent rf
2112.71 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.71 s
[opt-env-conf-test] - let filterHidden = if hiddenRel rf then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] + let filterHidden = if n o t ( hiddenRel rf ) then id else filter (not . hiddenRel)
2112.71 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2112.71 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test]
2112.71 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2112.72 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2112.72 s
[opt-env-conf-test] else do
2112.72 s
[opt-env-conf-test] let dir = parent rf
2112.72 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.72 s
[opt-env-conf-test] - let filterHidden = if h i dd e nRel rf then id else filter (not . hiddenRel)
2112.72 s
[opt-env-conf-test] + let filterHidden = if Fals e then id else filter (not . hiddenRel)
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2112.72 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:186:35-47
2112.72 s
[opt-env-conf-test] @@ -183,7 +183,7 @@
2112.72 s
[opt-env-conf-test] else do
2112.72 s
[opt-env-conf-test] let dir = parent rf
2112.72 s
[opt-env-conf-test] let ad = baseDir </> dir
2112.72 s
[opt-env-conf-test] - let filterHidden = if h id den Re l r f then id else filter (not . hiddenRel)
2112.72 s
[opt-env-conf-test] + let filterHidden = if T r ue then id else filter (not . hiddenRel)
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2112.72 s
[opt-env-conf-test] pure (map (fromRelDir . (dir </>)) $ filterHidden ds)
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:179:12-21
2112.72 s
[opt-env-conf-test] @@ -176,7 +176,7 @@
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirForgiving dir
2112.72 s
[opt-env-conf-test] pure (map (fromAbsDir . (dir </>)) $ filterHidden ds)
2112.72 s
[opt-env-conf-test] Just (Rel rf) ->
2112.72 s
[opt-env-conf-test] - i f f p = = " . "
2112.72 s
[opt-env-conf-test] + i f Fals e
2112.72 s
[opt-env-conf-test] then do
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2112.72 s
[opt-env-conf-test] pure (map fromRelDir ds)
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:157:30-73
2112.72 s
[opt-env-conf-test] @@ -154,19 +154,16 @@
2112.72 s
[opt-env-conf-test] directoryPathFromDir baseDir prefix fp fp' = do
2112.72 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2112.72 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2112.72 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2112.72 s
[opt-env-conf-test] Nothing -> case fp of
2112.72 s
[opt-env-conf-test] [] -> do
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2112.72 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2112.72 s
[opt-env-conf-test] _ -> pure []
2112.72 s
[opt-env-conf-test] - Just (Abs ad) -> do
2112.72 s
[opt-env-conf-test] - (ds, _) <- listDirForgiving ad
2112.72 s
[opt-env-conf-test] - pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2112.72 s
[opt-env-conf-test] Just (Rel rd) -> do
2112.72 s
[opt-env-conf-test] let ad = baseDir </> rd
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2112.72 s
[opt-env-conf-test] pure (map (fromRelDir . (rd </>)) $ filter (not . hiddenRel) ds)
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] dirsFromPartialListing <- case parseSomeDir fp of
2112.72 s
[opt-env-conf-test] Nothing -> pure []
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:158:18-21
2112.72 s
[opt-env-conf-test] @@ -155,11 +155,10 @@
2112.72 s
[opt-env-conf-test] fmap (filterPrefix fp' . map (addPrefix prefix . dirResult)) $ do
2112.72 s
[opt-env-conf-test] let listDirForgiving d = fromMaybe ([], []) <$> forgivingAbsence (listDirRel d)
2112.72 s
[opt-env-conf-test] dirsFromParentListing <- case parseSomeDir fp of
2112.72 s
[opt-env-conf-test] Nothing -> case fp of
2112.72 s
[opt-env-conf-test] [] -> do
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirRel baseDir
2112.72 s
[opt-env-conf-test] pure (map fromRelDir $ filter (not . hiddenRel) ds)
2112.72 s
[opt-env-conf-test] - _ -> pure []
2112.72 s
[opt-env-conf-test] Just (Abs ad) -> do
2112.72 s
[opt-env-conf-test] (ds, _) <- listDirForgiving ad
2112.72 s
[opt-env-conf-test] pure (map (fromAbsDir . (ad </>)) $ filter (not . hiddenRel) ds)
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completer.hs:267:22-44
2112.72 s
[opt-env-conf-test] @@ -264,7 +264,6 @@
2112.72 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
2112.72 s
[opt-env-conf-test] in case rest of
2112.72 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
2112.72 s
[opt-env-conf-test] - _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
2112.72 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:267:29-43
2112.72 s
[opt-env-conf-test] @@ -264,7 +264,7 @@
2112.72 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
2112.72 s
[opt-env-conf-test] in case rest of
2112.72 s
[opt-env-conf-test] [] -> [seg | not (null seg)]
2112.72 s
[opt-env-conf-test] - _ : rest' -> [seg | n o t (n u l l s e g ) ] <> splitOnSlash rest'
2112.72 s
[opt-env-conf-test] + _ : rest' -> [seg | T r u e ] <> splitOnSlash rest'
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
2112.72 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Completer.hs:266:15-37
2112.72 s
[opt-env-conf-test] @@ -263,7 +263,6 @@
2112.72 s
[opt-env-conf-test] splitOnSlash s =
2112.72 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
2112.72 s
[opt-env-conf-test] in case rest of
2112.72 s
[opt-env-conf-test] - [] -> [seg | not (null seg)]
2112.72 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Completer.hs:266:22-36
2112.72 s
[opt-env-conf-test] @@ -263,7 +263,7 @@
2112.72 s
[opt-env-conf-test] splitOnSlash s =
2112.72 s
[opt-env-conf-test] let (seg, rest) = break (== '/') s
2112.72 s
[opt-env-conf-test] in case rest of
2112.72 s
[opt-env-conf-test] - [] -> [seg | n o t (n u l l s e g ) ]
2112.72 s
[opt-env-conf-test] + [] -> [seg | T r u e ]
2112.72 s
[opt-env-conf-test] _ : rest' -> [seg | not (null seg)] <> splitOnSlash rest'
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Completer.hs:272:22-22
2112.72 s
[opt-env-conf-test] @@ -269,9 +269,8 @@
2112.72 s
[opt-env-conf-test] -- | Apply a single path component to an absolute directory.
2112.72 s
[opt-env-conf-test] applyComponent :: Path Abs Dir -> String -> Path Abs Dir
2112.72 s
[opt-env-conf-test] applyComponent d ".." = parent d
2112.72 s
[opt-env-conf-test] applyComponent d c = case parseRelDir c of
2112.72 s
[opt-env-conf-test] - Nothing -> d
2112.72 s
[opt-env-conf-test] Just rd -> d </> rd
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] filterPrefix :: String -> [CompletionResult] -> [CompletionResult]
2112.72 s
[opt-env-conf-test] filterPrefix s = filter ((s `isPrefixOf`) . completionResultValue)
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:370:15-16
2112.72 s
[opt-env-conf-test] @@ -367,11 +367,10 @@
2112.72 s
[opt-env-conf-test] | not (null commandDocs)
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] concat
2112.72 s
[opt-env-conf-test] [ [ headerChunks "Options",
2112.72 s
[opt-env-conf-test] renderLongOptDocs optDocs
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] - | not (nullDocs optDocs)
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] concat
2112.72 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
2112.72 s
[opt-env-conf-test] renderEnvDocs envDocs
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:373:17-39
2112.72 s
[opt-env-conf-test] @@ -370,7 +370,7 @@
2112.72 s
[opt-env-conf-test] [ [ headerChunks "Options",
2112.72 s
[opt-env-conf-test] renderLongOptDocs optDocs
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
2112.72 s
[opt-env-conf-test] + | Tr u e
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] concat
2112.72 s
[opt-env-conf-test] [ [ headerChunks "Environment Variables",
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveAction at src/OptEnvConf/Doc.hs:329:15-16
2112.72 s
[opt-env-conf-test] @@ -326,11 +326,10 @@
2112.72 s
[opt-env-conf-test] | not (null commandDocs)
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] concat
2112.72 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
2112.72 s
[opt-env-conf-test] renderLongOptDocs optDocs
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] - | not (nullDocs optDocs)
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] concat
2112.72 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
2112.72 s
[opt-env-conf-test] renderEnvDocs envDocs
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:332:17-39
2112.72 s
[opt-env-conf-test] @@ -329,7 +329,7 @@
2112.72 s
[opt-env-conf-test] [ [ [".Sh ", "OPTIONS"],
2112.72 s
[opt-env-conf-test] renderLongOptDocs optDocs
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] - | n o t ( n u l lDo cs opt Doc s )
2112.72 s
[opt-env-conf-test] + | Tr u e
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] concat
2112.72 s
[opt-env-conf-test] [ [ [".Sh ", "ENVIRONMENT VARIABLES"],
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:568:9-20
2112.72 s
[opt-env-conf-test] @@ -565,21 +565,20 @@
2112.72 s
[opt-env-conf-test] [] -> []
2112.72 s
[opt-env-conf-test] [d] -> go isTopLevel d
2112.72 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2112.72 s
[opt-env-conf-test] case setDocHelp d of
2112.72 s
[opt-env-conf-test] - Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2112.72 s
[opt-env-conf-test] Just h ->
2112.72 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2112.72 s
[opt-env-conf-test] in concat
2112.72 s
[opt-env-conf-test] [ concat
2112.72 s
[opt-env-conf-test] [ concat
2112.72 s
[opt-env-conf-test] [ indent $ renderSetDocHeader (Just h),
2112.72 s
[opt-env-conf-test] indent $ concatMap renderSetDocWithoutHeader $ d : sds,
2112.72 s
[opt-env-conf-test] [[]]
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] | not isTopLevel
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] goOr isTopLevel rest
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
2112.72 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
2112.72 s
[opt-env-conf-test] goSameHelp h = \case
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:581:26-36
2112.72 s
[opt-env-conf-test] @@ -578,7 +578,7 @@
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] | not isTopLevel
2112.72 s
[opt-env-conf-test] ],
2112.72 s
[opt-env-conf-test] - goOr i s T o pL e v e l rest
2112.72 s
[opt-env-conf-test] + goOr T ru e rest
2112.72 s
[opt-env-conf-test] ]
2112.72 s
[opt-env-conf-test] (d : ds) -> go isTopLevel d ++ goOr isTopLevel ds
2112.72 s
[opt-env-conf-test] goSameHelp :: Help -> [AnyDocs SetDoc] -> ([SetDoc], [AnyDocs SetDoc])
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] Negate at src/OptEnvConf/Doc.hs:566:17-27
2112.72 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
2112.72 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
2112.72 s
[opt-env-conf-test] goOr isTopLevel = \case
2112.72 s
[opt-env-conf-test] [] -> []
2112.72 s
[opt-env-conf-test] - [d] -> g o isTopLevel d
2112.72 s
[opt-env-conf-test] + [d] -> g o n o t ( isTopLevel ) d
2112.72 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2112.72 s
[opt-env-conf-test] case setDocHelp d of
2112.72 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:566:17-27
2112.72 s
[opt-env-conf-test] @@ -563,7 +563,7 @@
2112.72 s
[opt-env-conf-test] goOr :: Bool -> [AnyDocs SetDoc] -> [[Chunk]]
2112.72 s
[opt-env-conf-test] goOr isTopLevel = \case
2112.72 s
[opt-env-conf-test] [] -> []
2112.72 s
[opt-env-conf-test] - [d] -> go i s T o pL e v e l d
2112.72 s
[opt-env-conf-test] + [d] -> go T ru e d
2112.72 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2112.72 s
[opt-env-conf-test] case setDocHelp d of
2112.72 s
[opt-env-conf-test] Nothing -> go isTopLevel (AnyDocsSingle d) ++ goOr isTopLevel ds
2112.72 s
[opt-env-conf-test]
2112.72 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:588:12-34
2112.72 s
[opt-env-conf-test] @@ -585,7 +585,7 @@
2112.72 s
[opt-env-conf-test] goSameHelp h = \case
2112.73 s
[opt-env-conf-test] [] -> ([], [])
2112.73 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2112.73 s
[opt-env-conf-test] - if s e tDo cHelp d = = J u s t h
2112.73 s
[opt-env-conf-test] + if T r u e
2112.73 s
[opt-env-conf-test] then
2112.73 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2112.73 s
[opt-env-conf-test] in (d : sds, rest)
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:532:13-50
2112.73 s
[opt-env-conf-test] @@ -529,12 +529,11 @@
2112.73 s
[opt-env-conf-test] [] -> []
2112.73 s
[opt-env-conf-test] [d] -> [go' d]
2112.73 s
[opt-env-conf-test] (AnyDocsSingle d : ds) ->
2112.73 s
[opt-env-conf-test] case setDocHelp d of
2112.73 s
[opt-env-conf-test] - Nothing -> go' (AnyDocsSingle d) : goOr' ds
2112.73 s
[opt-env-conf-test] Just h ->
2112.73 s
[opt-env-conf-test] let (sds, rest) = goSameHelp h ds
2112.73 s
[opt-env-conf-test] ne = d :| sds
2112.73 s
[opt-env-conf-test] in AnyDocsSingle ne : goOr' rest
2112.73 s
[opt-env-conf-test] (d : ds) -> go' d : goOr' ds
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] renderCommandDocs :: AnyDocs (Maybe SetDoc) -> [Chunk]
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:259:17-26
2112.73 s
[opt-env-conf-test] @@ -256,18 +256,16 @@
2112.73 s
[opt-env-conf-test] concat
2112.73 s
[opt-env-conf-test] [ concatMap
2112.73 s
[opt-env-conf-test] ( \(key, schema) ->
2112.73 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
2112.73 s
[opt-env-conf-test] - [line] ->
2112.73 s
[opt-env-conf-test] - [["config: ", confValChunk key, ": "] ++ line]
2112.73 s
[opt-env-conf-test] ls ->
2112.73 s
[opt-env-conf-test] ["config:"]
2112.73 s
[opt-env-conf-test] : indent
2112.73 s
[opt-env-conf-test] ( case ls of
2112.73 s
[opt-env-conf-test] [] -> [["TODO"]]
2112.73 s
[opt-env-conf-test] (l : ll) ->
2112.73 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
2112.73 s
[opt-env-conf-test] : indent ll
2112.73 s
[opt-env-conf-test] )
2112.73 s
[opt-env-conf-test] )
2112.73 s
[opt-env-conf-test] (NE.toList confs)
2112.73 s
[opt-env-conf-test] | confs <- maybeToList setDocConfKeys
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:265:27-44
2112.73 s
[opt-env-conf-test] @@ -262,11 +262,10 @@
2112.73 s
[opt-env-conf-test] ls ->
2112.73 s
[opt-env-conf-test] ["config:"]
2112.73 s
[opt-env-conf-test] : indent
2112.73 s
[opt-env-conf-test] ( case ls of
2112.73 s
[opt-env-conf-test] - [] -> [["TODO"]]
2112.73 s
[opt-env-conf-test] (l : ll) ->
2112.73 s
[opt-env-conf-test] ([confValChunk key, ": "] ++ l)
2112.73 s
[opt-env-conf-test] : indent ll
2112.73 s
[opt-env-conf-test] )
2112.73 s
[opt-env-conf-test] )
2112.73 s
[opt-env-conf-test] (NE.toList confs)
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:661:30-18
2112.73 s
[opt-env-conf-test] @@ -658,29 +658,28 @@
2112.73 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2112.73 s
[opt-env-conf-test] [] -> Nothing
2112.73 s
[opt-env-conf-test] cs -> Just $ bracketise $ unwordsChunks $ intersperse [orChunk] cs
2112.73 s
[opt-env-conf-test] AnyDocsSingle mOd -> case mOd of
2112.73 s
[opt-env-conf-test] - Nothing -> Nothing
2112.73 s
[opt-env-conf-test] Just OptDoc {..} ->
2112.73 s
[opt-env-conf-test] Just
2112.73 s
[opt-env-conf-test] $ ( if isJust optDocDefault
2112.73 s
[opt-env-conf-test] then bracketise
2112.73 s
[opt-env-conf-test] else id
2112.73 s
[opt-env-conf-test] )
2112.73 s
[opt-env-conf-test] $ unwordsChunks
2112.73 s
[opt-env-conf-test] $ concat
2112.73 s
[opt-env-conf-test] [ [ [mMetavarChunk optDocMetavar]
2112.73 s
[opt-env-conf-test] | optDocTryArgument
2112.73 s
[opt-env-conf-test] ],
2112.73 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds
2112.73 s
[opt-env-conf-test] | optDocTrySwitch
2112.73 s
[opt-env-conf-test] ],
2112.73 s
[opt-env-conf-test] [ concat
2112.73 s
[opt-env-conf-test] [ concat $ maybeToList $ dashedChunks optDocDasheds,
2112.73 s
[opt-env-conf-test] [" ", mMetavarChunk optDocMetavar]
2112.73 s
[opt-env-conf-test] ]
2112.73 s
[opt-env-conf-test] | optDocTryOption
2112.73 s
[opt-env-conf-test] ]
2112.73 s
[opt-env-conf-test] ]
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] orChunk :: Chunk
2112.73 s
[opt-env-conf-test] orChunk = fore cyan "|"
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
2112.73 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
2112.73 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
2112.73 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
2112.73 s
[opt-env-conf-test] AnyDocsAnd ds ->
2112.73 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2112.73 s
[opt-env-conf-test] [] -> Nothing
2112.73 s
[opt-env-conf-test] - [c] -> Just c
2112.73 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2112.73 s
[opt-env-conf-test] AnyDocsOr ds ->
2112.73 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2112.73 s
[opt-env-conf-test] [] -> Nothing
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:653:11-77
2112.73 s
[opt-env-conf-test] @@ -650,10 +650,9 @@
2112.73 s
[opt-env-conf-test] Nothing -> Just ["COMMAND"]
2112.73 s
[opt-env-conf-test] Just _ -> Just ["[COMMAND]"]
2112.73 s
[opt-env-conf-test] AnyDocsAnd ds ->
2112.73 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2112.73 s
[opt-env-conf-test] - [] -> Nothing
2112.73 s
[opt-env-conf-test] [c] -> Just c
2112.73 s
[opt-env-conf-test] cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2112.73 s
[opt-env-conf-test] AnyDocsOr ds ->
2112.73 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2112.73 s
[opt-env-conf-test] [] -> Nothing
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Doc.hs:656:30-31
2112.73 s
[opt-env-conf-test] @@ -653,7 +653,7 @@
2112.73 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2112.73 s
[opt-env-conf-test] [] -> Nothing
2112.73 s
[opt-env-conf-test] [c] -> Just c
2112.73 s
[opt-env-conf-test] - cs -> Just $ (if b then parenthesise else id) $ unwordsChunks cs
2112.73 s
[opt-env-conf-test] + cs -> Just $ (if F a ls e then parenthesise else id) $ unwordsChunks cs
2112.73 s
[opt-env-conf-test] AnyDocsOr ds ->
2112.73 s
[opt-env-conf-test] case mapMaybe (go False) (withoutNothings ds) of
2112.73 s
[opt-env-conf-test] [] -> Nothing
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] BoolLit at src/OptEnvConf/Doc.hs:637:38-43
2112.73 s
[opt-env-conf-test] @@ -634,7 +634,7 @@
2112.73 s
[opt-env-conf-test] withoutNothings =
2112.73 s
[opt-env-conf-test] filter
2112.73 s
[opt-env-conf-test] ( \case
2112.73 s
[opt-env-conf-test] - AnyDocsSingle Nothing -> F al s e
2112.73 s
[opt-env-conf-test] + AnyDocsSingle Nothing -> T ru e
2112.73 s
[opt-env-conf-test] AnyDocsAnd [] -> False
2112.73 s
[opt-env-conf-test] AnyDocsOr [] -> False
2112.73 s
[opt-env-conf-test] _ -> True
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Doc.hs:822:13-52
2112.73 s
[opt-env-conf-test] @@ -819,11 +819,9 @@
2112.73 s
[opt-env-conf-test] [exampleValuesChunks confDocExamples | not (null confDocExamples)],
2112.73 s
[opt-env-conf-test] concatMap
2112.73 s
[opt-env-conf-test] ( \(key, schema) ->
2112.73 s
[opt-env-conf-test] case jsonSchemaChunkLines schema of
2112.73 s
[opt-env-conf-test] - [line] ->
2112.73 s
[opt-env-conf-test] - [[confValChunk key, ": "] ++ line]
2112.73 s
[opt-env-conf-test] ls ->
2112.73 s
[opt-env-conf-test] [confValChunk key, ":"] : indent ls
2112.73 s
[opt-env-conf-test] )
2112.73 s
[opt-env-conf-test] (NE.toList confDocKeys)
2112.73 s
[opt-env-conf-test] ]
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:67:3-96
2112.73 s
[opt-env-conf-test] @@ -64,10 +64,8 @@
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] parserLintTest :: Parser a -> IO ()
2112.73 s
[opt-env-conf-test] parserLintTest parser =
2112.73 s
[opt-env-conf-test] case lintParser parser of
2112.73 s
[opt-env-conf-test] Nothing -> pure ()
2112.73 s
[opt-env-conf-test] - Just errs ->
2112.73 s
[opt-env-conf-test] - expectationFailure $ T.unpack $ renderChunksText With24BitColours $ renderLintErrors errs
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] settingsParserArgsTest :: (Show a, Eq a, HasParser a) => [String] -> a -> IO ()
2112.73 s
[opt-env-conf-test] settingsParserArgsTest = parserArgsTest settingsParser
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] RemoveCase at src/OptEnvConf/Test.hs:149:13-24
2112.73 s
[opt-env-conf-test] @@ -146,14 +146,13 @@
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] generatedFileComment :: CallStack -> T.Text
2112.73 s
[opt-env-conf-test] generatedFileComment cs =
2112.73 s
[opt-env-conf-test] let loc = case getCallStack cs of
2112.73 s
[opt-env-conf-test] (_, srcLoc) : _ ->
2112.73 s
[opt-env-conf-test] packageName (Stack.srcLocPackage srcLoc)
2112.73 s
[opt-env-conf-test] <> ":"
2112.73 s
[opt-env-conf-test] <> Stack.srcLocFile srcLoc
2112.73 s
[opt-env-conf-test] <> ":"
2112.73 s
[opt-env-conf-test] <> show (Stack.srcLocStartLine srcLoc)
2112.73 s
[opt-env-conf-test] - [] -> "unknown"
2112.73 s
[opt-env-conf-test] in T.pack $
2112.73 s
[opt-env-conf-test] unlines $
2112.73 s
[opt-env-conf-test] map
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:19-84
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) & & elem '.' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) | | elem '.' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] LogicOp at src/OptEnvConf/Test.hs:180:35-84
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v & & all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v | | all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-84
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) && e l em '.' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) && T r u e
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:49-84
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && a l l (\c - > i s Di g it c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && Tru e
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-81
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igit c || c == '. ' ) v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue ) v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:73-81
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || c == ' . ' ) v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> isDigit c || T ru e ) v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:60-69
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) && elem '.' v && all (\c -> isD igi t c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) && elem '.' v && all (\c -> T r ue || c == '.') v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:35-45
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not (null v) && e l e m '. ' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = not (null v) && T ru e && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:19-31
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = n o t (n u l l v) && elem '.' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = T r u e && elem '.' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:23-31
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.73 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.73 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.73 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test] + isVersion v = not Fa l s e && elem '.' v && all (\c -> isDigit c || c == '.') v
2112.73 s
[opt-env-conf-test]
2112.73 s
[opt-env-conf-test] ConstBool at src/OptEnvConf/Test.hs:180:24-30
2112.73 s
[opt-env-conf-test] @@ -177,4 +177,4 @@
2112.73 s
[opt-env-conf-test] where
2112.74 s
[opt-env-conf-test] version = takeWhile (\c -> isDigit c || c == '.') rest
2112.74 s
[opt-env-conf-test] go (c : rest) = c : go rest
2112.74 s
[opt-env-conf-test] - isVersion v = not ( n u l l v ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2112.74 s
[opt-env-conf-test] + isVersion v = not ( F a l s e ) && elem '.' v && all (\c -> isDigit c || c == '.') v
2112.74 s
[opt-env-conf-test] checkPhase completed in 27 minutes 48 seconds
2112.74 s
[opt-env-conf-test] Phase: haddockPhase
2112.74 s
[opt-env-conf-test] Phase: installPhase
2112.74 s
[opt-env-conf-test] Installing library in /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/opt-env-conf-test-0.0.0.4-3WilUK79pGbKEOnYVCQCp5
2112.95 s
[opt-env-conf-test] Phase: fixupPhase
2112.97 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4
2112.98 s
[opt-env-conf-test] shrinking /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4/lib/ghc-9.10.3/lib/x86_64-linux-ghc-9.10.3-05f6/libHSopt-env-conf-test-0.0.0.4-3WilUK79pGbKEOnYVCQCp5-ghc9.10.3.so
2113.01 s
[opt-env-conf-test] shrinking /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4/bin/opt-env-conf-test
2113.04 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4...
2113.08 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4
2113.08 s
[opt-env-conf-test] stripping (with command strip and flags -S -p) in /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4/lib /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4/bin
2113.16 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/krf5j3msrd398pmg9711psc83m0bzl39-opt-env-conf-test-0.0.0.4-manifest
2113.17 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/krf5j3msrd398pmg9711psc83m0bzl39-opt-env-conf-test-0.0.0.4-manifest...
2113.18 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/krf5j3msrd398pmg9711psc83m0bzl39-opt-env-conf-test-0.0.0.4-manifest
2113.19 s
[opt-env-conf-test] shrinking RPATHs of ELF executables and libraries in /nix/store/3m2m0sr1y9h4fq5v0c002xdvm9826fs4-opt-env-conf-test-0.0.0.4-report
2113.26 s
[opt-env-conf-test] checking for references to /build/ in /nix/store/3m2m0sr1y9h4fq5v0c002xdvm9826fs4-opt-env-conf-test-0.0.0.4-report...
2113.34 s
[opt-env-conf-test] patching script interpreter paths in /nix/store/3m2m0sr1y9h4fq5v0c002xdvm9826fs4-opt-env-conf-test-0.0.0.4-report
2113.51 s
[post-build-hook] Uploading to cachix cache "sydtest": /nix/store/3m2m0sr1y9h4fq5v0c002xdvm9826fs4-opt-env-conf-test-0.0.0.4-report /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4 /nix/store/krf5j3msrd398pmg9711psc83m0bzl39-opt-env-conf-test-0.0.0.4-manifest
2114.15 s
[post-build-hook] Pushing 3 paths (268 are already present) using zstd to cache sydtest ⏳
2114.15 s
[post-build-hook]
2114.52 s
[post-build-hook] Pushing /nix/store/krf5j3msrd398pmg9711psc83m0bzl39-opt-env-conf-test-0.0.0.4-manifest (33.58 KiB)
2114.53 s
[post-build-hook] Pushing /nix/store/3m2m0sr1y9h4fq5v0c002xdvm9826fs4-opt-env-conf-test-0.0.0.4-report (2.93 MiB)
2114.54 s
[post-build-hook] Pushing /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4 (15.02 MiB)
2116.24 s
[post-build-hook]
2116.24 s
[post-build-hook] All done.
2116.26 s
[post-build-hook] Uploading to the NixCI staging cache: /nix/store/3m2m0sr1y9h4fq5v0c002xdvm9826fs4-opt-env-conf-test-0.0.0.4-report /nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4 /nix/store/krf5j3msrd398pmg9711psc83m0bzl39-opt-env-conf-test-0.0.0.4-manifest
2116.31 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
2116.68 s
[post-build-hook] copying 3 paths...
2116.68 s
[post-build-hook] copying path '/nix/store/krf5j3msrd398pmg9711psc83m0bzl39-opt-env-conf-test-0.0.0.4-manifest' to 'https://cache.staging.nix-ci.com'...
2116.68 s
[post-build-hook] copying path '/nix/store/3m2m0sr1y9h4fq5v0c002xdvm9826fs4-opt-env-conf-test-0.0.0.4-report' to 'https://cache.staging.nix-ci.com'...
2116.68 s
[post-build-hook] copying path '/nix/store/kg6vc3ciivlcjplr4j87pcag4c9fllqp-opt-env-conf-test-0.0.0.4' to 'https://cache.staging.nix-ci.com'...
2120.58 s
[post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
2120.80 s
[post-build-hook] copying 1 paths...
2121.20 s
[post-build-hook] copying path '/nix/store/ia3vvp6ack61n1s2pbjryxcwym6pq0sq-opt-env-conf-test-0.0.0.4.drv' to 'https://cache.staging.nix-ci.com'...
2121.20 s
Progress: 8 of 9 built