[Haskell-cafe] Reader monad wrapping State monad

Ozgur Akgun ozgurakgun at gmail.com
Thu Feb 3 20:57:24 CET 2011

On 3 February 2011 19:18, michael rice <nowgate at yahoo.com> wrote:

> but how do I get the constant a from the Reader monad?


You also need to change the type to use ReaderT.

Ozgur Akgun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110203/21faa367/attachment.htm>

More information about the Haskell-Cafe mailing list