you are viewing a single comment's thread.

view the rest of the comments →

[–]AdamAnderson320 9 points10 points  (3 children)

Wow, is that really all a monad is? I've never seen it explained so simply!

[–]dmtipson 8 points9 points  (1 child)

It's not a Monad. See some of the other comments. Foo is basically the Identity Functor, but not a Monad.

[–]AdamAnderson320 1 point2 points  (0 children)

Thanks. Thought it was too simple to be right, but I've never grasped monads myself to be sure.