Browse thread
[Caml-list] Toplevel loading of modules
- Patrick M Doane
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2001-12-14 (16:49) |
From: | Patrick M Doane <patrick@w...> |
Subject: | [Caml-list] Toplevel loading of modules |
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