From: Oleg <oleg_inconnu@myrealbox.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Format question
Date: Wed, 6 Nov 2002 19:09:23 -0500 [thread overview]
Message-ID: <200211070009.TAA00453@apakabar.cc.columbia.edu> (raw)
Oleg wrote:
>
> Is it possible to define a printf that automatically flushes stdout?
>
I figured it out:
let my_printf (x : ('a, out_channel, unit) format) =
let tmp = Printf.printf x in flush stdout; tmp;;
Oleg
-------------------
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
next reply other threads:[~2002-11-07 0:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-07 0:09 Oleg [this message]
2002-11-07 0:31 ` Alessandro Baretta
2002-11-07 0:46 ` Gerd Stolpmann
-- strict thread matches above, loose matches on Subject: below --
2002-11-06 22:49 Oleg
2002-11-06 23:46 ` David Brown
2002-11-20 0:29 ` David Frese
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=200211070009.TAA00453@apakabar.cc.columbia.edu \
--to=oleg_inconnu@myrealbox.com \
--cc=caml-list@inria.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