Adding an ignore function to Control.Monad

Henning Thielemann lemming at
Fri Aug 14 12:55:58 EDT 2009

On Thu, 11 Jun 2009, John Meacham wrote:

> Also, treating '()' specially as 'don't care' as opposed to any other
> unit type doesn't sit right with me either. Sure it is an obvious choice
> for a don't care value, but the fact you can use others is nicely
> consistent with the idea that other than having some syntatic sugar,
> built in types are not special in haskell.

Agreed, it would be certainly better to have a special type like:

data Ignore = Ignore

More information about the Libraries mailing list