Monad vs Functor vs Applicative: Functional Containers Summary

In this text, the final summary of my categories theory series, I will use my spotlight and take a closer look at the relations between all three previously described functional containers, namely: Functor, Monad, and Applicative. Below, you will find a comparison of them in terms of: Theory Laws Methods Possibilities & Use Cases Theory … Read more

What Is Applicative?

Applicative is just another concept similar in meaning and history to Functors and Monads. Besides explaining the theory behind it, I will implement a simple Applicative. I will also use Optional, to show what advantages Applicatives may give us. The source code for this article is available in GitHub repository. Why Should We Care About … Read more

What Is Functor?

Functor is a concept originating from mathematics, to be exact, from a part of mathematics called category theory. Here I will try to give you some more insight into Functors — what they are, how they work, and what the theory behind them is. I will also implement a simple Functor to better understand how they work … Read more