Skip to content
Snippets Groups Projects
Commit 4f70645a authored by Alice Brenon's avatar Alice Brenon
Browse files

Fix naming warning

parent c37c1787
No related branches found
No related tags found
No related merge requests found
......@@ -27,7 +27,7 @@ main :: IO ()
main = getArgs >>= run
where
run [inputMeta, source] =
try (readNamedTsv inputMeta) >>= mapM_ (toJSON source)
try (readNamedTsv inputMeta) >>= mapM_ (printJSON source)
run _ = syntax "INPUT_METADATA SOURCE_DIRECTORY"
toJSON source parMeta =
printJSON source parMeta =
loadParagraph source parMeta >>= ByteString.putStrLn . encode
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment