Sample code for blog post on combined state and either monad
-
Updated
Oct 7, 2017 - Scala
Sample code for blog post on combined state and either monad
A little helpers class using Cats EitherT to make better for comprehension
Better Either is a set of experimental micro-libraries to work with Either from the standard library.
A simple example of functional approach: validation of input events
Add a description, image, and links to the either-monad topic page so that developers can more easily learn about it.
To associate your repository with the either-monad topic, visit your repo's landing page and select "manage topics."