Yeah, this seems surprising. In C I'd often have fflush(stdout); In OCaml I make use of the %! printf feature. Normally I want output to be buffered, for efficiency, but I know points where I want to ensure a "sync" so that I'm not looking at incomplete output. Mind you, I mostly use stdout/stderr for logging/printf traces... On Sun, Jun 24, 2012 at 5:06 PM, Lukasz Stafiniak wrote: > On Mon, Jun 25, 2012 at 12:19 AM, Diego Olivier Fernandez Pons > wrote: > > > > During all the years I have been coding, I had never had to worry > > about flushing I/O (when / why / how) in any language (C/C++, Java, C# > > and OCaml). > > I actually had even forgotten those things existed... > > You haven't needed to flush output when debugging? > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa-roc.inria.fr/wws/info/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > >