Adding an ignore function to Control.Monad

Sittampalam, Ganesh ganesh.sittampalam at
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?



 Please access the attached hyperlink for an important electronic communications disclaimer: 

More information about the Libraries mailing list