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=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id E6CBFBC6B for ; Wed, 25 Jul 2007 18:23:13 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6PGNCkJ032376 for ; Wed, 25 Jul 2007 18:23:13 +0200 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga102.jf.intel.com with ESMTP; 25 Jul 2007 09:23:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.16,581,1175497200"; d="scan'208";a="109847817" Received: from orsmsx335.jf.intel.com ([10.22.226.40]) by fmsmga002.fm.intel.com with ESMTP; 25 Jul 2007 09:23:11 -0700 Received: from orsmsx419.amr.corp.intel.com ([10.22.226.88]) by orsmsx335.jf.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 25 Jul 2007 09:23:10 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] Equivalent of Quotation.ExStr in new camlp4? Date: Wed, 25 Jul 2007 09:23:10 -0700 Message-ID: <509223F0BF55E74FA1247D17207E7A0C01B120CA@orsmsx419.amr.corp.intel.com> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] Equivalent of Quotation.ExStr in new camlp4? Thread-Index: AcfO1uOxih4s66JzRRCCW4fgGi3tVwAAEJXw From: "Harrison, John R" To: "Nicolas Pouillard" Cc: X-OriginalArrivalTime: 25 Jul 2007 16:23:10.0656 (UTC) FILETIME=[178A8400:01C7CED8] X-Miltered: at discorde with ID 46A778F0.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 parser:01 expander:01 concretely:01 expander:01 caml-list:01 ast:02 supported:02 string:02 quotation:08 quotation:08 fun:08 john:08 john:08 equivalent:09 | No ExStr is no more supported. But you can do it your self by calling | the parser on your string if you really don't want switch to an AST | based quotation expander. OK, that's fine. But how do I do that? Concretely, this is what I had before, so what should I have now? Quotation.add "" (Quotation.ExStr (fun x -> quotexpander));; I don't mind in principle writing an AST-producing expander, but at the moment the priority is to get my code working in 3.10 with minimal expenditure of effort. John.