Miguel Mitrofanov schrieb: > May be you can explain what do you want to do with this "monad"? Pure educational purpose, just "learning by doing". > What kind of code would you write if it would be such monad? Useless stuff like: s2 = do push 11 push 17 count >>= push binop (+) binop (*) pop