On 18 October 2004 03:03, Ian Lynagh wrote:
> I like to keep my programs warning free, but I don't know of a
> sensible way of silencing
>
> Warning: Pattern match(es) are non-exhaustive
> In a record-update construct: Patterns not matched: Bar
>
> (which is generally intentional) without also silencing useful
> warnings. The attached patch adds a -fwarn-incomplete-record-updates
> that takes over control of this warning from
> -fwarn-incomplete-patterns.
Go for it. You also need to add an entry to the warnings section of the
User's Guide, BTW.
Cheers,
Simon
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc