Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] camlp4: pretty printing not to a file
Hi,

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.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
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