[Haskell-cafe] Reader monad

Ryan Ingram ryani.spam at gmail.com
Wed Dec 29 17:11:19 CET 2010


On Wed, Dec 29, 2010 at 8:06 AM, michael rice <nowgate at yahoo.com> wrote:
> Is there an unparameterizable reader monad?

I'm not sure this is the answer you are looking for, but it seems like the
obvious one.

Pick an "r", say "String".  Now  "Reader String" is an unparameterizable
reader monad that passes around a String.

  -- ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101229/9fab6ce8/attachment.htm>


More information about the Haskell-Cafe mailing list