Derek Elkins <[EMAIL PROTECTED]> wrote: > 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 > Which states that the data structure doesn't support the Monad, or that the Monad can't be implemented using that data structure.
So, see, some stack data type can certainly be turned into a monad, but this Stack data type can't. -- (c) this sig last receiving data processing entity. Inspect headers for past copyright information. All rights reserved. Unauthorised copying, hiring, renting, public performance and/or broadcasting of this signature prohibited. _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
