From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 7D0DABC0A for ; Mon, 2 Apr 2007 15:47:18 +0200 (CEST) Received: from smtp2.enst.fr (revol1.enst.fr [137.194.2.7]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l32DlIW0031422 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 2 Apr 2007 15:47:18 +0200 Received: from localhost (localhost.enst.fr [127.0.0.1]) by smtp2.enst.fr (Postfix) with ESMTP id D5B9816488B for ; Mon, 2 Apr 2007 15:47:17 +0200 (CEST) X-Virus-Scanned: amavisd-new at enst.fr Received: from tatanka.kerneis.info (pptp3-65.enst.fr [137.194.3.65]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by smtp2.enst.fr (Postfix) with ESMTP id 98FCE16485D for ; Mon, 2 Apr 2007 15:47:17 +0200 (CEST) Received: from [127.0.0.1] (helo=tatanka.kerneis.info ident=gabriel) by tatanka.kerneis.info with esmtp (Exim 4.63) (envelope-from ) id 1HYMsP-0000nP-3z for caml-list@yquem.inria.fr; Mon, 02 Apr 2007 15:47:17 +0200 Date: Mon, 2 Apr 2007 15:47:10 +0200 From: Gabriel Kerneis To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Help with new camlp4 In-Reply-To: References: <5526ED79-3406-4700-9E95-20C631FE40BF@gmail.com> <428B8C56-8ADC-43ED-96D0-34B4341E7045@gmail.com> <6451E47A-657C-4833-8402-66A874DFA824@gmail.com> Organization: ENST X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_1RT_hYvZnq5djrp6ESLwjDK; protocol="application/pgp-signature"; micalg=PGP-SHA1 Message-Id: X-Miltered: at concorde with ID 46110966.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 0100,:01 expr:01 expr:01 ocaml:01 camlp:01 lambda:01 2007,:98 quot:98 wrote:01 caml-list:01 patt:01 patt:01 loc:03 loc:03 --Sig_1RT_hYvZnq5djrp6ESLwjDK Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Le Mon, 2 Apr 2007 13:30:26 +0100, Joel Reymont a =E9crit : >=20 > On Apr 2, 2007, at 1:24 PM, Joel Reymont wrote: >=20 > > How do you do the following? > > > > Quotation.add "octalxml" (Quotation.ExAst =20 > > (expand_expr_str,expand_patt)) ;; > > Quotation.add "octalfile" (Quotation.ExAst =20 > > (expand_expr_file,expand_patt)) ;; >=20 > expand_expr_str has to have a particular signature, i.e. >=20 > let expand_str_expr loc loc_name_opt s >=20 > and it doesn't. Working on it... It changed a few days ago. Look at the end of ocaml/camlp4/examples/lambda_quot.ml Regards, --=20 Gabriel --Sig_1RT_hYvZnq5djrp6ESLwjDK Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGEQlk6a2JmXQu5bYRAnmhAJ41YO79eBj8S+W0LBAY03e8pNEioQCgli9l zIMrqW/OOCmPTwk4IIHQAJk= =JI0t -----END PGP SIGNATURE----- --Sig_1RT_hYvZnq5djrp6ESLwjDK--