
19 Dec
2007
19 Dec
'07
7:38 a.m.
On Dec 19, 2007 11:28 AM, Andre Nathan
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