[Haskell-cafe] Re: [Haskell] Simple IO Regions

Taral taralx at gmail.com
Wed Jan 18 13:03:02 EST 2006

On 1/18/06, Keean Schupke <k.schupke at imperial.ac.uk> wrote:
> up3 is quite easy to define, but it is specific to the monad-transformer
> you are lifting through... see attached for definition for
> the state-monad-transformer.

Ah, you're using undefined for the state. If you're going to do that,
though, why not just have the function provided in the inner monad,
since the features of the transformer are not available?

Taral <taralx at gmail.com>
"Computer science is no more about computers than astronomy is about
    -- Edsger Dijkstra

More information about the Haskell-Cafe mailing list