Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* [Caml-list] Toplevel loading of modules
@ 2001-12-14 16:49 Patrick M Doane
  0 siblings, 0 replies; only message in thread
From: Patrick M Doane @ 2001-12-14 16:49 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-12-14 16:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-14 16:49 [Caml-list] Toplevel loading of modules Patrick M Doane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox