[Haskell-beginners] how to skip pattern match error when applying a mapM_
daniel.trstenjak at gmail.com
Tue Jan 17 20:36:37 UTC 2017
> now how can I know the behaviour in between the line of a Monad.
> I aimagine that this is the purpose of the bind method (>>=).
Yes, that's the case.
> Where is this defined for Maybe and IO ?
You just look at the Monad instance for the type. IO is a bit special, but
here is the one for Maybe.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Beginners