Ian, or anyone else: re #2467, I can see the following orphan instances in
libraries (below).
Do you think they are all necessary?
Thanks
Simon
libraries/base/Control/Monad/Instances.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/Control/Monad/ST.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/Control/Exception/Base.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/Data/Tuple.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/GHC/Base.lhs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/GHC/Float.lhs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/GHC/IO.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/GHC/Num.lhs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/base/Text/Show/Functions.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs:{-#
OPTIONS_GHC -fno-warn-orphans -fno-warn-name-shadowing #-}
libraries/Cabal/tests/Test/Distribution/Version.hs:{-# OPTIONS_GHC
-fno-warn-orphans -fno-warn-incomplete-patterns #-}
libraries/mtl/Control/Monad/Error.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
-- Temporary, I hope. SLPJ Aug08
libraries/mtl/Control/Monad/Reader.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
-- Temporary, I hope. SLPJ Aug08
libraries/syb/Data/Generics/Instances.hs:{-# OPTIONS_GHC -fno-warn-orphans #-}
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of GHC
Sent: 23 November 2009 08:57
Cc: [email protected]
Subject: Re: [GHC] #2467: orphan instance warnings are badly behaved
#2467: orphan instance warnings are badly behaved
---------------------------+------------------------------------------------
Reporter: duncan | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.14.1
Component: Compiler | Version: 6.8.2
Resolution: | Keywords:
Difficulty: Unknown | Os: Unknown/Multiple
Testcase: | Architecture: Unknown/Multiple
Failure: None/Unknown |
---------------------------+------------------------------------------------
Comment (by simonpj):
There seem to be two things going on in this ticket.
1. Do the instances in `mtl` and `array` have to include orphan
instances? We should investigate and fix or punt.
2. Some reflections on orphan instances in general. Here the discussion
is inconclusive, so we should probably milestone as _|_, leaving the
ticket open so that we don't lose the thoughts.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2467#comment:14>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc