Hi Andrew,
I haven't used ReaderT. What are the advantages when using ReaderT instead of StateT in this case?
Thanks,
jinwoo
G'day all.Just a suggestion: Store it in a ReaderT instead of a StateT.
Quoting Jinwoo Lee <jinwoo68@gmail.com>:
Thanks everyone!
Now I think using IORef is the most practical way to do this.
Cheers,
Andrew Bromage
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe