
Compose Scala service workflows with EitherT and OptionT. Handle optional lookups, typed errors, cache fallback, and effect failures, with a brief guide to other monad...

Compose Scala service workflows with EitherT and OptionT. Handle optional lookups, typed errors, cache fallback, and effect failures, with a brief guide to other monad...

Transform values inside Option, List, and Either with Cats Functor. Build a Page instance, test identity and composition, and understand what map does not guarantee.

Combine values with Cats Semigroup and Monoid. Build a request-summary instance, test its laws, and understand ordering, empty inputs, averages, and retries.

What type classes are, why they help, and how given, using, and context bounds work. Then apply the pattern to Cats Eq, Show, and other...

A practical introduction to functional programming and Cats in Scala: pure functions, type classes, and validation with Either and ValidatedNel.

A focused Odin and Cats Effect example covering composed logging effects, constant context, and safe file-logger resource management.
Scala, JVM, AI. When there's actually something worth reading.
Join the newsletter →Necessary cookies keep the site working. With your permission, I use analytics cookies to understand which articles are useful.