Adding an ignore function to Control.Monad
Sittampalam, Ganesh
ganesh.sittampalam at credit-suisse.com
Thu Jun 11 18:21:54 EDT 2009
John Meacham wrote:
>
> And here I always get annoyed by types that specify '()' explicitly
> when a universally quantified type will do. (`when` and `unless` are
> particularly offensive in this regard). Forcing idioms to be more
> verbose than necessary obscures intent.
>
> Do we have any data that accidentally ignoring return values is a
> problem in practice?
On the flip side, could you give some examples where ignoring return
values is useful and natural?
Cheers,
Ganesh
===============================================================================
Please access the attached hyperlink for an important electronic communications disclaimer:
http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
===============================================================================
More information about the Libraries
mailing list