From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 0E17BBB9C for ; Thu, 19 Jan 2006 17:58:02 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k0JGw1ff020570 for ; Thu, 19 Jan 2006 17:58:01 +0100 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 RAA10256 for ; Thu, 19 Jan 2006 17:58:00 +0100 (MET) Received: from plover.csun.edu (plover.csun.edu [130.166.1.24]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k0JGvx1S016962 for ; Thu, 19 Jan 2006 17:58:00 +0100 Received: from puffin.csun.edu (puffin.csun.edu [130.166.1.21]) by plover.csun.edu (MOS 3.7.1-GA) with ESMTP id COV38926; Thu, 19 Jan 2006 08:57:58 -0800 (PST) Received: from [130.166.10.117] (s010n117.csun.edu [130.166.10.117]) by puffin.csun.edu (MOS 3.7.2-GA) with ESMTP id EMA50779 (AUTH eric); Thu, 19 Jan 2006 08:57:50 -0800 (PST) In-Reply-To: <43CFBE3E.1090808@andrej.com> References: <43CFBE3E.1090808@andrej.com> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Caml list Content-Transfer-Encoding: 7bit From: Eric Stokes Subject: Re: [Caml-list] toplevel with pre-installed printers Date: Thu, 19 Jan 2006 08:57:48 -0800 To: Andrej.Bauer@andrej.com X-Mailer: Apple Mail (2.746.2) X-Miltered: at nez-perce with ID 43CFC519.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43CFC517.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 toplevel:01 toplevel:01 ocaml:01 andrej:01 trivial:01 andrej:01 caml-list:01 beginner's:01 ocaml:01 beginners:01 bug:01 unix:01 wrote:01 arbitrary:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 When the toplevel starts up, it evaluates (on unix) ~/.ocamlinit, which can contain arbitrary ocaml expressions. On Jan 19, 2006, at 8:28 AM, Andrej Bauer wrote: > This seems like a trivial question, but I do not know the answer: > how do I create either a toplevel (or a shell script which appears > to be > a toplevel) with pre-installed pretty-printers (and pre-opened > modules, > for that matter)? > > Andrej > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs