Skip to content

Conversation

@jhb563
Copy link
Collaborator

@jhb563 jhb563 commented Aug 24, 2021

Use Reader monad over our config

Many functions follow the pattern of ProgramConfig -> ... -> IO a. This changes them to instead use ReaderT IO ProgramConfig a. This provides more semantic clarity around the role of the Config, and simplifies many function calls.

@MondayMorningHaskell
Copy link
Owner

LGTM

@jhb563 jhb563 merged commit 852c6eb into master Aug 24, 2021
@jhb563 jhb563 deleted the config-reader branch August 24, 2021 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants