battermann / State-Monad-Example

Sample code for blog post on combined state and either monad

Home Page:http://blog.leifbattermann.de/2017/10/08/error-and-state-handling-with-monad-transformers-in-scala/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

State Monad Examples in Scala

This repository contains the sample code for 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.

About

Sample code for blog post on combined state and either monad

http://blog.leifbattermann.de/2017/10/08/error-and-state-handling-with-monad-transformers-in-scala/

License:MIT License


Languages

Language:Scala 100.0%