
8 Dec
2006
8 Dec
'06
7:31 a.m.
On 12/7/06, J. Garrett Morris
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?