Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Dynamically evaluating OCaml code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-04-09 (08:17)
From: Remi Vanicat <remi.vanicat@l...>
Subject: Re: [Caml-list] Dynamically evaluating OCaml code
skaller <> writes:

> On Fri, 2004-04-09 at 16:33, Remi Vanicat wrote:
>> If it is LGPL + special exception (as the stdlib of ocaml) I don't see
>> the problem. GPL can be a problem thought.
> Not sure of the 'special exception' but my impression is that
> whilst one is free to use "as is" an LGPL library by
> first compiling it, then linking to it, without polluting
> the licence of the code using it, that freedom doesn't
> extend to the source itself. 


> If I combine parts of the source of a library with my own sources,
> my sources are contaminated.


> My distro is entirely in 'pre-source' form, which makes a mockery of
> the LGPL.

Well, if your package include the unmodified library, there is no
problem. There is not problem even if you include a modified library
if the modified library is still under LGPL + special exception.

> It isn't clear what happens here:
> (* *)
> module LGPL.Make(struct type t = int end)
> ocamlc -i > LGPL_client.mli
> well, is that a 'derived work' covered by LGPL
> or is it free for any use?

No, you are using it, not deriving from it. The library is


Rémi Vanicat

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: