On Mon, 2008-01-07 at 18:21 +0000, Paul Johnson wrote: > Miguel Mitrofanov wrote: > > > > Yes. It's simply impossible. The Stack data type can't be turned into > > a monad. > Why not? Surely this is just a variation on the theme of a state monad?
I somewhat explain in this reply: http://www.haskell.org/pipermail/haskell-cafe/2008-January/037605.html _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe