Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] .ocamlinit equivalent from the command line?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Yaron M. Minsky <yminsky@C...>
Subject: [Caml-list] .ocamlinit equivalent from the command line?
Is there any equivalent to .ocamlinit from the command line?  I'd like
to have different shell scripts which invoke ocaml instances with
different modules loaded and opened.  But I can't figure out any
effective way to do the module-opening from the invoking script.  (I
suppose I could create a .ocamlinit file on the fly, but that seems too
awful.)  It seems like a simple solution would be to have a command-line
option to specify some initial commands to be executed (or a file
containing such commands).

y

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