So far, we have performed a bird's-eye overview of the Cats library and its structure. In this section, we'll have a look at some individual type classes from the Cats library that are frequently used in real-world projects. For every such type class, will take a look at the motivation as to why it exists. We will discuss their methods and behavior in detail. We will also take a look at examples of the usage of the type class. Finally, we will take a look at the implementation of the type class for various effect types, and take a look at how the class is implemented for popular types so that you have an idea of what an implementation of the type class might look like.
Type classes
Monad
Let us have a look at how...