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 VAA15580; Sat, 21 Feb 2004 21:30:18 +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 VAA15260 for ; Sat, 21 Feb 2004 21:30:18 +0100 (MET) Received: from host1.stonesfair.com (host1.stonesfair.com [208.184.191.145]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i1LKUGae015624 for ; Sat, 21 Feb 2004 21:30:17 +0100 Received: from manzanita (63-217-154-71.greystoneapts.com [63.217.154.71]) by host1.stonesfair.com (8.12.8/8.12.8) with SMTP id i1LKL4dP023981 for ; Sat, 21 Feb 2004 12:21:04 -0800 Received: by manzanita (sSMTP sendmail emulation); Sat, 21 Feb 2004 12:29:55 -0800 From: "Issac Trotts" Date: Sat, 21 Feb 2004 12:29:55 -0800 To: caml-list@inria.fr Subject: Re: [Caml-list] Can I import Thread, Unix, modules when using the Ocaml intepreter? Message-ID: <20040221202955.GA1735@manzanita> Mail-Followup-To: ijtrotts@ucdavis.edu, caml-list@inria.fr References: <20040221200420.32725.qmail@web12210.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040221200420.32725.qmail@web12210.mail.yahoo.com> User-Agent: Mutt/1.5.4i X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; issac:01 trotts:01 ijtrotts:01 caml-list:01 intepreter:01 2004:99 threads:01 threads:01 ocamlinit:01 issac:01 trotts:01 redwood:99 ocaml:01 ocaml:01 ucdavis:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, Feb 21, 2004 at 12:04:20PM -0800, Galchin Vasili wrote: > Hello, > > Can I use modules like Thread, Unix, etc. from the > interpreter, ocaml? > > Regards, Vasili Yes you can. Just type #load "unix.cma";; #directory "+threads";; #load "threads.cma";; If you use them often, you can add these lines to your ~/.ocamlinit file. -- Issac Trotts http://redwood.ucdavis.edu/~issac ------------------- 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