[Haskell-cafe] Re: Doing without IORef
jinwoo68 at gmail.com
Fri Apr 4 05:28:07 EDT 2008
I haven't used ReaderT. What are the advantages when using ReaderT instead
of StateT in this case?
On Fri, Apr 4, 2008 at 2:07 PM, <ajb at spamcop.net> wrote:
> G'day all.
> Quoting Jinwoo Lee <jinwoo68 at 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.
> Andrew Bromage
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
Always remember that you are unique. Just like everyone else.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe