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 KAA29837; Fri, 6 Sep 2002 10:51:44 +0200 (MET DST) 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 KAA29978 for ; Fri, 6 Sep 2002 10:51:43 +0200 (MET DST) Received: from colt.epita.fr (colt.epita.fr [62.23.180.27]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g868pf109697; Fri, 6 Sep 2002 10:51:42 +0200 (MET DST) Received: from hermes.epita.fr (hermes.epita.fr [163.5.255.10]) by colt.epita.fr id g868mcY24232 Fri, 6 Sep 2002 10:48:38 +0200 (CEST) Received: from goa.lrde.epita.fr (mail@goa.lrde.epita.fr [10.223.13.2]) by hermes.epita.fr id g868mbe26503 Fri, 6 Sep 2002 10:48:37 +0200 (MEST) Received: from barcelona.lrde.epita.fr ([10.223.13.32] ident=mail) by goa.lrde.epita.fr with esmtp (Exim 3.35 #1 (Debian)) id 17nEot-0000NL-00; Fri, 06 Sep 2002 10:50:27 +0200 Received: from yann by barcelona.lrde.epita.fr with local (Exim 3.33 #1 (Debian)) id 17nF70-00008x-00; Fri, 06 Sep 2002 11:09:10 +0200 Date: Fri, 6 Sep 2002 11:09:09 +0200 To: Daniel de Rauglaudre Cc: caml-list@inria.fr Subject: Re: [Caml-list] camlp4: pretty printing not to a file Message-ID: <20020906090909.GA400@barcelona.lrde.epita.fr> Reply-To: yann@lrde.epita.fr References: <20020830074629.GA4422@barcelona.lrde.epita.fr> <20020906033628.A26991@verdot.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20020906033628.A26991@verdot.inria.fr> User-Agent: Mutt/1.3.25i From: =?iso-8859-1?Q?Yann_R=E9gis-Gianas?= Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Sep 06, 2002 at 03:36:28AM +0200, Daniel de Rauglaudre wrote: > Well, since I see that people would like to use the Camlp4 pretty > printing like that, I am going to see how I could propose that with > a good interface and without these hacks. In the meantime, you can ask > me for hints. > Something like: "PCaml.string_of_X : X -> string" where X is in { expr, patt, ctyp ... } could be simple and useful. It can be the application of this function with a default format configuration structure: "PCaml.string_of_X_formatted : format_config -> X -> string" -- Yann Régis-Gianas. ------------------- 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