mirror of
https://github.com/qfpl/applied-fp-course.git
synced 2024-11-26 14:43:53 +03:00
b69770bdbc
Wording and phrasing updates. Some functions changed around a bit to be slightly less 'weird'.
512 B
512 B
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
.