Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
yet another silly question on PXP
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Paul Argentoff <argentoff@r...>
Subject: :pxp_evpull notation (was: yet another silly question on PXP)
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<
             <foo> (: some_fun () :) >>

where some_fun generates a further "subtree" using the same pxp_evpull

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.