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