caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Can I import Thread, Unix, modules when using the Ocaml intepreter?
@ 2004-02-21 20:04 Galchin Vasili
  2004-02-21 20:29 ` Issac Trotts
  0 siblings, 1 reply; 2+ messages in thread
From: Galchin Vasili @ 2004-02-21 20:04 UTC (permalink / raw)
  To: caml-list

Hello,

   Can I use modules like Thread, Unix, etc. from the
interpreter, ocaml?

Regards, Vasili

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html

-------------------
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Can I import Thread, Unix, modules when using the Ocaml intepreter?
  2004-02-21 20:04 [Caml-list] Can I import Thread, Unix, modules when using the Ocaml intepreter? Galchin Vasili
@ 2004-02-21 20:29 ` Issac Trotts
  0 siblings, 0 replies; 2+ messages in thread
From: Issac Trotts @ 2004-02-21 20:29 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-21 20:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-21 20:04 [Caml-list] Can I import Thread, Unix, modules when using the Ocaml intepreter? Galchin Vasili
2004-02-21 20:29 ` Issac Trotts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).