What exactly is a Monad?
- by WeNeedAnswers
Can someone please explain to me what a Monad is. I think I grasp Monoids and I grasp that they basically control the input of state into a system.
I just look at the text in Haskell and glaze over. A simple example in python would be great.
My current understanding is that a Monoid is a procedural piece of code that needs to be read from top to bottom in sequence with the output being the input for the function.
I think that I may even got that wrong, but hey I am here to learn.