Is This a Monad?
References Monad English Wiki: https://en.wikipedia.org/wiki/Monad_(functional_programming) Function English Wiki: https://en.wikipedia.org/wiki/Function_(mathematics) Function Korean Wiki: https://ko.wikipedia.org/wiki/함수 Introduction This time, I want to take a different approach. Instead of explaining what a monad is right away, let’s consider the problems encountered when composing functions, and then present solutions to understand what can be called a monad. So, let’s first revisit what a function is, to improve understanding, and then explain the problematic example. Please note that this post contains personal opinions. As the title suggests, I can’t confidently say “this is a monad!” ...