From c8650e0d10416fb5064050e6598b0cfea943bb48 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 12 Nov 2016 13:54:48 -0800 Subject: [PATCH] comment --- hledger-lib/Hledger/Read/Common.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hledger-lib/Hledger/Read/Common.hs b/hledger-lib/Hledger/Read/Common.hs index bc863a017..c30cef5be 100644 --- a/hledger-lib/Hledger/Read/Common.hs +++ b/hledger-lib/Hledger/Read/Common.hs @@ -68,8 +68,8 @@ rejp = runErroringJournalParser genericSourcePos :: SourcePos -> GenericSourcePos genericSourcePos p = GenericSourcePos (sourceName p) (fromIntegral . unPos $ sourceLine p) (fromIntegral . unPos $ sourceColumn p) --- | Given a parsec ParsedJournal parser, file path and data string, --- parse and post-process a ready-to-use Journal, or give an error. +-- | Given a megaparsec ParsedJournal parser, balance assertion flag, file +-- path and file content: parse and post-process a Journal, or give an error. parseAndFinaliseJournal :: ErroringJournalParser ParsedJournal -> Bool -> FilePath -> Text -> ExceptT String IO Journal parseAndFinaliseJournal parser assrt f txt = do t <- liftIO getClockTime