What the Heck Is a Monad

Soroush Khanlou: This is the first important part of a monad. You have to have a way to create one. In this case, the constructor, Maybe.Something, fills that role. In other languages, this is known as unit or the inconveniently-named function return. It’s a function that takes one parameter, and returns a monad that wraps … Continue reading What the Heck Is a Monad