On 11/23/06, Conor McBride <[EMAIL PROTECTED]> wrote:

*Grr> ifM (Just True) (Just 3) Nothing
Nothing

More care required!

Thank you.  Now that you point this out I recall that I've made this
mistake in the past with (&&), I once wrote something like liftM2
(&&).  I forget that the liftM* family binds the parameters before
passing them on.  Hopefully the lesson will stick this time.

Jason
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to