I don’t even know any Haskell—I just have a vague idea that a monad is a function that accepts a “state” as part of its input, and returns the same kind of “state” as part of its output. But even so, the punchline was too good to resist making.
I don’t even know any Haskell—I just have a vague idea that a monad is a function that accepts a “state” as part of its input, and returns the same kind of “state” as part of its output. But even so, the punchline was too good to resist making.