Actually there are some more orphan instances.  I do not know which are 
important and which are not, but it'd be better to eliminate them.  Would 
someone be willing to take a look?

Thanks

Simon

Data/Array.hs:90:9:
    Warning: orphan instance: instance (Ix i) => Foldable (Array i)

Data/Array.hs:93:9:
    Warning: orphan instance: instance (Ix i) => Traversable (Array i)

Data/Array/IO/Internals.hs:43:60:
    Warning: orphan instance: instance Typeable2 IOArray

Data/Array/IO/Internals.hs:48:9:
    Warning: orphan instance: instance MArray IOArray e IO


Control/Monad/Error.hs:64:9:
    Warning: orphan instance: instance MonadPlus IO

Control/Monad/Error.hs:68:9:
    Warning: orphan instance: instance MonadError IOError IO

Control/Monad/Error.hs:75:9:
    Warning: orphan instance: instance (Error e) => Monad (Either e)

Control/Monad/Error.hs:81:9:
    Warning: orphan instance:
      instance (Error e) => MonadPlus (Either e)

Control/Monad/Error.hs:86:9:
    Warning: orphan instance: instance (Error e) => MonadFix (Either e)

Control/Monad/Error.hs:93:9:
    Warning: orphan instance:
      instance (Error e) => MonadError e (Either e)


Control/Monad/Reader.hs:74:9:
    Warning: orphan instance: instance MonadReader r ((->) r)



| -----Original Message-----
| From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Simon 
Peyton-Jones
| Sent: 01 August 2008 18:08
| To: Ian Lynagh; Simon Marlow
| Cc: [email protected]
| Subject: Orphans
|
| I'm fixing http://hackage.haskell.org/trac/ghc/ticket/2467
|
| But it transpires that arrays/Data/Array.hs has an orphan instance, so it now 
fails validateion
|
| Data/Array.hs:90:9:
|     Warning: orphan instance: instance (Ix i) => Foldable (Array i)
|
| Data/Array.hs:93:9:
|     Warning: orphan instance: instance (Ix i) => Traversable (Array i)
|
|
| What's the best thing to do?
|
| - Remove -Werror for that module (how?)
|
| - Add -fno-warn-orphans for that module (but then we'd forget that there was 
an issue at all)
|
| - Move the instances
|
|
| I don't mind which, but I've got to go home now.
|
| Simon
|
| _______________________________________________
| Cvs-ghc mailing list
| [email protected]
| http://www.haskell.org/mailman/listinfo/cvs-ghc

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to