[Haskell-beginners] Maybe monad and computations

Emmanuel Touzery etouzery at gmail.com
Sat Sep 7 10:01:14 CEST 2013


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.
On Sep 7, 2013 9:50 AM, "Daniel Trstenjak" <daniel.trstenjak at gmail.com>
wrote:

> > 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20130907/e2e804fb/attachment.htm>


More information about the Beginners mailing list