An introduction to concatting items via the formal Semi-group interface. Semi-groups are simply a type with a concat method that are associative. We define three semigroup instances and see them in action.
Use chain for composable error handling with nested Eithers
We refactor a function that uses try/catch to a single composed expression using Either. We then introduce the chain function to deal with nested Eithers resulting from two try/catch calls.
A collection of Either examples compared to imperative code
A tour of simple functions rewritten as composed expressions using Either set to 8 byte music and colorful flying blocks
A few examples of Semigroup definitions
Ensure failsafe combination using monoids
In this video we define monoids and promote our semigroups