caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Pierre Weis <Pierre.Weis@inria.fr>
To: edavid@lami.univ-evry.fr (Erwan David)
Cc: caml-list@margaux.inria.fr
Subject: Re: your mail
Date: Wed, 26 Feb 1997 09:36:05 +0100 (MET)	[thread overview]
Message-ID: <199702260836.JAA27594@pauillac.inria.fr> (raw)
In-Reply-To: <199702251727.RAA17631@chanson-plus.lami.univ-evry.fr> from Erwan David at "Feb 25, 97 06:27:50 pm"

> 	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







  reply	other threads:[~1997-02-26  8:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-25 17:27 Erwan David
1997-02-26  8:36 ` Pierre Weis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-05-05 15:55 Frederic van der Plancke
2000-05-09  9:14 ` your mail Xavier Leroy
1997-10-22  7:29 MIFUKU Assin-Na-Idia
1997-10-22  8:37 ` your mail Pierre Weis
1996-02-19 14:57 Michel Levy
1996-02-20 18:48 ` your mail Pierre Weis
1992-11-27 15:24 
1992-11-27 15:32 ` your mail Michel Mauny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=199702260836.JAA27594@pauillac.inria.fr \
    --to=pierre.weis@inria.fr \
    --cc=caml-list@margaux.inria.fr \
    --cc=edavid@lami.univ-evry.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).