Apologies to Alexander for the multiple copies, I forgot to hit 'Reply
to all' again.

On 01/07/06, Alexander Vodomerov <[EMAIL PROTECTED]> wrote:
I've looked through StateT documentation and tutorial, but had not found
any function from StateT X to StateT Y where Y is not the same as X.

Try runState. You'd need to grab the state in your g computation, then
runState f with the nth part of Y.

--
-David House, [EMAIL PROTECTED]
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to