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

Chapter 8

  1. The type classes repeat from project to project. Hence, it makes sense to unify them into libraries.
  2. foldLeft, foldRight, traverse.
  3. Composition of a list of effectful computations.
  4. flatMap, pure, tailRecM.
  5. Sequential composition of two computations, one of which depends on the result of another.
  6. Core package with type classes, syntax package with rich wrappers to inject syntax into effect types, instances package with the type class implementations for some effect types, data package with effect types for functional programming. Also, Cats has some auxiliary packages for more specific tasks not discussed in the book. Consult Cats documentation to learn about these.
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