Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
toplevel with pre-installed printers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-01-19 (19:52)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] toplevel with pre-installed printers
On Thu, Jan 19, 2006 at 02:12:59PM -0500, Eric Cooper wrote:
> In a single "master" .ocamlinit, you could dispatch on
> Sys.executable_name, and perhaps Sys.getcwd.  Still a hack, but it
> might avoid (non-OCaml) wrapper scripts.

This is a clever idea.  However one of the other problems is that
people could run the toplevel from another directory.  This is
particularly important in the case where we install the toplevel as a
binary in, say, /usr/bin.


Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology -
Team Notepad - intranets and extranets for business -