Re: forcing IO operations

2002-02-20 Thread Andre W B Furtado
liftIOtoMyMonad_ :: IO () - MyMonad () liftIOtoMyMonad_ m = liftIOtoMyMonad' (const m) () I'm having problems compiling this one: The last statement in a 'do' construct must be an expression ___ Haskell mailing list [EMAIL PROTECTED]

Re: forcing IO operations

2002-02-20 Thread Andre W B Furtado
[answering myself...] liftIOtoMyMonad_ :: IO () - MyMonad () liftIOtoMyMonad_ m = liftIOtoMyMonad' (const m) () I'm having problems compiling this one: The last statement in a 'do' construct must be an expression The problem is not related with liftIOtoMyMonad_ , but with

Re: forcing IO operations

2002-02-20 Thread Jay Cox
On Thu, 21 Feb 2002, Andre W B Furtado wrote: liftIOtoMyMonad_ :: IO () - MyMonad () liftIOtoMyMonad_ m = liftIOtoMyMonad' (const m) () I'm having problems compiling this one: The last statement in a 'do' construct must be an expression No problems here using no flags either.