hledger/hledger-web/Hledger/Web
Stephen Morgan 603b2e9f09 ref: Use ExceptT String IO a instead of IO (Either String a).
This increases composability and avoids some ugly case handling. We
re-export runExceptT in Hledger.Read.

The final return types of the following functions has been changed from
IO (Either String a) to ExceptT String IO a. If this causes a problem,
you can get the old behaviour by calling runExceptT on the output:
readJournal, readJournalFiles, readJournalFile

Or, you can use the easy functions readJournal', readJournalFiles', and
readJournalFile', which assume default options and return in the IO
monad.
2022-03-25 14:23:27 -10:00
..
Handler ref: Use ExceptT String IO a instead of IO (Either String a). 2022-03-25 14:23:27 -10:00
Settings web: Conform layout to the rest of hledger-* packages 2018-06-24 14:18:06 +02:00
Widget ref: Use ExceptT String IO a instead of IO (Either String a). 2022-03-25 14:23:27 -10:00
Application.hs ;web: tests: refactor, add a test for --forecast (#1390) 2020-11-13 16:40:33 -08:00
Foundation.hs ref: Use ExceptT String IO a instead of IO (Either String a). 2022-03-25 14:23:27 -10:00
Import.hs lib,cli,ui,web: Remove unnecessary CPP when dropping support for GHC 8.2. 2021-06-07 17:33:54 -10:00
Main.hs pkg!: Remove Hledger.Utils.UTF8IOCompat module. 2021-08-30 15:57:33 -10:00
Settings.hs cln: hlint: Clean up Maybe related hlint warnings. 2021-08-27 06:13:56 -10:00
Test.hs ref: Use ExceptT String IO a instead of IO (Either String a). 2022-03-25 14:23:27 -10:00
WebOptions.hs lib: simpler more robust version strings, with date/without patchlevel 2021-12-10 12:42:40 -10:00