September 2021
Intermediate to advanced
504 pages
12h 50m
English
This chapter covers
In the previous chapter on monads, we saw how a lot of the functions we’ve been writing for different data types and combinator libraries can be expressed in terms of a single interface, Monad. Monads provide powerful functionality, as we’ve seen by the fact that we can use flatMap to write what seems like an imperative program in a purely functional way.
In this chapter, we learn about a related abstraction, the applicative functor, which ...
Read now
Unlock full access