On 3 February 2011 19:18, michael rice <nowgate@yahoo.com> wrote:
but how do I get the constant a from the Reader monad?

http://hackage.haskell.org/packages/archive/transformers/latest/doc/html/Control-Monad-Trans-Reader.html#v:ask

You also need to change the type to use ReaderT.

--
Ozgur Akgun