caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* loading all modules of a cma at once
@ 2009-03-05 18:54 Joel Reymont
  2009-03-05 18:58 ` [Caml-list] " Yoann Padioleau
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Reymont @ 2009-03-05 18:54 UTC (permalink / raw)
  To: O'Caml Mailing List

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] loading all modules of a cma at once
  2009-03-05 18:54 loading all modules of a cma at once Joel Reymont
@ 2009-03-05 18:58 ` Yoann Padioleau
  2009-03-05 19:24   ` Joel Reymont
  0 siblings, 1 reply; 3+ messages in thread
From: Yoann Padioleau @ 2009-03-05 18:58 UTC (permalink / raw)
  To: Joel Reymont; +Cc: O'Caml Mailing List

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Caml-list] loading all modules of a cma at once
  2009-03-05 18:58 ` [Caml-list] " Yoann Padioleau
@ 2009-03-05 19:24   ` Joel Reymont
  0 siblings, 0 replies; 3+ messages in thread
From: Joel Reymont @ 2009-03-05 19:24 UTC (permalink / raw)
  To: Yoann Padioleau; +Cc: O'Caml Mailing List


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

> Joel Reymont <joelr1@gmail.com> 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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-05 19:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 18:54 loading all modules of a cma at once Joel Reymont
2009-03-05 18:58 ` [Caml-list] " Yoann Padioleau
2009-03-05 19:24   ` Joel Reymont

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).