On 12/7/06, J. Garrett Morris <[EMAIL PROTECTED]> wrote:

foo :: ErrorT String IO Int

Since ErrorT String IO Int is not the same as IO, you can't use IO
operations directly.  In this case, you want:

<     a <- lift getLine

You want:

<     r <- runErrorT foo


Wow!  I found your help terrific!  Thank you!   Can I give you some money?
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to