Using the Reader Monad to Gather Config

Learn to expand our application for gathering config using the Reader monad


In this chapter, we’ll consider some ways in which we can expand our basic, but functional, application. Some ideas will be implemented in their entirety, and others will remain superficial sketches. Let’s again consider the very unfortunate lack of configuration injection in some of our functions. When constructing parameters for retrieving or adding data to DynamoDB, we did this:

Get hands-on with 1200+ tech skills courses.