forcing IO operations

Andre W B Furtado [email protected]
Thu, 21 Feb 2002 00:55:18 -0300


> >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"