On Dec 19, 2007 11:28 AM, Andre Nathan <[EMAIL PROTECTED]> wrote:
> I guess I could do away with StateT and just pass the PsMap around as a
> parameter, but I guess that wouldn't be the haskell way...

I wouldn't say that. Manual state-passing is a perfectly legitimate
technique, and can be clearer in some cases.

Once your program works with manual state-passing, you might then find
it easier to express using StateT -- or perhaps you'll decide that you
didn't need StateT after all.


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

Reply via email to