[Haskell-cafe] Is StateT what I need?

Andre Nathan andre at digirati.com.br
Tue Dec 18 19:28:09 EST 2007


On Tue, 2007-12-18 at 16:47 -0200, Andre Nathan wrote:
> I'm trying to finish the process tree construction but I guess I'll need
> some help again.

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 think my code is a bit too long and that probably makes it hard for
someone to help... Does anyone know of good example code using StateT
for keeping a global state other than the one at the "Simple StateT use"
page on the wiki?

Best regards,
Andre



More information about the Haskell-Cafe mailing list