1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-11-30 02:14:01 +03:00
applied-fp-course/level06
Sean Chalmers 7b5ca8c97a Image now loads via HTTPS.
Image link in README should no longer trigger 'insecure content' warnings,
the link was reading from a non-HTTPS source.

Other rewordings and minor refactors
2017-09-14 14:01:47 +10:00
..
bin Ugh, ReaderT lesson added. 2017-08-15 16:42:24 +10:00
src/FirstApp Image now loads via HTTPS. 2017-09-14 14:01:47 +10:00
tests Rebuilt Conf File Read Handling 2017-09-12 11:21:27 +10:00
appconfig.json Add guidance about handling requests without persistent storage. 2017-09-11 10:29:56 +10:00
changelog.md change changelog files to lowercase 2017-09-01 11:17:26 +10:00
default.nix Rebuilt Conf File Read Handling 2017-09-12 11:21:27 +10:00
level06.cabal Merge branch 'master' of gitlab.com:qfpl/applied-fp-course 2017-09-12 13:41:26 +10:00
LICENCE update copyright notice 2017-09-12 11:51:26 +10:00
README.md Name changes to Applied name. 2017-09-05 13:53:05 +10:00
Setup.hs Ugh, ReaderT lesson added. 2017-08-15 16:42:24 +10:00
shell.nix Ugh, ReaderT lesson added. 2017-08-15 16:42:24 +10:00
test.json Rebuilt Conf File Read Handling 2017-09-12 11:21:27 +10:00

Level 06

This exercise involves introducing a monad transformer (ReaderT) to our application. The use of the ReaderT in our application is motivated in part by the expansion of the number of inputs to the various functions involved in handling different requests.

Since nearly any given request handler will likely require access to either the general application configuration or the database, it is tedious to have to pass the information in manually in every instance.

Start in src/FirstApp/AppM.hs.