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

The Cats library for purely functional programming

In this section, we will introduce the library that we will be using for purely functional programming in Scala. It encapsulates frequently encountered type classes, implementations of them for frequently encountered effect types, and some effect types as well.

In this section, we will dive deeper into the structure of the library, and we will see how you can use it in practice. We will be following an example of a Monad type class that we discussed in the previous chapters. We will see how this type class is defined in this library and how it is implemented for its data types.

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