1
1
mirror of https://github.com/github/semantic.git synced 2025-01-03 13:02:37 +03:00

Eta-reduce.

This commit is contained in:
Rob Rix 2018-04-04 10:33:06 -04:00
parent cf315e2b26
commit 744e5632ed

View File

@ -207,7 +207,7 @@ runTaskWithOptions options task = do
parBitraversable strat1 strat2 = bitraverse (rparWith strat1) (rparWith strat2)
logError :: Member Telemetry effs => Options -> Level -> Blob -> Error.Error String -> [(String, String)] -> Eff effs ()
logError Options{..} level blob err pairs = writeLog level (Error.formatError optionsPrintSource (optionsIsTerminal && optionsEnableColour) blob err) pairs
logError Options{..} level blob err = writeLog level (Error.formatError optionsPrintSource (optionsIsTerminal && optionsEnableColour) blob err)
runParser :: Members '[Reader Options, Telemetry, Exc SomeException, IO] effs => Blob -> Parser term -> Eff effs term
runParser blob@Blob{..} parser = case parser of