I got an helpful answer on stackoverflow that probably explains it all. Otherwise if i add the type, i'll have to bind it to a concrete monad due to the lack of typeclasses, that's why i didn't put a type. Thanks again.
> I thought I understood it, but looking at the difference in behaviour in the examples I posted, maybe I don't.
I would try to add a type signature for liftM2, perhaps you're than getting a more helpful error message.
Greetings,
Daniel
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners