Coding Challenge: Using Reader Monad in Function

Learn the usage of Reader monad in a function.

Problem statement

  • Complete the writeToBucket and writeToTable functions. The content of Promise.resolve shows us what’s passed in.
  • Complete the application function, which should pass the uppercased message first to writeToTable and next to writeToBucket.
  • The application function uses the Reader monad to pass dependencies to the write functions, which should also give us an additional clue as to what those two functions should look like.

Complete the code

Get hands-on with 1200+ tech skills courses.