Hi Andrew,
I haven't used ReaderT. What are the advantages when using ReaderT instead of StateT in this case?

Thanks,
jinwoo


On Fri, Apr 4, 2008 at 2:07 PM, <ajb@spamcop.net> wrote:
G'day all.


Quoting Jinwoo Lee <jinwoo68@gmail.com>:

Thanks everyone!
Now I think using IORef is the most practical way to do this.

Just a suggestion: Store it in a ReaderT instead of a StateT.

Cheers,
Andrew Bromage

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe



--
Jinwoo Lee
Always remember that you are unique. Just like everyone else.