Re: [Caml-list] loading all modules of a cma at once

2009-03-05 Thread Joel Reymont


On Mar 5, 2009, at 6:58 PM, Yoann Padioleau wrote:


Joel Reymont  writes:


ocaml seems to require me to individually #load cmo-s, including
dependencies.




I'm sorry for the noise.

The cma was missing the required cmos.

Foot in mouth!


---
http://tinyco.de
Mac, C++, OCaml



___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


Re: [Caml-list] loading all modules of a cma at once

2009-03-05 Thread Yoann Padioleau
Joel Reymont  writes:

> I have a cma that I built and I'm trying to interactively test some
> functions.
>
> ocaml seems to require me to individually #load cmo-s, including
> dependencies.
>
> Is there a way to load all modules of a cma in one fell swoop?
>
> Do I resign to creating .ocamlinit in that particular directory with
> the required #load-s?

use ocamlmktop
Cf the ocaml reference manual.

>
>   Thanks, Joel
>
> ---
> http://tinyco.de
> Mac, C++, OCaml
>
>
>
> ___
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs


[Caml-list] loading all modules of a cma at once

2009-03-05 Thread Joel Reymont
I have a cma that I built and I'm trying to interactively test some  
functions.


ocaml seems to require me to individually #load cmo-s, including  
dependencies.


Is there a way to load all modules of a cma in one fell swoop?

Do I resign to creating .ocamlinit in that particular directory with  
the required #load-s?


Thanks, Joel

---
http://tinyco.de
Mac, C++, OCaml



___
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs