mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-27 01:23:00 +03:00
00e02a3f9d
Made the error management for loading the JSON config file work as one might expect it should. Expanded the error reporting expectations to include specific file reading and JSON decoding errors. The difficulties that will be had in handling the multiple either values will motivate latter sections RE ExceptT (EitherT) transformers. However there is nothing here that should be beyond people that do not know how transformers work. Added more doctests to the different moving parts to make things a bit clearer. Added doctests to the cabal files and included a 'doctests.hs' to the tests section. default.nix files have been updated with the bonus dependency.
2 lines
11 B
JSON
2 lines
11 B
JSON
{"foo":33}
|