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
camlp4 question: Mixing a printer and Ast.fold
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: camlp4 question: Mixing a printer and Ast.fold
On 21-03-2008, Richard Jones <> wrote:
> Thanks.  I've now got pr_gettext working again.
> BTW, I think the ability to be able to map & fold over the AST is an
> extraordinarily powerful feature, and deserves many more examples and
> tutorials.  I know that strictly speaking it was possible before (with
> Le Gall's ast-analyze extension) but the way it is done in the new
> camlp4 makes the code much shorter.

And it gives me one reason to drop ast-analyze... This new camlp4
feature, seems indeed very powerful.

Sylvain Le Gall