caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* (no subject)
@ 1997-02-25 17:27 Erwan David
  1997-02-26  8:36 ` your mail Pierre Weis
  0 siblings, 1 reply; 2+ messages in thread
From: Erwan David @ 1997-02-25 17:27 UTC (permalink / raw)
  To: caml-list


	J'ai voulu recompiler un programme fait en 0.7 (je crois) avec le 
compilateur 0.73 : apparemment certaines fonctions ont changé de nom: j'ai 
l'erreur
camlc -g -W -c main.ml
File "main.ml", line 9, characters 7-43:
>       format__set_formatter_output_channel stdout;
>       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The value identifier format__set_formatter_output_channel is unbound.

Y-a-t il eu changement quelque part ? faut-il que je récupère un nouveau 
manuel de référence ?


-- 
Erwan David
Université d'Évry, France
Je ne parle qu'en mon nom propre, et encore pas toujours.







^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: your mail
  1997-02-25 17:27 Erwan David
@ 1997-02-26  8:36 ` Pierre Weis
  0 siblings, 0 replies; 2+ messages in thread
From: Pierre Weis @ 1997-02-26  8:36 UTC (permalink / raw)
  To: Erwan David; +Cc: caml-list

> 	J'ai voulu recompiler un programme fait en 0.7 (je crois) avec le 
> compilateur 0.73 : apparemment certaines fonctions ont changé de nom: j'ai 
> l'erreur
> camlc -g -W -c main.ml
> File "main.ml", line 9, characters 7-43:
> >       format__set_formatter_output_channel stdout;
> >       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> The value identifier format__set_formatter_output_channel is unbound.

Yes, some small discrepancies in the naming conventions have been
corrected in the format library (see format.mli). In this case output
has been change into out, since output channel are named out channels
in Caml.

(*** Redirecting formatter output *)
value set_formatter_out_channel : out_channel -> unit;;
        (* Redirect the pretty-printer output to the given channel. *)

In addition, multiple formatting in parallel on several output
channels are now available (once more, see format.mli):

(*** Multiple formatted output *)
type formatter;;
        (* Abstract data type corresponding to a pretty-printer and
           all its machinery.
           Defining new pretty-printers permits the output of
           material in parallel on several channels.
           Parameters of the pretty-printer are local to the pretty-printer:
           margin, maximum indentation limit, maximum number of boxes
           simultaneously opened, ellipsis, and so on, are specific to
           each pretty-printer and may be fixed independantly. *)

Enjoy it!

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis







^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-02-26  8:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-02-25 17:27 Erwan David
1997-02-26  8:36 ` your mail Pierre Weis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).