Recap
In this chapter, we started looking at advanced concepts in functional programming. If you have followed along until now, you are no longer a beginner in functional programming!
We analyzed how the functor data structure is a powerful tool that we can use in different ways. This is a really fundamental step to effectively design in a functional way.
A functor is something that allows us to transform types while preserving some properties. This transformation can give us functional effects; for example, separating errors from success is an effect of our Outcome functor.
Then, we looked in detail at how we can use functors to get better error messages, keeping our functions composable without using exceptions.
In the next chapter, we’ll ...
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.
Read now
Unlock full access