Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored to Monad Stack #51

Merged
merged 2 commits into from Jul 22, 2020
Merged

Conversation

elikoga
Copy link
Contributor

@elikoga elikoga commented Jul 21, 2020

Refactored DiscordHandle -> IO a to DiscordHandler a Monad Transformer Stack

I oriented myself around this guide: https://thoughtbot.com/blog/refactoring-to-a-monad-transformer-stack

This was mentioned in #34

@aquarial
Copy link
Collaborator

I wasn't sure about the mondad stack stuff, but I noticed #34 has 4 thumbs up, seems like a popular request!

I looked over this pr and the changes seem reasonable. I'll merge this, and get up to speed on this stuff. I'll update the Readme and examples on Sunday when I get back home

@aquarial
Copy link
Collaborator

there's a merge conflict. I can't fix it from mobile

@elikoga
Copy link
Contributor Author

elikoga commented Jul 22, 2020

I think the merge conflict should be resolved now

@aquarial
Copy link
Collaborator

Alright

@aquarial aquarial merged commit 95d8814 into discord-haskell:master Jul 22, 2020
@elikoga elikoga mentioned this pull request Jul 22, 2020
@elikoga elikoga deleted the monadStack branch July 22, 2020 16:19
elikoga added a commit to elikoga/discord-haskell that referenced this pull request Jul 22, 2020
aquarial added a commit that referenced this pull request Jul 22, 2020
Updated example in README to reflect #51
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.

None yet

2 participants