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-21 (15:58)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] camlp4 question: Mixing a printer and Ast.fold

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.


Richard Jones
Red Hat