[Haskell-beginners] Global variables

Christopher Done chrisdone at googlemail.com
Wed Jun 29 17:27:35 CEST 2011

On 29 June 2011 17:22, Michael Xavier <nemesisdesign at gmail.com> wrote:
> I tend to use Control.Monad.Reader for stateful stuff like this. It is found
> in the mtl package
> http://hackage.haskell.org/package/mtl-

How would you use reader for a counter?

More information about the Beginners mailing list