[commit: ghc] master: Document -fwarn-auto-orphans (62d1337)

2012-02-10 Thread Simon Peyton Jones
ton Jones Date: Fri Feb 10 11:15:43 2012 + Document -fwarn-auto-orphans >--- docs/users_guide/flags.xml |4 ++-- docs/users_guide/using.xml | 10 -- 2 files changed, 10 insertions(+), 4 deletions(-) diff -

[commit: ghc] master: Comments about orphans (34ab89a)

2011-12-13 Thread Simon Peyton Jones
ton Jones Date: Mon Dec 12 08:10:43 2011 + Comments about orphans >--- compiler/iface/IfaceSyn.lhs | 36 compiler/iface/MkIface.lhs |3 +++ 2 files changed, 35 insertions(+), 4 del

patch applied (ghc-7.0/ghc): Look through type synonyms when computing orphans

2011-02-02 Thread Ian Lynagh
Wed Jan 26 09:12:29 PST 2011 simo...@microsoft.com * Look through type synonyms when computing orphans I renamed functions tyClsNamesOfTypes to oprhNamesOfType, because it's only used in that capacity, and we therefore want to look through type synonyms. Similarly exprOrph

patch applied (ghc): Look through type synonyms when computing orphans

2011-01-26 Thread Simon Peyton Jones
Wed Jan 26 09:12:29 PST 2011 simo...@microsoft.com * Look through type synonyms when computing orphans I renamed functions tyClsNamesOfTypes to oprhNamesOfType, because it's only used in that capacity, and we therefore want to look through type synonyms. Similarly exprOrph

patch applied (ghc): Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas

2009-12-05 Thread Ian Lynagh
Sat Dec 5 08:57:21 PST 2009 Ian Lynagh * Add comments to "OPTIONS_GHC -fno-warn-orphans" pragmas M ./libraries/bin-package-db/Distribution/InstalledPackageInfo/Binary.hs -1 +4 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/2009120516

patch applied (ghc): Improve -fwarn-orphans documentation (thanks to Tim)

2008-08-14 Thread Simon Peyton Jones
Thu Aug 14 08:26:48 PDT 2008 [EMAIL PROTECTED] * Improve -fwarn-orphans documentation (thanks to Tim) M ./docs/users_guide/separate_compilation.xml -1 +7 M ./docs/users_guide/using.xml -1 +2 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20080814152648-1287e

RE: Orphans

2008-08-04 Thread Simon Peyton-Jones
ol/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: cvs-ghc@haskell.org | Subject: O

RE: Orphans

2008-08-04 Thread Simon Peyton-Jones
Yes, it's just a compile time thing. There's no runtime penalty Simon From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sean Leather Sent: 01 August 2008 18:31 To: Simon Peyton-Jones Cc: Ian Lynagh; Simon Marlow; cvs-ghc@haskell.org Subject: Re: Orphans Hi, I

Re: Orphans

2008-08-02 Thread Ian Lynagh
On Fri, Aug 01, 2008 at 06:07:54PM +0100, Simon Peyton-Jones wrote: > > What's the best thing to do? > > - Remove -Werror for that module (how?) (Put -Wwarn in a pragma - although this has the side-effect of also not failing on all other warnings, of course) > - Move the instances Unless there

Re: Orphans

2008-08-02 Thread Ian Lynagh
On Fri, Aug 01, 2008 at 07:31:06PM +0200, Sean Leather wrote: > > The design of a library I'm working on requires orphan modules. After > reading the GHC user's guide, I believe that orphans are (only) a > compile-time performance issue and that they do not affect run-time &

Re: Orphans

2008-08-01 Thread Sean Leather
Hi, I'm fixing http://hackage.haskell.org/trac/ghc/ticket/2467 > Since you bring up orphans, I have a more general question regarding them that came up recently. The design of a library I'm working on requires orphan modules. After reading the GHC user's guide, I believe that

Orphans

2008-08-01 Thread Simon Peyton-Jones
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

patch applied (ghc): We can now unconditionally use -fno-warn-orphans

2008-07-11 Thread Ian Lynagh
Thu Jul 10 05:59:48 PDT 2008 Ian Lynagh <[EMAIL PROTECTED]> * We can now unconditionally use -fno-warn-orphans ...which is good, as the conditional test was broken anyway! M ./compiler/Makefile -6 +1 View patch online: http://darcs.haskell.org/ghc/_darcs/patches/20080710125948

patch applied (ghc-6.8/ghc): STABLE only: Use -fno-warn-orphans in compiler/ if the compiler supports it

2007-09-12 Thread Ian Lynagh
Wed Sep 12 07:09:17 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> * STABLE only: Use -fno-warn-orphans in compiler/ if the compiler supports it This was done as part of a larger patch in the HEAD. M ./compiler/Makefile +5 ___ Cvs-ghc mailin

patch applied (ghc): Fix building with old compilers which don't understand -fno-warn-orphans

2007-09-07 Thread Ian Lynagh
Thu Sep 6 12:57:37 PDT 2007 Ian Lynagh <[EMAIL PROTECTED]> * Fix building with old compilers which don't understand -fno-warn-orphans M ./compiler/cmm/Cmm.hs -8 +4 ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.