Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/battermann/state-monad-example
Sample code for blog post on combined state and either monad
https://github.com/battermann/state-monad-example
either-monad monad-transformers scala state-monad
Last synced: about 2 months ago
JSON representation
Sample code for blog post on combined state and either monad
- Host: GitHub
- URL: https://github.com/battermann/state-monad-example
- Owner: battermann
- License: mit
- Created: 2017-10-06T21:32:19.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-07T22:19:08.000Z (over 7 years ago)
- Last Synced: 2024-10-23T07:24:10.566Z (3 months ago)
- Topics: either-monad, monad-transformers, scala, state-monad
- Language: Scala
- Homepage: http://blog.leifbattermann.de/2017/10/08/error-and-state-handling-with-monad-transformers-in-scala/
- Size: 7.81 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# State Monad Examples in Scala
This repository contains the sample code for [Error and state handling with monad transformers in Scala](http://blog.leifbattermann.de/2017/10/08/error-and-state-handling-with-monad-transformers-in-scala/).
See how Id generation and error handling can be made purely functional by combining the state monad and the either monad with monad transformers in Scala.