Oh! I see it's already done. Thanks much!


On Thu, Jan 3, 2013 at 11:55 AM, Conal Elliott <conal@conal.net> wrote:
Yes, please do add a flag to suppress this duplicate constraints warning, e.g., "-fno-warn-duplicate-constraints".

Thanks!  -- Conal


On Mon, Dec 31, 2012 at 9:27 AM, Simon Peyton-Jones <simonpj@microsoft.com> wrote:

Hmm.  Actually there isn’t a flag to suppress it, I’m afraid. Would you like me to add one? (It would be easy to do.)


Simon

 

From: glasgow-haskell-users-bounces@haskell.org [mailto:glasgow-haskell-users-bounces@haskell.org] On Behalf Of Conal Elliott
Sent: 30 December 2012 19:56
To: glasgow-haskell-users@haskell.org
Subject: Suppress "Duplicate constraints" warning?

 

Is there a way to suppress GHC's "Duplicate constraints" warning? I'm auto-generating some code, and it's a lot more convenient for me to leave the duplicates than filter them out.

-- Conal