Suppress "Duplicate constraints" warning?

Simon Peyton-Jones simonpj at
Mon Dec 31 18:27:58 CET 2012

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.)


From: glasgow-haskell-users-bounces at [mailto:glasgow-haskell-users-bounces at] On Behalf Of Conal Elliott
Sent: 30 December 2012 19:56
To: glasgow-haskell-users at
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list