English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2008-03-26 (09:30)
From: Sylvain Le Gall <sylvain@l...>
Subject: Re: camlp4 question: Mixing a printer and Ast.fold
On 21-03-2008, Richard Jones <rich@annexia.org> 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