
14 Aug
2009
14 Aug
'09
12:55 p.m.
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