Version française
Home     About     Download     Resources     Contact us    
Browse thread
loading all modules of a cma at once
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yoann Padioleau <padator@w...>
Subject: Re: [Caml-list] loading all modules of a cma at once
Joel Reymont <joelr1@gmail.com> 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