From: Patrick M Doane <patrick@watson.org>
To: caml-list@inria.fr
Subject: [Caml-list] Toplevel loading of modules
Date: Fri, 14 Dec 2001 11:49:20 -0500 (EST) [thread overview]
Message-ID: <20011214114609.O86802-100000@fledge.watson.org> (raw)
Now that Caml 3.04 can dynamically load C code, we should hopefully be
able to put to rest the FAQ about how to use the Unix module.
Unlike other standard libraries though, the Unix library must still be
explicitly loaded:
Objective Caml version 3.04
# Unix.time ();;
Reference to undefined global `Unix'
# #load "unix.cma";;
# Unix.time ();;
- : float = 1008347555
Would it make sense to try auto-loading a module when the "Reference to
undefined global" error message occurs?
Patrick
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
reply other threads:[~2001-12-14 16:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20011214114609.O86802-100000@fledge.watson.org \
--to=patrick@watson.org \
--cc=caml-list@inria.fr \
/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