Wolfgang Jeltsch wrote:
> Am Freitag, 26. September 2008 09:24 schrieb Magnus Therning:
>   
>> Recently I received an email with a question regarding the licensing
>> of a module I've written and uploaded to Hackage.  I released it under
>> LGPL.  The sender wondered if I would consider re-licensing the code
>> under BSD (or something similar) that would remove the need for users
>> to provide linkable object files so that users can re-link programs
>> against newer/modified versions of my library.
>>     
>
> Since GHC does cross-package inlining, code of your library is directly 
> included (not just linked) into code that uses the library.  So I think that 
> every code that uses your library will have to be released und the GPL or 
> LGPL which is a very bad situation.
>
> People, don’t release Haskell libraries under the LGPL!
>   

That would be serious indeed, but before changing my ways I'd need more
information to back up your statement.  Could someone confirm that code
from one installed module can be inlined into another?

AFAIU you are saying that the linker is reaching into the module's .a
file, pulling out the .o file, and then reaching into that .o file to
pull out an individual function's ASM code.  I believe that's a bit more
than regular C linkers would do.

/M

-- 
Magnus Therning                             (OpenPGP: 0xAB4DFBA4)
magnus@therning.org             Jabber: magnus@therning.org
http://therning.org/magnus

Haskell is an even 'redder' pill than Lisp or Scheme.
     -- PaulPotts


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to