Ok, changed the last line and deleted the bad line. Maybe someone could recommend a better example? Michael ============= Prelude> :l test5 [1 of 1] Compiling Main ( test5.hs, interpreted ) test5.hs:16:4: Occurs check: cannot construct the infinite type: a = Maybe a When generalising the type(s) for `mplus' In the instance declaration for `MonadPlus (MaybeT m)' Failed, modules loaded: none. --- On Sun, 12/26/10, David Menendez <dave@zednenem.com> wrote:
|