diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-09-22 14:13:09 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-28 01:53:36 -0400 |
commit | 219f7f5060e64f5f88e65019daa1811342e8b8af (patch) | |
tree | 49e06af76425dc2547f6e94b275a29d295b0b42a /hadrian/src/Hadrian/Oracles/TextFile.hs | |
parent | 1935c42ffb2db800c03ed6b3876eee27a96e9b69 (diff) | |
download | haskell-219f7f5060e64f5f88e65019daa1811342e8b8af.tar.gz |
hadrian: Remove deprecated tracing functions
Diffstat (limited to 'hadrian/src/Hadrian/Oracles/TextFile.hs')
-rw-r--r-- | hadrian/src/Hadrian/Oracles/TextFile.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Hadrian/Oracles/TextFile.hs b/hadrian/src/Hadrian/Oracles/TextFile.hs index ae8182e0dd..c36b3977bc 100644 --- a/hadrian/src/Hadrian/Oracles/TextFile.hs +++ b/hadrian/src/Hadrian/Oracles/TextFile.hs @@ -96,13 +96,13 @@ textFileOracle :: Rules () textFileOracle = do kv <- newCache $ \file -> do need [file] - putLoud $ "| KeyValue oracle: reading " ++ quote file ++ "..." + putVerbose $ "| KeyValue oracle: reading " ++ quote file ++ "..." liftIO $ readConfigFile file void $ addOracleCache $ \(KeyValue (file, key)) -> Map.lookup key <$> kv file kvs <- newCache $ \file -> do need [file] - putLoud $ "| KeyValues oracle: reading " ++ quote file ++ "..." + putVerbose $ "| KeyValues oracle: reading " ++ quote file ++ "..." contents <- map words <$> readFileLines file return $ Map.fromList [ (key, values) | (key:values) <- contents ] void $ addOracleCache $ \(KeyValues (file, key)) -> Map.lookup key <$> kvs file |