[Haskell-beginners] Global variables
Michael Xavier
nemesisdesign at gmail.com
Wed Jun 29 17:22:36 CEST 2011
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-2.0.1.0
On Wed, Jun 29, 2011 at 7:40 AM, ARJANEN Loïc Jean-David <
arjanen.loic at gmail.com> wrote:
> Hello,
>
> For a pet project I need a global counter, giving how many times a
> given function was called. What would you use for that purpose ?
>
> Loic
>
> _______________________________________________
> Beginners mailing list
> Beginners at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
--
Michael Xavier
http://www.michaelxavier.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110629/2dfeed8f/attachment.htm>
More information about the Beginners
mailing list