What’s in this post?
This post is aimed at the Scala programmer with some experience pure functional programming with the Cats fp library: https://typelevel.org/cats. We will look at Comonads, a type class closely related to Monads, firstly from an abstract point of view and progressing to a couple of practical, yet simple, examples of using Comonads for interesting applications..
Lagom Microservice Framework
At Yoppworks, we often work with clients to build systems using the Lagom microservice framework. Lagom leverages the Akka and Play libraries and one of its compelling features is the Persistent Entity. Persistent entities represent objects in your system that are written to some external storage using event sourcing. They have an identifier that is used by other systems to reference the entity.
Fill in your info below to download your free E-book!