From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id RAA20156; Fri, 14 Dec 2001 17:49:23 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA19997 for ; Fri, 14 Dec 2001 17:49:23 +0100 (MET) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id fBEGnMj10968 for ; Fri, 14 Dec 2001 17:49:22 +0100 (MET) Received: from localhost (patrick@localhost) by fledge.watson.org (8.11.6/8.11.5) with ESMTP id fBEGnLG87980 for ; Fri, 14 Dec 2001 11:49:21 -0500 (EST) (envelope-from patrick@watson.org) Date: Fri, 14 Dec 2001 11:49:20 -0500 (EST) From: Patrick M Doane To: caml-list@inria.fr Subject: [Caml-list] Toplevel loading of modules Message-ID: <20011214114609.O86802-100000@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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