September 2023
Intermediate to advanced
470 pages
11h 12m
English
I don’t think it’s weak to admit you made a mistake. That takes strength, if you ask me.
In this chapter, we’ll meet a new type of functor called applicatives. They are particularly useful when we need to use functions with multiple parameters or combine functors together, like our outcomes.
We’ll discover them when working on a new story—renaming a list. Then, we’ll meet them again when we discuss validation for user input for our forms. We’ll look at the concept of applicative functors, and we’ll delve into some of their uses. Applicatives allow us to compose function results in a new way that can be convenient for solving a new kind of problem.
At this point in the book, we’re now ...
Read now
Unlock full access