From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA22967; Wed, 23 Jan 2002 22:29:29 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 WAA24408 for ; Wed, 23 Jan 2002 22:29:28 +0100 (MET) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g0NLTRT08298 for ; Wed, 23 Jan 2002 22:29:27 +0100 (MET) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id WAA20463 for caml-list@inria.fr; Wed, 23 Jan 2002 22:29:27 +0100 Date: Wed, 23 Jan 2002 22:29:27 +0100 From: Daniel de Rauglaudre To: OCAML Subject: Re: [Caml-list] nosy p4 question Message-ID: <20020123222927.A20448@verdot.inria.fr> References: <861yggx2fn.fsf@speakeasy.org> <20020123212105.A18949@verdot.inria.fr> <86wuy8vm7s.fsf@speakeasy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <86wuy8vm7s.fsf@speakeasy.org>; from itz@speakeasy.org on Wed, Jan 23, 2002 at 12:36:23PM -0800 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, On Wed, Jan 23, 2002 at 12:36:23PM -0800, Ian Zimmerman wrote: > My question was, _how_ you do it - that's why I labelled it "nosy" The function which parses the input is a hook (a reference) which can be modified: it is Toploop.parse_toplevel_phrase. I just lay my eggs there. Same for pretty printing. The main hook is Toploop.print_out_value. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr