What Is A Monad?

A monad is a concept originating from a part of mathematics called category theory, not a class or trait. In this article, I will try to explain its structure and inner workings. With the use of Optional from Java, I will try to describe all of this in a more understandable way. I will also … Read more