4 May
2021
4 May
'21
11:31 p.m.
Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> writes:
If 'transformers' purposely has orphan instances, shouldn't we switch off the warnings about them? Simon
We actually do so in Make, but strangely only in the stage2 build (see mk/warnings.mk). It's unclear to me why this is the case. I think the ideal solution is to add an OPTIONS_GHC -Wno-orphans pragma upstream in the affected module, although this would require getting code upstream which is a bit tiresome due it being in darcs. Cheers, - Ben