tweak readJournalFiles type signature

This commit is contained in:
Simon Michael 2019-01-15 06:18:43 -08:00
parent 389eaa4c5d
commit 944554557a

View File

@ -171,7 +171,7 @@ findReader Nothing (Just path) =
-- directives & aliases do not affect subsequent sibling or parent files.
-- They do affect included child files though.
-- Also the final parse state saved in the Journal does span all files.
readJournalFiles :: InputOpts -> [FilePath] -> IO (Either String Journal)
readJournalFiles :: InputOpts -> [PrefixedFilePath] -> IO (Either String Journal)
readJournalFiles iopts =
(right mconcat1 . sequence <$>) . mapM (readJournalFile iopts)
where