Browse thread
[Caml-list] Can I import Thread, Unix, modules when using the Ocaml intepreter?
-
Galchin Vasili
- Issac Trotts
[
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: | 2004-02-21 (20:30) |
From: | Issac Trotts <ijtrotts@u...> |
Subject: | Re: [Caml-list] Can I import Thread, Unix, modules when using the Ocaml intepreter? |
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