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
[Caml-list] camlp4: pretty printing not to a file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-06 (17:13)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] camlp4: pretty printing not to a file

On Fri, Sep 06, 2002 at 12:35:59PM -0400, jehenrik wrote:

> It seems like the Format module provides for whatever "format_config" 
> would be, no?  For example, I changed your code to the following, which 
> does not require global variables:

It is not possible to use the Format module because the pretty
printing functions of Camlp4 don't use Format.

Spretty is already a system of pretty print. If you use Format, there
will be conflicts with newlines and tabulations.

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners