[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .cmx inclusion in modules



On Fri, Mar 28, 2008 at 02:52:15 +0100, Romain Beauxis wrote:

> Le Friday 28 March 2008 02:36:12 Julien Cristau, vous avez écrit :
> > > ocaml-nox: usr/lib/ocaml/3.10.1/bigarray.cmx
> >
> > This one is actually shipped in ocaml-nox.  I didn't look further, so
> > there are probably others.
> 
> Right, sorry, wrong regexp.. 
> 
> Here's the updated list, which I believe is valid this time (mean: I couldn't 
> find false positives..)

That one looks a lot better :)
But not there yet: your script seems to assume that the name of the
library matches one of the modules it contains.  That's not the case, so
the matching is a bit less trivial, unfortunately.

> ocaml-nox: usr/lib/ocaml/3.10.1/stdlib.cmx
> ocaml-nox: usr/lib/ocaml/3.10.1/stdlib.p.cmx
> ocaml-nox: usr/lib/ocaml/3.10.1/threads/threads.cmx

/usr/lib/ocaml/3.10.1/pervasives.cmx
/usr/lib/ocaml/3.10.1/pervasives.p.cmx
/usr/lib/ocaml/3.10.1/threads/thread.cmx

The number of false positives is probably quite low, though.

Cheers,
Julien


Reply to: