From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id B581ABC75 for ; Fri, 25 Feb 2005 17:14:50 +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 j1PGEoc1014060 for ; Fri, 25 Feb 2005 17:14:50 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id RAA16838 for ; Fri, 25 Feb 2005 17:14:49 +0100 (MET) Received: from paul.rtelekom.ru (paul.rtelekom.ru [217.146.42.160]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1PGEmEo014053 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 25 Feb 2005 17:14:49 +0100 Received: from paul.rtelekom.ru (paul@localhost [127.0.0.1]) by paul.rtelekom.ru (8.13.1/8.13.1) with ESMTP id j1PGEkkj018638; Fri, 25 Feb 2005 19:14:46 +0300 (MSK) (envelope-from argentoff@rtelekom.ru) Received: (from paul@localhost) by paul.rtelekom.ru (8.13.1/8.13.1/Submit) id j1PGEjxp018637; Fri, 25 Feb 2005 19:14:45 +0300 (MSK) (envelope-from argentoff@rtelekom.ru) X-Authentication-Warning: paul.rtelekom.ru: paul set sender to argentoff@rtelekom.ru using -f X-Comment-To: Gerd Stolpmann To: Gerd Stolpmann Cc: caml-list@inria.fr Subject: :pxp_evpull notation (was: yet another silly question on PXP) References: <86bracttfd.fsf@paul.rtelekom.ru> <86d5uspi3a.fsf@paul.rtelekom.ru> <1109099029.5947.0.camel@localhost.localdomain> From: Paul Argentoff Date: Fri, 25 Feb 2005 19:14:45 +0300 In-Reply-To: <1109099029.5947.0.camel@localhost.localdomain> (Gerd Stolpmann's message of "Tue, 22 Feb 2005 20:03:49 +0100") Message-ID: <86vf8gk45m.fsf_-_@paul.rtelekom.ru> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Corporate Culture) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at nez-perce with ID 421F4EFA.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 421F4EF8.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; pxp:01 notation:01 pxp:01 gerd:01 stolpmann:01 gerd:01 stolpmann:01 tarball:01 notation:01 foo:01 lazy:01 exceptions:01 preprocessor:01 construct:02 string:03 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Dear Gerd Stolpmann, Let GS = "Gerd Stolpmann" in written_by GS => GS> See the file doc/PREPROCESSOR which is part of the distribution GS> tarball. Thanks again for a reference. My next question is about :pxp_evpull notation. Can I make such a construct: let pile = <:pxp_evpull< (: some_fun () :) >> where some_fun generates a further "subtree" using the same pxp_evpull notation. My task really is to build a converter from a huge (>100M) text file (or string Stream.t) to a huge xml file. Of course, I need to do all job with lazy streams to avoid out-of-memory exceptions. -- Yours truly, WBR, Paul Argentoff. Jabber: paul@jabber.rtelekom.ru RIPE: PA1291-RIPE