State Monad Instance #320
chebert
started this conversation in
Cool Coalton Code
Replies: 1 comment 2 replies
-
|
Could you make it a PR in the standard library? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I implemented a monad instance for a state monad based on: https://wiki.haskell.org/State_Monad
I think it actually went really well so I thought I'd share here as a small success story. I haven't tested it much so it could be wrong in spots. Please let me know and I'll fix it.
Beta Was this translation helpful? Give feedback.
All reactions