Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: stdout in Unix module
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pierre Weis <Pierre.Weis@i...>
Subject: Re: stdout in Unix module
> Once a 'open Unix' directive has been called I get the following compilation 
> conflict:
> flush stdout;;
>       ^^^^^^
> This expression has type Unix.file_descr but is here used with type out_channel

You should explicitely name stdout Pervasives.stdout, not to confuse
with Unix.stdout.

Pierre Weis

INRIA, Projet Cristal,,