mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-30 02:14:01 +03:00
.. | ||
bin | ||
src/FirstApp | ||
tests | ||
appconfig.json | ||
changelog.md | ||
default.nix | ||
level06.cabal | ||
level06.nix | ||
LICENCE | ||
README.md | ||
Setup.hs | ||
test.json |
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
.