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'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 are (only) a compile-time 
performance issue and that they do not affect run-time performance. Can someone 
confirm my understanding? Is there any other concern we should have with 
orphans? The library is not a large project, so I'm not concerned with build 
time. We're currently ignoring the issue with -fno-warn-orphans.

Thanks,
Sean
_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to