Skip to Content
Mastering Functional Programming
book

Mastering Functional Programming

by Anatolii Kmetiuk
August 2018
Intermediate to advanced
380 pages
10h 2m
English
Packt Publishing
Content preview from Mastering Functional Programming

Type classes

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.

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.
Start your free trial

You might also like

Learning Functional Programming

Learning Functional Programming

Jack Widman

Publisher Resources

ISBN: 9781788620796Supplemental Content