[Haskell-cafe] Re: Doing without IORef
Jinwoo Lee
jinwoo68 at gmail.com
Fri Apr 4 05:28:07 EDT 2008
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 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.
>
> Cheers,
> Andrew Bromage
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Jinwoo Lee
Always remember that you are unique. Just like everyone else.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080404/3e5562cf/attachment.htm
More information about the Haskell-Cafe
mailing list