From: "Nicolas Cannasse" <warplayer@free.fr>
To: "Kontra, Gergely" <kgergely@mlabdial.hit.bme.hu>,
"OCaml" <caml-list@inria.fr>
Subject: Re: [Caml-list] Osiris - gtk
Date: Tue, 27 Aug 2002 19:06:57 +0200 [thread overview]
Message-ID: <003901c24dec$269e14b0$0700a8c0@warp> (raw)
In-Reply-To: <Pine.LNX.4.21.0208271648100.30287-100000@mlabdial.hit.bme.hu>
> Thanks, I don't know this anyway.
> If this is such a common thing, can it be automated.
> Is it true that open Osiris;; implies #load "osiris.cma" ? Or is it true
> just inside the interactive loop?
"open Osiris " will check the osiris.cmi existence and import Osiris module
into the global namespace.
... but osiris is also a librairy, so the code needs to be either linked
when compiling with ocamlc ) or dynamicly loaded under the toplevel ( using
#load command ) before any method get called.
The 3.05+ release of OCaml enable you to directly load CMA's ( that is :
ocaml libraries ) by passing them as command line arguments.
Nicolas Cannasse
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
next prev parent reply other threads:[~2002-08-27 17:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <002301c24d25$43ad8850$0700a8c0@warp>
2002-08-27 13:15 ` Kontra, Gergely
2002-08-27 13:54 ` Nicolas Cannasse
2002-08-27 14:50 ` Kontra, Gergely
2002-08-27 17:06 ` Nicolas Cannasse [this message]
2002-08-28 11:42 ` Kontra, Gergely
2002-08-28 13:48 ` Nicolas Cannasse
2002-09-02 10:07 ` Kontra, Gergely
2002-08-16 15:57 Kontra, Gergely
2002-08-16 16:35 ` Nicolas Cannasse
2002-08-16 18:01 ` Kontra, Gergely
2002-08-16 19:10 ` Nicolas Cannasse
2002-08-26 15:43 ` Kontra, Gergely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003901c24dec$269e14b0$0700a8c0@warp' \
--to=warplayer@free.fr \
--cc=caml-list@inria.fr \
--cc=kgergely@mlabdial.hit.bme.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox