Infrastructure synergy
In this section, we have seen how cats defines its type classes and how it can be used in functional programming. The main points to understand about the Cats library are regarding the supporting infrastructure that it provides to you as a functional programmer, and how exactly to use it in practice.
The supporting infrastructure in questions provides a set of the type classes, their implementations for the commonly encountered data types, and a mechanism to inject their methods into your effect types. Also, cats provides a set of commonly encountered effect types.
The library is very modular, and you can use various parts of it independently from the rest of the library. So, it is a good strategy for beginner programmers ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access