hledger/hledger-lib/Hledger/Read
Jesse Rosenthal a6a73e36e3 Finish removing journalFinalise (#903)
* journal: Get rid of `journalFinalise` and use granular functions

Complete the process started in 53b3e2bd. This gets rid of the
`journalFinalise` function and uses the smaller steps, in order to
have more granular control.

* journal: Change order of operations in finalization

We want to make sure that we add the filepath after the order is
reversed, so the added filepath is on the head and not the tail (as it
would be if it were reversed after it was added).

* journal: Refine granular finalization functions

This commit fixes two of the granular finalization functions:

1. Rename `journalSetTime` to `journalSetLastReadTime` and improve
   documentation.

2. Remove `journalSetFilePath`. It's redundant with `journalAddFile`
   currently in `Hledger.Read.Common`. The only difference between the
   functions is where the file is added (we keep the one in which it
   is added to the tail), so we change the position vis-a-vis
   reversal.
2018-10-16 08:51:51 -07:00
..
Common.hs Finish removing journalFinalise (#903) 2018-10-16 08:51:51 -07:00
CsvReader.hs lib: switch to megaparsec 7 2018-09-30 20:15:12 -06:00
JournalReader.hs lib: journal: account: allow whitespace or a comment after the account name 2018-10-13 13:09:49 -07:00
LedgerReader.hs.disabled lib: Fix compile errors in tests 2018-08-14 16:05:06 +01:00
TimeclockReader.hs lib: switch to megaparsec 7 2018-09-30 20:15:12 -06:00
TimedotReader.hs lib: switch to megaparsec 7 2018-09-30 20:15:12 -06:00